[POST] .../v1/docordertomovement/deletemark
Toggles deleted_mark for transfer order document. Use this method to toggle the deletion mark on a movement order document as the first step of the DeleteMark to Delete workflow. The request body must contain a positive document id and the document must be locked by the current user and available under the stock movement order tariff. The caller must have movement order delete-mark permission; missing body, invalid id, unavailable tariff, lock conflicts, denied access, no affected rows, database failures or webhook failures are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Movement order document ID. |
Request Example
{
"id": 4401
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"row_affected": 1
}
}