The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.
Get order line
GET
https://api.pack.cloud/v1/organizations/{organizationId}/orders/{orderId}/lines/{lineId}
Request
Path parameters
organizationIdstring
orderIdstring
lineIdstring
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