BackToOperations
[POST] .../v1/pos/doccheque/backtooperations
Returns operations from status Paying to status Opened Use this method to 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. Business 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 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
}
}