[POST] .../v1/setpriceoperation/delete
Deletes operation from document setting prices. Use this destructive method to remove one or more item rows from a price setting document when those rows should no longer be part of the price update. The request body is a JSON array batch and every item must contain a positive operation id; the persistent layer requires all passed operations to belong to one editable parent document. The parent document must be locked by the current user, not posted and not deleted and the response returns row_affected and ids for removed operations. The current request user must have price setting operation delete permission; null, empty or oversized arrays, invalid ids, denied access, lock conflicts, invalid document state, no affected rows or storage failures are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Price setting document operation ID. |
Request Example
[
{
"id": 8101
}
]
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": [
8101
]
}
}