Update a Price List
Updates a price list. Use this endpoint to add, replace, or remove layers.
Authentication
X-Auth-Tokenstring
API account access token.
Path parameters
price_list_id
Headers
Accept
Accept header.
Request
This endpoint expects an object.
name
The name of the price list.
active
Whether this price list and its prices are active. Defaults to true.
layers
Controls the fallback price lists assigned to this price list. Behavior depends on the value provided:
- Omitted — no change to existing layers.
- Empty array (
[]) — removes all layers. - Array with items — replaces the current layers with the provided list.
Maximum one item.
Response
data
meta
Empty meta object.
Errors
404
Not Found Error
422
Unprocessable Entity Error