Perform

[POST] .../v1/docsetprice/perform

Posts a price setting document. Post a price setting document after its SetPriceOperation rows contain the intended base and new prices. Posting sets the document performed flag, propagates performed state to its operations through database triggers and writes item price history for the document price type. 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 permission; missing body, invalid id, denied access, lock conflicts, delete-marked documents, 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
  }
}