Delete products
To keep the product list (catalog) up to date and current, it is important to remove products that are discontinued permanently. With this endpoint, you can delete up to 25 products either by SKUs or IDs. Note:
1. Unless all products are deleted, this endpoint fails.
2. To delete a single product, you can use either the ID-based (DELETE /products/{id}
) or SKU-based endpoint (DELETE /products/sku/{sku}
).
Authorizations
S2S access token (JWT) from fabric Identity service (during Login)
Headers
The x-fabric-tenant-id
header is a string that contains the ID of the tenant from whom you wish to pull information from.
Unique request ID
Query Parameters
Comma-separated locale codes of product. The service throws a 400 error if the locale is not 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.
Unique product ID that maps to fabric's standard attribute called SKU
. <br /> <b>Note:</b> sku
should not include ;
or =
true(default): Delete variants of the product <br /> false: Do not delete variants of the product and make them regular items. <br /> Note: This parameter will have no impact if the status
is DRAFT
.
Comma-separated product IDs
Determines the version of the product applicable for this operation (endpoint action). <br /> 1. If the status is 'DRAFT', this operation will only impact the Draft version of the product, if it exists. <br /> 2. If the status is 'ALL', this operation applies to both the Draft and Live versions of the product.
DRAFT
, LIVE
, ALL
Response
Was this page helpful?