DELETE
/
products

Authorizations

Authorization
string
headerrequired

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.

x-fabric-request-id
string

Unique request ID

Query Parameters

locales
string

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.

skus
string

Unique product ID that maps to fabric's standard attribute called SKU. <br /> <b>Note:</b> sku shouldn't include ; or =

deleteVariants
boolean
default: true

true(default): Delete variants of the product <br /> false: Don't delete variants of the product and make them regular items. <br /> Note: This parameter will have no impact if the status is DRAFT.

ids
string

Comma-separated product IDs

status
enum<string>
default: ALL

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.

Available options:
DRAFT,
LIVE,
ALL

Response

200 - application/json

Delete product response

data
object[]