Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
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.
24
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.
"12"
A unique request ID.
"263e731c-45c8-11ed-b878-0242ac120002"
Body
Details to create prices for an item
1 - 10
elementsID of the price list for which prices will be created or updated. If you don't mention priceListId
, price will be created or updated for the default price list.
100000
The product item ID assigned when a price is created or updated. It is a required property.
10000001
The product SKU assigned when a price is created or updated.
"SKU0123456"
Response
Created
The price list ID assigned when price details are created or updated.
100000
Channel ID
"12"
The currency type set for the price list.
"USD"
Item prices
The product item ID assigned when a price is created, updated, or deleted.
1000000051
The product item SKU assigned when a price is created, updated, or deleted.
"SKU123456"
true
: The price is deleted
false
: The price isn't deleted
false
The timestamp when the price was created.
"2019-08-20T14:15:22.000Z"
The timestamp when the price was last updated.
"2019-08-20T14:15:22.000Z"