Create purchase order

POST

https://api.pack.cloud/v1/organizations/{organizationId}/purchase-orders

Request

Path parameters

organizationIdstring

Payload

supplier_idstringrequired
ID of the supplier
referencestringnull
Reference of the order
Example:ORD100123
quantity_orderedintegerrequired
Quantity that is ordered
product_idstringrequired
ID of the product that is ordered
Price per item
sell_aheadinteger
Quantity to allow pre-orders for this product

Response

Created

Body

idstring
ID of the purchase order
supplier_idstring
ID of the supplier
referencestring
Example:ORD100123
statusstring
Status of the purchase order
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource

Meld je aan voor onze nieuwsbrief

Blijf op de hoogte van de laatste ontwikkelingen en trends op het gebied van logistiek en ecommerce.