GET
/
published-products
/
skus
curl --request GET \
  --url https://api.fabric.inc/v3/published-products/skus \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "sku": "XP-123345",
      "id": "5f7329dfd5288b0011332366",
      "itemId": 1682313863,
      "type": "ITEM",
      "categoryId": "34e7329dfd5288b0011332366",
      "attributes": [
        {
          "id": "5f7329dfd5288b0011332322",
          "name": "color",
          "value": "blue",
          "type": "string"
        }
      ],
      "localizedProperties": [
        {
          "id": "5f7329dfd5288b0011332322",
          "name": "color",
          "value": "blue",
          "type": "string"
        }
      ],
      "variants": [
        {
          "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"
            }
          ]
        }
      ],
      "bundleProducts": [
        {
          "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"
            }
          ]
        }
      ],
      "categories": [
        {
          "id": "5f7329dfd5288b0011332366",
          "type": "PRIMARY",
          "isRoot": true,
          "localizedProperties": [
            {
              "id": "5f7329dfd5288b0011332322",
              "name": "color",
              "value": "blue",
              "type": "string"
            }
          ],
          "attributes": [
            {
              "id": "5f7329dfd5288b0011332322",
              "name": "color",
              "value": "blue",
              "type": "string"
            }
          ]
        }
      ],
      "collections": [
        {
          "name": "Demo Name",
          "id": "5f7329dfd5288b0011332366",
          "hierarchy": [
            {
              "id": "5f7329dfd5288b0011332366",
              "type": "PRIMARY",
              "isRoot": true,
              "localizedProperties": [
                {
                  "id": "5f7329dfd5288b0011332322",
                  "name": "color",
                  "value": "blue",
                  "type": "string"
                }
              ],
              "attributes": [
                {
                  "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"

Query Parameters

skus
string
required

Comma-separated product SKUs

excludeVariants
boolean

true: Response shouldn't include categories or hierarchy details <br /> false: Response should include categories or hierarchy detail Note: Default value is false

excludeCategories
boolean

true: Response shouldn't include categories or hierarchy details <br /> false: Response should include categories or hierarchy details Note: Default value is false

excludeCollections
boolean

true: Response shouldn't include collection or hierarchy details <br /> false: Response should include collection or hierarchy details Note: Default value is false

excludeBundleProducts
boolean

true: Response shouldn't include products of the bundle <br /> false: Response should include products of the bundle Note: Default value is false

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

200
application/json

OK

The response is of type object.