DeleteMark

[POST] .../v1/docorderfrompartner/deletemark

Toggles the deletion mark of a customer order document. Mark or unmark an order-from-partner document before a final delete. The request body must contain a valid document id; the method changes only deleted_mark and returns the number of affected rows. The caller must have order-from-partner delete-mark permission and the document must satisfy lock and state checks. Missing body, invalid id, denied access, locked document, storage errors or state conflicts are returned as HTTP 200 ErrorResult.

Request Parameters

Name Type Required Description
id Int64 Required Order-from-partner document ID.

Request Example

{
  "id": 4601
}

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
  }
}