POST
/
api-offers
/
price-list

Authorizations

Authorization
string
header
required

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
currency
string
required

Currency code, as defined by ISO-4217, of the price specified in the price list.

isDefault
boolean
required

true: If you want to keep the given pricelist as the default price list.<br /> false: If you do not want to keep the given pricelist as the default price list.

name
string
required

Pricelist name

endDate
string

End date of the price list.

startDate
string

Start date of the price list, it indicates the date when the price list becomes available to use.

Response

200 - application/json

Price list data

_id
string

fabric internal unique id

createdAt
string

Creation date of the record

currency
string

3 letter currency code as defined by ISO-4217

deleted
boolean

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

endDate
string | null

The end date of priceList. This value can be null. However, if end date is mentioned, start date must also be mentioned.

isDefault
boolean

true: This is the default price list<br /> false: This is not the default price list

name
string

Price list name

priceListId
number

Price list ID. This is the system generated unique ID of the pricelist

startDate
string | null

Start date of the price list. This value can be null. However, if start date is mentioned, end date must also be mentioned.

updatedAt
string

Last updated date of the record