DELETE
/
price-lists
/
{id}
curl --request DELETE \
  --url https://api.fabric.inc/v3/price-lists/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "id": 1000003,
  "name": "US price list",
  "isDefault": false,
  "currency": "USD",
  "channelId": "12",
  "startAt": "2021-05-04T09:23:51.459Z",
  "endAt": "2021-06-09T09:23:51.459Z",
  "createdAt": "2019-08-20T14:15:22Z",
  "updatedAt": "2019-08-20T14:15:22Z",
  "isDeleted": true
}

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

id
integer
required

The price list ID associated with the item generated using the create price list endpoint.

Example:

1000003

Response

200
application/json
OK

The details of the price list.