Skip to main content
GET
/
v3
/
products
/
{product_id}
/
relations
Get product relations
curl --request GET \
  --url https://api.myscalev.com/v3/products/{product_id}/relations \
  --header 'Authorization: Bearer <token>'
{
  "bundles": [
    {
      "bundle_price_options": [
        {
          "id": 123,
          "name": "<string>",
          "unique_id": "<string>"
        }
      ],
      "business": {
        "account_holder": "<string>",
        "email": "jsmith@example.com",
        "id": 123,
        "is_banned": true,
        "logo": "<string>",
        "unique_id": "<string>",
        "username": "<string>"
      },
      "id": 123,
      "name": "<string>",
      "pages": {
        "all": [
          {
            "business": {
              "account_holder": "<string>",
              "email": "jsmith@example.com",
              "id": 123,
              "is_banned": true,
              "logo": "<string>",
              "unique_id": "<string>",
              "username": "<string>"
            },
            "id": 123,
            "name": "<string>",
            "slug": "<string>",
            "unique_id": "<string>"
          }
        ],
        "will_unpublish": [
          {
            "business": {
              "account_holder": "<string>",
              "email": "jsmith@example.com",
              "id": 123,
              "is_banned": true,
              "logo": "<string>",
              "unique_id": "<string>",
              "username": "<string>"
            },
            "id": 123,
            "name": "<string>",
            "slug": "<string>",
            "unique_id": "<string>"
          }
        ]
      },
      "stores": [
        {
          "business": {
            "account_holder": "<string>",
            "email": "jsmith@example.com",
            "id": 123,
            "is_banned": true,
            "logo": "<string>",
            "unique_id": "<string>",
            "username": "<string>"
          },
          "id": 123,
          "name": "<string>",
          "unique_id": "<string>"
        }
      ]
    }
  ],
  "id": 123,
  "name": "<string>",
  "pages": {
    "all": [
      {
        "business": {
          "account_holder": "<string>",
          "email": "jsmith@example.com",
          "id": 123,
          "is_banned": true,
          "logo": "<string>",
          "unique_id": "<string>",
          "username": "<string>"
        },
        "id": 123,
        "name": "<string>",
        "slug": "<string>",
        "unique_id": "<string>"
      }
    ],
    "will_unpublish": [
      {
        "business": {
          "account_holder": "<string>",
          "email": "jsmith@example.com",
          "id": 123,
          "is_banned": true,
          "logo": "<string>",
          "unique_id": "<string>",
          "username": "<string>"
        },
        "id": 123,
        "name": "<string>",
        "slug": "<string>",
        "unique_id": "<string>"
      }
    ]
  },
  "stores": [
    {
      "business": {
        "account_holder": "<string>",
        "email": "jsmith@example.com",
        "id": 123,
        "is_banned": true,
        "logo": "<string>",
        "unique_id": "<string>",
        "username": "<string>"
      },
      "id": 123,
      "name": "<string>",
      "unique_id": "<string>"
    }
  ],
  "variants": [
    {
      "id": 123,
      "item_type": "physical",
      "name": "<string>",
      "product_name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

product_id
string
required

Response

Product relations

bundles
BundleRelation · object[]
id
integer

Product ID

name
string

Product Name

pages
object
stores
StoreRelation · object[]
variants
VariantRelation · object[]