BackToOperations

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

Reopens a POS cheque for item editing from Paying status. Move a POS cheque from payment mode back to operations entry when the cashier needs to edit positions before payment completion. The request requires uuid, locks the cheque by uuid, checks the current request user and accepted cashier context and returns row_affected after the status is restored to Opened. Errors such as missing uuid, missing accepted cash register, cheque not found, invalid cheque state, existing payment operations that prevent returning to operations and storage errors are returned as HTTP 200 ErrorResult.

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
  }
}