Get product by SKU
You may want to periodically review details of a product to ensure they’re correct. This endpoint gets details of a product (item, bundle, or variant) by SKU. The response includes products attributes and its variants. You can optionally specify locales
to get products for specific regions. Note: If you don’t have product SKU, use the corresponding ID-based endpoint - GET /products/{id}
.
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
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.
Unique request ID
Path Parameters
Product SKU
Query Parameters
Comma-separated locale codes of product. The service throws a 400 error if the locale isn't supported. Standard locales can be found at https://www.rfc-editor.org/rfc/rfc5646. <br /> Note: The recommended way to get the locale is by invoking multi-channel service.
Comma-separated statuses indicating the preferred order of the product versions considered for this operation (endpoint action). For example, <br />1. When the status is DRAFT
, this operations will only apply to the Draft version of product, if it exists <br />2. When the status is LIVE
, this operation will only apply to the Live version of the product, if it exists <br />3 When the status is LIVE,DRAFT
, this operation will prioritize Live version first, if it exists. Otherwise, the Draft version is considered. <br />4 When the status is DRAFT,LIVE
this operation will prioritize the Draft version first, if it exists. Otherwise, the Live version is considered.
Response
Details of Item by SKU
Attributes assigned to product
Bundles with ID and SKU
24-character system-generated category ID of product
Time of product creation (UTC)
true: Product has a Draft version <br /> false: Product doesn't have a Draft version
true: Product has a Live version <br /> false: Product doesn't have a Live version
Product ID
true: Product is active <br /> false: Product is inactive
Localized attribute names
Parent item SKU of the Variant
Unique product ID that maps to fabric's standard attribute called SKU
. <br /> <b>Note:</b> sku
shouldn't include ;
or =
Represents the current status of product. This value takes precedence over isActive
if both are sent in the request.
DRAFT
, LIVE
Supported product types
ITEM
, VARIANT
, BUNDLE
Time of last update to product (UTC)
Variants with ID and SKU
Was this page helpful?