[POST] .../v1/orderfrompartneroperation/delete
Deletes operations order from partner. Use this destructive method to delete one or more item lines from a DocOrderFromPartner customer order when the lines were added by mistake or should no longer be shipped. The request body is a JSON array batch where every item must contain an operation id and the response returns row_affected plus the ids of rows actually deleted. All operations must belong to one DocOrderFromPartner document, the parent document must be locked by the current user and eligible for editing and the caller must have delete permission; null, empty or oversized arrays, missing ids, denied access, operations from different documents, already restricted documents or persistent storage failures are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Order-from-partner operation ID. |
Request Example
[
{
"id": 8501
}
]
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,
"ids": [
8501
]
}
}