Create a price list
Creates a price list.
name, code, and currency are required. name and code must be unique across price lists.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The body of a price-list create or full update request.
The display name of the price list. Must be unique.
The machine-readable code of the price list. Must be unique when set.
An ISO 4217 currency code accepted by the product-price endpoints.
The created price list.
A price list — a named, single-currency container for extra product prices.
The unique identifier of the price list.
The display name of the price list. Unique across price lists.
The machine-readable code of the price list. Unique across price lists when set.
An ISO 4217 currency code accepted by the product-price endpoints.
The request contains invalid or missing data — for example a name or code that is already used by another price list, an unknown currency, a currency change while the list contains extra product prices in another currency, or a missing required field. The response names the field the complaint belongs to.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
POST /api/v1/remote/1/price_list/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"name": "B2B Wholesale",
"code": "b2b-wholesale",
"currency": "try"
}{
"pk": 4,
"name": "B2B Wholesale",
"code": "b2b-wholesale",
"currency": "try"
}Last updated
Was this helpful?

