RemoveSeller

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

Deletes seller from a cheque. Use this destructive method to remove the seller assignment from an opened POS cheque when the seller was selected incorrectly. The request requires uuid, locks the cheque by uuid, clears the seller field and returns row_affected after the update. The persistent layer checks the current request user and requires the cheque to be opened; missing uuid, missing cheque, 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 whose seller assignment must be removed.

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