POST
/
prices

Authorizations

Authorization
string
headerrequired

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.

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.

Body

application/json

Details to create prices for an item

offers
object[]
required
priceListId
integer

ID 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.

itemId
integer

Product item ID whose price is created or updated. It is a required property.

itemSku
string

Product SKU to create or update the price for

Response

201 - application/json
priceListId
integer
required

ID of the price list for which price details are created or updated

channelId
string
required

Channel ID

currency
string
required

Price list currency type

offers
object[]
required

Item prices

itemId
integer

Product item ID whose price is created or updated.

itemSku
string

Item SKU

isDeleted
boolean

true: Record is deleted<br>false: Record isn't deleted

createdAt
string

Record's creation time

updatedAt
string

Record's last updated time