Create or update price
Creates or updates price details for one or many items based on given item IDs. Support for currency code is determined based on the currency code you have set while creating the price list, whuch is identified by priceListId in the request body.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
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
Item IDs to create or update the price for
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.
SKUs of the products to create or update the price for
Response
fabric internal ID
true: Price is soft deleted, means the details are removed from UI but are available in the databse.<br /> false: Price is not deleted
ID of the item
SKU of the item
ID of the pricelist to which the created price is added or updated
ID of the created offer for the itemId or itemSku
Prices of the SKU or priceListId
Price creation date-time
price last updated date-time
true: Job is running either to create or update details<br /> false: Job is either completed or not running for some reason
Was this page helpful?