DELETE
/
api-offers
/
price
/
{priceId}
/
priceList
/
{priceListId}

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.

Path Parameters

priceId
string
required

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.

priceListId
number
required

ID of the priceList to search the price for.

Query Parameters

type
enum<string>

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.

Available options:
itemSku,
itemId,
_id

Response

200 - application/json
_id
string

fabric internal unique ID

isSoftDeleted
boolean

true: Price is deleted<br /> false: Price is not deleted

itemId
number

Item ID

itemSku
string

Item SKU

offerId
number

ID of the created offer for the itemId or itemSku

createdAt
string

Creation date of the record

updatedAt
string

Last update date of the record

job
boolean

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

priceListId
number

Price list ID that contains the updated or created price

offers
object[]