Perform

[POST] .../v1/docwholesale/perform

Posts partner shipment document. Use this method after DocWholeSale/Lock and WholeSaleOperation/Add or Edit to post a shipment-to-partner document and make its item operations affect stock balances. The request body must contain id and the response returns row_affected for the posted document row. The document must be locked by the current request user, not marked for deletion, not deleted and the caller must have perform permission; closed periods, deleted operation items, negative stock balance checks when WHOLESALE_ALLOW_NEGATIVE_SALES is disabled, denied access, tariff restrictions, no affected rows, database failures or webhook/persistence errors are returned as HTTP 200 ErrorResult business errors.

Request Parameters

Name Type Required Description
id Int64 Required Shipment-to-partner document ID.

Request Example

{
  "id": 5601
}

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