Skip to main content
GET
/
v3
/
bundles
/
{bundle_id}
/
relations
Get bundle relations
curl --request GET \
  --url https://api.myscalev.com/v3/bundles/{bundle_id}/relations \
  --header 'Authorization: Bearer <token>'
{
  "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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

bundle_id
string
required

Response

Bundle with relations

bundle_price_options
BundlePriceOptionRelation · object[]

List of bundle price options

business
BusinessSimple · object
id
integer

Bundle ID

name
string

Name

pages
object

Pages associated with the bundle

stores
StoreRelation · object[]

List of stores associated with the bundle