Retrieve a product by SKU
Use this endpoint to retrieve a single product by its SKU. You must specify the query parameters sku
and locale
to corresponding to the product. Optionally, you can set the following query parameters to true
to refine the search results:
excludeBundleProducts
: Exclude bundled products from the response.excludeCollections
: Exclude collections from the response.excludeCategories
: Exclude categories from the response.excludeAttributes
: Exclude attributes from the response.excludeVariants
: Exclude variants from the response.
If you don’t have the product SKU, use one of the endpoints to retrieve the product:
Authorizations
This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the Making your first API request section.
Headers
A header retrieved from your Copilot Account Details that's used by the API to identify the tenant making the request. Tenant ID must be included in the authentication header for API requests to access any of fabric’s endpoints.
Unique request ID
Path Parameters
The Stock Keeping Unit (SKU) of a product provided by the merchant.
Query Parameters
The language code, which is a combination of language (ISO 639 format) and country (ISO 3166 format).
The default value is en-US.
A flag indicating whether the products associated with a bundle should be excluded from the response. Set it to true
to exclude products of a bundle and false
to include them in the response.
A flag indicating whether the collections should be excluded from the response. Set it to true
to exclude collections and false
to include them in the response.
A flag indicating whether the categories should be excluded from the response. Set it to true
to exclude categories and false
to include them in the response.
A flag indicating whether attributes should be excluded from the response. Set it to true
to exclude attributes and false
to include them in the response.
A flag indicating whether item variants should be excluded from the response. Set it to true
to exclude variants and false
to include them in the response.
Response
The details of a product based on the product type.
The name of the product.
The list of product images.
The name of the attribute and its value.
The time of product creation, in UTC format.
The time of last update to product, in UTC format.
Product SKU
A 24-character system-generated ID.
A unique identifier of an item, a variant or a bundle.
The name of the category.
A 24-character system-generated category ID.
The list of categories, including their paths from the leaf category to the root category.
The details of the collection used to display products on the storefront.
Represents the item
product type.
ITEM
The details of item variants.
Was this page helpful?