Delay

[POST] .../v1/pos/doccheque/delay

Delays a cash register cheque by setting status Delayed Use this method to postpone an opened POS cheque and free the cash desk for another sale. The request requires uuid, locks the cheque by uuid, checks the current request user, requires retail permission to delay a sale and returns row_affected after the status becomes Delayed. Business errors such as missing uuid, denied permission, missing accepted cash register, cheque not found, invalid cheque state and storage errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
uuid String Required Cheque UUID.

Request Example

{
  "uuid": "00000000-0000-0000-0000-000000000000"
}

Response Parameters

Name Type Description
ok Boolean Indicates whether the request completed successfully.
result Update Update operation result.

Response Example

{
  "ok": true,
  "result": {
    "ids": [
      null
    ],
    "row_affected": 1
  }
}