Allows updating the details of an existing procurement record, such as its supplier, note, or other properties.
Requireswrite_inventoryaccess scope. More access scope
The Update Procurement API allows users to modifies an existing procurement record with updated supplier information or additional notes.
This API is especially useful for:
- Changing supplier associations for procurement orders.
- Adding contextual notes to procurement records.
- Maintaining accurate procurement documentation.
Request Parameters
Public Request Parameters
Path Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
procurement_id | string | Yes | Unique identifier of the procurement record | "proc_123456789" |
Body Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
procurement | object | Yes | Container for procurement updates | - |
procurement.supplier_id | string | No | New supplier identifier | "supp_987654321" |
procurement.note | string | No | Additional procurement comments | "Urgent order - prioritize shipping" |
Response Explanation
Public Response Parameters
Successful Response
| Parameter | Type | Example | Description |
|---|---|---|---|
code | string | "success" | Status code of the API response |
message | string | "Order retrieved successfully" | Descriptive message about the response |
data.procurements | array[object] | - | List of procurement objects |
data.cursor | string | "def456" | Pagination token |
data.has_more | boolean | true | More results available |
Procurement Object
Parameter | Type | Example | Description |
|---|---|---|---|
| string |
| Unique procurement ID |
| string |
| Procurement serial number |
| string |
| Supplier reference ID |
| string |
| Warehouse location ID |
| string |
| Procurement notes |
| int32 |
| Current state (1-4) |
| int32 |
| Items awaiting receipt |
| int32 |
| Items successfully received |
| int32 |
| Items rejected |
| int32 |
| Items in transit |
| string |
| Creator user ID |
| string |
| Creation timestamp |
| string |
| Last update timestamp |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
