[POST] .../v1/retailcustomer/deletemark
Toggles deleted_mark for customer. Use this destructive method to toggle the deleted_mark flag for a retail customer before a later physical delete or to restore the customer from the deletion queue. The request requires id and returns row_affected for the customer whose deletion mark was changed. The method checks the current request user and requires retail customer delete permission; missing body, missing id, denied permission, missing active customer and storage errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Customer ID. |
Request Example
{
"id": 1
}
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
}
}