Create a Price List

Beta
Creates a new price list with an optional fallback layer.

Authentication

X-Auth-Tokenstring
API account access token.

Headers

AcceptstringRequiredDefaults to application/json
Accept header.

Request

This endpoint expects an object.
namestringRequired
The name of the price list.
activebooleanOptional

Whether this price list and its prices are active. Defaults to true.

layerslist of objectsOptional
Fallback price lists to assign on creation. Maximum one item.

Response

dataobject
metaobject
Empty meta object.

Errors

422
Unprocessable Entity Error