Sitecore OrderCloud Documentation

docs

Portal login

Line Items

A Line Item represents a single line on an Order. At a minimum, it contains a single Product SKU and a quantity. A line item may also include Spec values, a Cost Center, shipping details, date needed, and other custom information.

LineItems.ListAcrossOrders

Get a list of line item across orders.

get

v1/lineitems/{direction}

LineItems.List

Get a list of line items.

get

v1/orders/{direction}/{orderID}/lineitems

LineItems.Create

Create a new line item.

post

v1/orders/{direction}/{orderID}/lineitems

LineItems.Get

Get a single line item.

get

v1/orders/{direction}/{orderID}/lineitems/{lineItemID}

LineItems.Save

Create or update a line item.

put

v1/orders/{direction}/{orderID}/lineitems/{lineItemID}

LineItems.Delete

Delete a line item.

delete

v1/orders/{direction}/{orderID}/lineitems/{lineItemID}

LineItems.Patch

Partially update a line item.

patch

v1/orders/{direction}/{orderID}/lineitems/{lineItemID}

LineItems.SetShippingAddress

Set a shipping address.

put

v1/orders/{direction}/{orderID}/lineitems/{lineItemID}/shipto

LineItems.PatchShippingAddress

Partially update a line item shipping address.

patch

v1/orders/{direction}/{orderID}/lineitems/{lineItemID}/shipto

Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore