PerformCancel

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

Cancels posting of a price setting document. 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, storage errors or webhook failures are returned as HTTP 200 ErrorResult.

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