2 augustus 2024
Update order line
PUT
https://api.pack.cloud/v1/organizations/{organizationId}/orders/{orderId}/lines/{lineId}
Request
Path parameters
organizationIdstring
orderIdstring
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
Price per item including VAT
currencystringrequired
ISO 4217 code of the currency
Example:EUR
valuestringrequired
Money amount
Example:9.95
namestring
Name of the product ordered
Response
OK
Body
idstring
ID of the order line
parent_idstringnull
ID of the parent order line (virtual bundle order line)
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
Price per item
Price per item
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
OK
Body
idstring
ID of the order line
parent_idstringnull
ID of the parent order line (virtual bundle order line)
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
Price per item
Price per item
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
OK
Body
idstring
ID of the order line
parent_idstringnull
ID of the parent order line (virtual bundle order line)
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
Price per item
Price per item
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
OK
Body
idstring
ID of the order line
parent_idstringnull
ID of the parent order line (virtual bundle order line)
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
Price per item
Price per item
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
OK
Body
idstring
ID of the order line
parent_idstringnull
ID of the parent order line (virtual bundle order line)
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
Price per item
Price per item
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
OK
Body
idstring
ID of the order line
parent_idstringnull
ID of the parent order line (virtual bundle order line)
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
Price per item
Price per item
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