Delete price by priceId
Deletes a price based on priceListID, and priceId or itemSku or itemId.
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.
Path Parameters
Value for this field can be database ID (_id) of the price or itemSku or itemId based on the type mentioned in the type
query parameter.<br /> If a type is not specified in the type
query parameter, you must provide itemSku in this priceId field.
ID of the priceList to search the price for.
Query Parameters
The priceId
path parameter will be treated as itemSku, itemId or databse ID (_id) depending on this field. The default search will be done by itemSku
.
itemSku
, itemId
, _id
Response
fabric internal unique ID
true: Price is deleted<br /> false: Price is not deleted
Item ID
Item SKU
ID of the created offer for the itemId or itemSku
Creation date of the record
Last update date of the record
true: Job is running either to create, update, or delete the record<br /> false: Job is either completed or not running for some reason
Price list ID that contains the updated or created price
Was this page helpful?