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

The product item ID assigned when a price is created or updated. It is a required property.

itemSku
string

The product SKU assigned when a price is created or updated.

Response

201 - application/json
priceListId
integer
required

The price list ID assigned when price details are created or updated.

channelId
string
required

Channel ID

currency
string
required

The currency type set for the price list.

offers
object[]
required

Item prices

itemId
integer

The product item ID assigned when a price is created, updated, or deleted.

itemSku
string

The product item SKU assigned when a price is created, updated, or deleted.

isDeleted
boolean

true: The price is deleted

false: The price isn't deleted

createdAt
string

The timestamp when the price was created.

updatedAt
string

The timestamp when the price was last updated.