DeleteMark

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

Toggles deleted_mark for order-from-partner document. Use this method to 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 in the persistent layer. Missing body, invalid id, denied access, locked document, database failures or state conflicts are returned as HTTP 200 ErrorResult business errors.

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