Proofs

Proofs_partial_update

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

In: header

Path Parameters

idinteger

A unique integer value identifying this Proof.

location_osm_id?integer | null
Formatint64
Range0 <= value <= 9223372036854776000
location_osm_type?LocationOsmTypeEnum | BlankEnum | NullEnum
type?TypeEbbEnum
  • PRICE_TAG - PRICE_TAG
  • RECEIPT - RECEIPT
  • GDPR_REQUEST - GDPR_REQUEST
  • SHOP_IMPORT - SHOP_IMPORT
Value in"PRICE_TAG" | "RECEIPT" | "GDPR_REQUEST" | "SHOP_IMPORT"
currency?CurrencyEnum | BlankEnum | NullEnum
date?string | null
Formatdate
receipt_price_count?Receipt's number of prices (user input)
Range0 <= value <= 2147483647
receipt_price_total?Receipt's total amount (user input)
Formatdouble
Range0 <= value < 100000000
receipt_online_delivery_costs?Receipt's online delivery costs (user input)
Formatdouble
Range0 <= value < 100000000
ready_for_price_tag_validation?boolean
owner_consumption?boolean | null
owner_comment?string | null

Response Body

curl -X PATCH "https://loading/api/v1/proofs/0" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "location_osm_id": 9223372036854776000,
  "location_osm_type": "NODE",
  "type": "PRICE_TAG",
  "currency": "ADP",
  "date": "2019-08-24",
  "receipt_price_count": 2147483647,
  "receipt_price_total": 99999999,
  "receipt_online_delivery_costs": 99999999,
  "ready_for_price_tag_validation": true,
  "owner_consumption": true,
  "owner_comment": "string"
}