Skip to main content
GET
/
published-products
/
{id}
/
bundle-products
Get Products in a Bundle by ID
curl --request GET \
  --url https://api.fabric.inc/v3/published-products/{id}/bundle-products \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "quantity": 2,
      "sku": "XP-123345",
      "id": "5f7329dfd5288b0011332366",
      "itemId": 1682313863,
      "attributes": [
        {
          "id": "5f7329dfd5288b0011332322",
          "name": "color",
          "value": "blue",
          "type": "string"
        }
      ],
      "localizedProperties": [
        {
          "id": "5f7329dfd5288b0011332322",
          "name": "color",
          "value": "blue",
          "type": "string"
        }
      ]
    }
  ],
  "offset": 10,
  "limit": 10,
  "count": 100
}

Authorizations

Authorization
string
header
required

S2S access token (JWT) from fabric Identity service (during Login)

Headers

x-fabric-tenant-id
string

A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.

Example:

"517fa9dfd42d8b00g1o3k312"

x-fabric-request-id
string

Unique request ID

Example:

"263e731c-45c8-11ed-b878-0242ac120002"

Path Parameters

id
string
required

24-character system-generated product ID.

Query Parameters

locale
string
required

Locale name

limit
integer
default:10

Maximum number of records per page

Example:

20

offset
integer
default:0

Number of records to skip before returning records. For example, offset=20, limit=10 returns records 21-30.

Example:

2

Response

OK

data
object[]
offset
integer
default:0

Number of records to skip before returning records. For example, offset=20, limit=10 returns records 21-30.

Example:

10

limit
integer
default:10

Maximum number of records per page

Example:

10

count
integer

Total number of records in the response

Example:

100

I