Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Partially update a price list

Updates one or more fields of a price list. Only the fields included in the request body are changed; everything left out keeps its current value.

When currency is included and differs from the current one, the list must not contain an extra product price with a different currency.

patch
/price_list/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The identifier of the price list.

Example: 4
Body

The body of a price-list partial update request. Only the fields included in the body are changed; every field is optional.

namestring · max: 64Optional

The display name of the price list. Must be unique.

codestring · max: 64 · nullableOptional

The machine-readable code of the price list. Must be unique when set.

currencystring · enumOptional

An ISO 4217 currency code accepted by the product-price endpoints.

Possible values:
Responses
200

The updated price list.

application/json

A price list — a named, single-currency container for extra product prices.

pkintegerRead-onlyOptional

The unique identifier of the price list.

namestring · max: 64Optional

The display name of the price list. Unique across price lists.

codestring · max: 64 · nullableOptional

The machine-readable code of the price list. Unique across price lists when set.

currencystring · enumOptional

An ISO 4217 currency code accepted by the product-price endpoints.

Possible values:
patch/price_list/{id}/
PATCH /api/v1/remote/1/price_list/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 27

{
  "name": "B2B Wholesale EU"
}
{
  "pk": 4,
  "name": "B2B Wholesale",
  "code": "b2b-wholesale",
  "currency": "try"
}

Last updated

Was this helpful?