Prices

Prices_partial_update

PATCH
/api/v1/prices/{id}
AuthorizationBearer <token>

In: header

Path Parameters

idinteger

A unique integer value identifying this Price.

category_tag?string | null
labels_tags?unknown
origins_tags?unknown
price?number | null
Formatdouble
Range0 <= value < 100000000
price_is_discounted?boolean
price_without_discount?number | null
Formatdouble
Range0 <= value < 100000000
discount_type?DiscountTypeEnum | BlankEnum | NullEnum
price_per?PricePerEnum | BlankEnum | NullEnum
currency?CurrencyEnum | BlankEnum | NullEnum
date?string | null
Formatdate
receipt_quantity?Receipt's price quantity (user input)
Formatdouble
Range0 <= value < 10000000
owner_comment?string | null

Response Body

curl -X PATCH "https://loading/api/v1/prices/0" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "category_tag": "string",
  "labels_tags": null,
  "origins_tags": null,
  "price": 99999999,
  "price_is_discounted": true,
  "price_without_discount": 99999999,
  "discount_type": "QUANTITY",
  "price_per": "UNIT",
  "currency": "ADP",
  "date": "2019-08-24",
  "receipt_quantity": 9999999,
  "owner_comment": "string"
}