Delete
[POST] .../v1/docordertomovement/delete
Deletes a warehouse transfer order document. Permanently delete a movement order document after it has been marked with deleted_mark by DocOrderToMovement/DeleteMark. The request body must contain a positive document id and the document must be locked by the current user, available under the stock movement order tariff and currently marked for deletion. The caller must have movement order delete permission; missing body, invalid id, unavailable tariff, lock conflicts, missing delete mark, denied access, no affected rows, storage errors or webhook failures are returned as HTTP 200 ErrorResult.
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
}
}