[POST] .../v1/docwholesale/performcancel
Cancels posting of partner shipment document. Use this destructive method to cancel posting of a shipment-to-partner document when stock effects must be rolled back and the document returned to editable state. The request body must contain id and the response returns row_affected for the document row whose performed flag was cleared. The document must be locked by the current request user, not marked for deletion, not deleted and the caller must have posting-cancel permission; closed periods, denied access, tariff restrictions, lock conflicts, no affected rows, database failures or webhook/persistence errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Shipment-to-partner document ID. |
Request Example
{
"id": 5601
}
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
}
}