DeleteMark

[POST] .../v1/docordertopartner/deletemark

Toggles deleted_mark for partner order document. Use this method to mark or unmark a supplier order 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 partner order 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 Partner order document ID.

Request Example

{
  "id": 4501
}

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