Retrieves a list of Procurement objects, representing the associations between products and Procurementions.
Requiresread_inventoryaccess scope. More access scope
The Get Procurement List API allows users to retrieves a paginated list of procurement records with filtering capabilities.
This API is especially useful for:
- Tracking inventory replenishment orders
- Monitoring supplier deliveries
- Managing warehouse receiving processes
- Analyzing procurement workflows
Request Parameters
Public Request Parameters
Query Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
cursor | string | No | Pagination cursor | "abc123" |
page_size | int32 | No | Results per page (1-100) | 50 |
ids | array[string] | No | Filter by procurement IDs | ["proc_123","proc_456"] |
state | int32 | No | Procurement state filter. Accepted values: 1 (waiting for stock), 2 (partial receipt), 3 (complete receipt), 4 (cancelled). | 2 |
created_at_min | string | No | Filter records created after (ISO-8601) | "2023-01-01T00:00:00Z" |
created_at_max | string | No | Filter records created before (ISO-8601) | "2023-12-31T23:59:59Z" |
updated_at_min | string | No | Filter records updated after (ISO-8601) | "2023-06-01T00:00:00Z" |
updated_at_max | string | No | Filter records updated before (ISO-8601) | "2023-06-30T23:59:59Z" |
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 |
