PerformCancel

[POST] .../v1/docsetprice/performcancel

Cancels posting of document setting prices. Use this destructive workflow method to cancel posting of a price setting document when its price changes should no longer affect item price history. Cancellation clears the document performed flag, propagates performed state to operations through database triggers and removes the item price history records created by this document. The document must be locked by the current user, not marked for deletion, not deleted and there must be no later posted price setting document for the same price type. The current request user must have price setting document perform-cancel permission; missing body, invalid id, denied access, lock conflicts, later posted price documents, no affected rows, database failures or webhook failures are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
id Int64 Required Price setting document ID.

Request Example

{
  "id": 6101
}

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