GET
/
published-products
/
skus
/
{sku}
curl --request GET \
  --url https://api.fabric.inc/v3/published-products/skus/{sku} \
  --header 'Authorization: Bearer <token>'
{
  "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"
            }
          ]
        }
      ]
    }
  ]
}

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

sku
string
required

Product SKU

Query Parameters

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

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

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

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

locale
string
required

Locale name

Response

200
application/json

OK

Details of published product Unique Store Keeping Unit (SKU) of product Depending on the context, this is a 24-character system-generated ID for item, attribute, variant, bundle, or category. Unique identifier of item Product type Category ID