DELETE
/
prices
/
sku
/
{sku}
curl --request DELETE \
  --url https://api.fabric.inc/v3/prices/sku/{sku} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "priceListId": 100000,
  "itemId": 10000001,
  "itemSku": "SKU0123456",
  "isDeleted": true,
  "channelId": "12",
  "currency": "USD",
  "offers": {
    "startAt": "2019-08-24T14:15:22Z",
    "endAt": "2019-08-25T14:15:22Z",
    "price": {
      "base": 299.99,
      "sale": 199.99,
      "cost": 148.99
    }
  },
  "createdAt": "2019-08-20T14:15:22Z",
  "updatedAt": "2019-08-20T14:15:22Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

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.

Required string length: 24
x-fabric-channel-id
string

x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is a required field.

Example:

"12"

x-client-id
string

A unique identifier obtained from Copilot for the System app in the fabric ecosystem, essential for OpenID Connect authentication flows.

x-fabric-request-id
string

A unique request ID.

Example:

"263e731c-45c8-11ed-b878-0242ac120002"

Path Parameters

sku
string
required

The product SKU of the price details that are being deleted.

Example:

"SKU0123456"

Query Parameters

priceListId
integer

The price list ID to which the item belongs. If not provided, the default price list is used.

Example:

100000

Response

200
application/json

OK

The response is of type object.