# Line items

Line items represent a single line on an order. At a minimum, they contain a single product ID and a quantity. A line item may also include spec values, a cost center, shipping details, date needed, and other custom information.

 - [GET /lineitems/{direction}](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.listacrossorders.md)
 - [GET /orders/{direction}/{orderID}/lineitems](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.list.md)
 - [POST /orders/{direction}/{orderID}/lineitems](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.create.md)
 - [GET /orders/{direction}/{orderID}/lineitems/{lineItemID}](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.get.md)
 - [PUT /orders/{direction}/{orderID}/lineitems/{lineItemID}](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.save.md): If an object with the same ID already exists, it will be overwritten.
 - [DELETE /orders/{direction}/{orderID}/lineitems/{lineItemID}](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.delete.md)
 - [PATCH /orders/{direction}/{orderID}/lineitems/{lineItemID}](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.patch.md)
 - [PUT /orders/{direction}/{orderID}/lineitems/{lineItemID}/shipto](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.setshippingaddress.md): Set the Shipping Address of the Line Item. Appropriate only when the Address is not to be saved/reused. To use a Saved Address (i.e. from the Addresses resource), PATCH the Line Item's ShippingAddress
 - [PATCH /orders/{direction}/{orderID}/lineitems/{lineItemID}/shipto](https://api-docs.sitecore.com/ordercloud/line-items/lineitems.patchshippingaddress.md): Partially update the Shipping Address of the Line Item. Not allowed on unsubmitted Line Items where ShippingAddressID has been set. In that case, use the Addresses resource to update the Saved Address
