Procurement Properties

🔒

Requires product access scope.


Procurement Properties

FieldsTypeDesc
idstringProcurement's ID
procurement_snstringProcurement's Number
supplier_idstringSupplier's ID
location_idstringLocation's ID
notestringOptional notes or remarks for procurement
stateintegerProcurement State
pending_quantityintegerQuantity awaiting receipt
received_quantityintegerQuantity received
rejected_quantityintegerQuantity rejected
transfer_quantityintegerQuantity purchased
created_bystringUser who created the procurement
created_atstringCreation time, formatted as ISO-8601
updated_atstringLast modification time, formatted as ISO-8601

Procurement State

StateDesc
1waiting for stock
2partial receipt
3complete receipt
4cancelled

Procurement Example

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

Procurement Item Properties

FieldsTypeDesc
idstringProcurement Item's ID
procurement_idstringProcurement's ID
product_idstringProduct's ID
variant_idstringVariant's ID
product_titlestringProduct’s name
variant_titlestringVariant’s name or description
variant_skustringStock-keeping unit for the variant
pending_quantityintegerQuantity awaiting receipt
received_quantityintegerQuantity received
rejected_quantityintegerQuantity rejected
transfer_quantityintegerQuantity purchased
product_imageobjectProduct image details. See product_image Properties .
created_atstringCreation time, formatted as ISO-8601
updated_atstringLast modification time, formatted as ISO-8601

product_image Properties

FieldsTypeDescription
srcstringURL of the product image
widthintegerWidth of the image in pixels
heightintegerHeight of the image in pixels
altstringAlternate text for the product image

Procurement Item Example

{
    "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": ""
    }
}