Замовлення

Edit Order

Метод для редагування замовлення на стороні інтеграції

post/api/v1/orders/integration/edit-order

Request

  • Base URL: https://api.checkbox.ua (the document declares no server; this is the origin it was published from)
  • URL: https://api.checkbox.ua/api/v1/orders/integration/edit-order
  • Auth: HTTP bearer

Headers

X-Client-Namestring

Назва клієнту або сервісу що інтегрується з API, наприклад 'My Custom SDK'

X-Client-Versionstring

Номер версії клієнту що інтегрується з API, наприклад 'v1.2.5'

Request body

receipt_idstring uuid
cashier_namestring
departamentstring
headerstring
footerstring
barcodestring
type'SELL' | 'RETURN' | 'SERVICE_IN' | 'SERVICE_OUT' | 'SERVICE_CURRENCY' | 'CURRENCY_EXCHANGE' | 'PAWNSHOP' | 'CASH_WITHDRAWAL'

An enumeration.

idstring uuid required
order_idstring required

Example request

{
  "payments": [
    {
      "type": "CASH",
      "value": 4242
    }
  ]
}

Response

Successful Response

receipt_idstring uuid
cashier_namestring
departamentstring
headerstring
footerstring
barcodestring
type'SELL' | 'RETURN' | 'SERVICE_IN' | 'SERVICE_OUT' | 'SERVICE_CURRENCY' | 'CURRENCY_EXCHANGE' | 'PAWNSHOP' | 'CASH_WITHDRAWAL'

An enumeration.

idstring uuid required
order_idstring required

Example response

{
  "payments": [
    {
      "type": "CASH",
      "value": 4242
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.