DeleteMark

[POST] .../v1/docwholesale/deletemark

Toggles deleted_mark for partner shipment document. Use this destructive method to mark or unmark a shipment-to-partner document for deletion before the final DocWholeSale/Delete call. The request body must contain id and the response returns row_affected for the toggled deleted_mark value. The document must be locked by the current request user, not posted, not permanently deleted and the caller must have delete-mark permission; missing id, denied access, lock conflicts, already posted documents, tariff restrictions, 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
  }
}