Receive Procurement

Processes the receipt of procurement items by updating their quantities (received and rejected) and recording any rejection reasons.

🔒

Requires write_inventory access scope. More access scope

The Receive Procurement API processes the receipt of procurement items by updating their quantities (received and rejected) and recording any rejection reasons.

This API is especially useful for:

  1. Recording actual received inventory quantities
  2. Maintaining accurate procurement status tracking

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
procurement_idstringYesUnique identifier of the procurement"proc_123456789"

Body Parameters

ParameterTypeRequiredDescriptionExample
itemsarray of objectsYesItems to update with receipt details-
items.procurement_item_idstringYesUnique item identifier"item_987654"
items.received_quantityint32YesQuantity accepted (must be ≥0)45
items.rejected_quantityint32YesQuantity rejected (must be ≥0)5
items.rejected_reasonstringNoReason for rejection"Damaged packaging"

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"success"Status code of the API response
messagestring"Order retrieved successfully"Descriptive message about the response
data-

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!