Update purchase order

PUT

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

Request

Path parameters

organizationIdstring
purchaseOrderIdstring

Payload

supplier_idstring
ID of the supplier
referencestringnull
Reference of the order
Example:ORD100123
statusstring
Status of the purchase order
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted

Response

OK

Body

idstring
ID of the order
brand_idstring
ID of the brand
customer_idstringnull
ID of the customer whose order is
quantity_orderedinteger
Quantity that is ordered
quantity_allocatedinteger
Quantity that is allocated to a fulfillment
quantity_shippedinteger
Quantity that is shipped (already)
quantity_unallocatedinteger
Quantity that is not (yet) allocated to a fulfillment
referencestring
Reference of the order
Shipping cost paid by customer
statusstring
Status of the order
Allowed values:createdexpectedunallocatedallocatedcanceledpartially_shippedshipped
customs_invoice_numberstringnull
Invoice number for customs
Example:#1234
customs_shipment_typestringnull
Shipment export type for customs
Allowed values:documentsgiftreturned_goodssale_goodssample
canceled_atstring
Cancellation time, if canceled
shipped_atstring
Completed time
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.