11 juli 2024
Update purchase order line
PUT
https://api.pack.cloud/v1/organizations/{organizationId}/purchase-orders/{purchaseOrderId}/lines/{lineId}
Request
Path parameters
organizationIdstring
purchaseOrderIdstring
lineIdstring
Payload
quantity_orderedinteger
Quantity that is ordered
Price per item
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
sell_aheadinteger
Quantity to allow pre-orders for this product
Response
OK
Body
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
OK
Body
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
OK
Body
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
OK
Body
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
OK
Body
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product
OK
Body
idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product