Update a specific price list
Updates a specific price list by price list ID.
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.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Path Parameters
Price list ID
10000003
Body
Pricelist name
300
"BuildMuscles-CONTRACT123"
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.
false
3 letter currency code as defined by ISO-4217
"CAD"
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.
"2021-05-04T09:23:51.459Z"
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.
"2021-06-09T09:23:51.459Z"
Response
fabric internal unique id
"614b58924e92f6861ac9d43b"
Price list ID. This is the system generated unique ID of the pricelist.
10000003
Price list name
"BuildMuscles-CONTRACT123"
true: indicates this is the default price list.<br /> false: indicates this is not the default price list
false
3 letter currency code, as defined by ISO-4217, of the price specified in the price list
"CAD"
Start date of the price list
"2021-05-04T09:23:51.459Z"
End date of the price list
"2021-06-09T09:23:51.459Z"
true: Price list is deleted<br /> false: Price list is not deleted
false
Creation date of the record
"2020-12-14T12:15:43.646Z"
Last updated date of the record
"2021-12-14T12:15:43.646Z"
Was this page helpful?