PUT
/
api-offers
/
price-list
/
{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

priceListId
number
required

Price list ID

Body

application/json
name
string
required

Pricelist name

Maximum length: 300
isDefault
boolean
required

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

currency
string

3 letter currency code as defined by ISO-4217

startDate
string

Start date of the price list. It indicates the date when the price list will be available to use. This value can be null, however if you mention the start date, you must provide end date as well.

endDate
string

End date of the price list. This value can be null, however if you mention an end date, you must provide a start date as well.

Response

200 - application/json
_id
string

fabric internal unique id

priceListId
number

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

name
string

Price list name

isDefault
boolean

true: indicates this is the default price list.<br /> false: indicates this is not the default price list

currency
string

3 letter currency code, as defined by ISO-4217, of the price specified in the price list

startDate
string

Start date of the price list

endDate
string

End date of the price list

deleted
boolean

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

createdAt
string

Creation date of the record

updatedAt
string

Last updated date of the record