🔒
Requires product access scope.
| Fields | Type | Desc |
|---|
| id | string | Procurement's ID |
| procurement_sn | string | Procurement's Number |
| supplier_id | string | Supplier's ID |
| location_id | string | Location's ID |
| note | string | Optional notes or remarks for procurement |
| state | integer | Procurement State |
| pending_quantity | integer | Quantity awaiting receipt |
| received_quantity | integer | Quantity received |
| rejected_quantity | integer | Quantity rejected |
| transfer_quantity | integer | Quantity purchased |
| created_by | string | User who created the procurement |
| created_at | string | Creation time, formatted as ISO-8601 |
| updated_at | string | Last modification time, formatted as ISO-8601 |
| State | Desc |
|---|
| 1 | waiting for stock |
| 2 | partial receipt |
| 3 | complete receipt |
| 4 | cancelled |
{
"id": "382706443201028396",
"procurement_sn": "00000003",
"supplier_id": "382453603865993516",
"location_id": "190035786870033452",
"note": "teest note",
"state": 1,
"pending_quantity": 70,
"received_quantity": 10,
"rejected_quantity": 20,
"transfer_quantity": 100,
"created_by": "",
"created_at": "2024-05-22T01:38:46Z",
"updated_at": "2024-05-22T01:49:16Z"
}
| Fields | Type | Desc |
|---|
| id | string | Procurement Item's ID |
| procurement_id | string | Procurement's ID |
| product_id | string | Product's ID |
| variant_id | string | Variant's ID |
| product_title | string | Product’s name |
| variant_title | string | Variant’s name or description |
| variant_sku | string | Stock-keeping unit for the variant |
| pending_quantity | integer | Quantity awaiting receipt |
| received_quantity | integer | Quantity received |
| rejected_quantity | integer | Quantity rejected |
| transfer_quantity | integer | Quantity purchased |
| product_image | object | Product image details. See product_image Properties . |
| created_at | string | Creation time, formatted as ISO-8601 |
| updated_at | string | Last modification time, formatted as ISO-8601 |
| Fields | Type | Description |
|---|
src | string | URL of the product image |
width | integer | Width of the image in pixels |
height | integer | Height of the image in pixels |
alt | string | Alternate text for the product image |
{
"id": "382736631334969644",
"procurement_id": "382736238450319660",
"pending_quantity": 100,
"received_quantity": 0,
"rejected_quantity": 0,
"transfer_quantity": 100,
"variant_id": "4f442546-3a60-43b2-baa5-5e1f07c85464",
"product_id": "cbf9e2d2-7f2c-4881-ab7c-abf8e6590592",
"product_title": "test",
"variant_title": "",
"variant_sku": "",
"created_at": "2024-05-22T03:38:44Z",
"updated_at": "2024-05-22T03:38:44Z",
"product_image": {
"src": "//img.staticdj.com/c8bf5695d347092d7a010f00182581f7.jpeg",
"width": 710,
"height": 799,
"alt": ""
}
}