Procurement Properties

🔒

Requires product access scope.


Procurement Properties

FieldsTypeDesc
idstringProcurement's ID
procurement_snstringProcurement's Number
supplier_idstringSupplier's ID
location_idstringLocation's ID
notestring
stateProcurement StateProcurement's State
pending_quantityintegerQuantity awaiting receipt
received_quantityintegerQuantity received
rejected_quantityintegerQuantity rejected
transfer_quantityintegerQuantity purchased
created_bystring
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_titlestring
variant_titlestring
variant_skustring
pending_quantityintegerQuantity awaiting receipt
received_quantityintegerQuantity received
rejected_quantityintegerQuantity rejected
transfer_quantityintegerQuantity purchased
product_imageobjectProduct's Image
product_image.srcstringThe relative URL of the image.
product_image.widthintegerThe width of the image in pixels.
product_image.heightintegerThe height of the image in pixels.
product_image.altstringThe alt text of the image.
created_atstringCreation time, formatted as ISO-8601
updated_atstringLast modification time, formatted as ISO-8601

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