POST
/
api-offers
/
price

Authorizations

Authorization
string
headerrequired

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

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Body

application/json
itemIds
number[]
required

Item IDs to create or update the price for

offers
object[]
required
priceListId

Optional. ID or name of the price list to update the price for. If you do not provide ID or name, price will be updated for the default price list.<br /> If you are using this endpoint to create price details, the price list ID will be generated automatically.

itemSkus
string[]

SKUs of the products to create or update the price for

Response

200 - application/json
id
string

fabric internal ID

isSoftDeleted
boolean

true: Price is soft deleted, means the details are removed from UI but are available in the databse.<br /> false: Price is not deleted

itemId
number

ID of the item

itemSku
string

SKU of the item

priceListId
number

ID of the pricelist to which the created price is added or updated

offerId
number

ID of the created offer for the itemId or itemSku

offers
object[]

Prices of the SKU or priceListId

createdAt
string

Price creation date-time

updatedAt
string

price last updated date-time

job
boolean

true: Job is running either to create or update details<br /> false: Job is either completed or not running for some reason