Sitecore OrderCloud Documentation

docs

Portal login

Cart

The Cart is a straightforward way for a buyer user to interact with an order prior to submit. Unlike Order endpoints, an OrderID is never needed to interact with the cart. This simplifies workflows and eliminates the need to keep track of the OrderID on the front end. Please note Cart should be used as a distinct alternative to Order endpoints for a buyer user during the shopping experience; combining the use of Cart endpoints with Order endpoints may have unexpected results, and is not supported. Only available to Buyer Users.

Cart.Get

Retrieve a cart

get

v1/cart

Cart.Save

Create or update a cart

put

v1/cart

Cart.Delete

Delete a cart

delete

v1/cart

Cart.Patch

Partially update a cart

patch

v1/cart

Cart.ApplyPromotions

Auto-apply promotions to the cart

post

v1/cart/applypromotions

Cart.SetBillingAddress

Set a billing address

put

v1/cart/billto

Cart.PatchBillingAddress

Partially update a cart billing address

patch

v1/cart/billto

Cart.CreateBundleItem

Create a cart bundle item

post

v1/cart/bundles/{bundleID}

Cart.DeleteBundleItem

Delete a cart bundle item

delete

v1/cart/bundles/{bundleID}/{bundleItemID}

Cart.Calculate

Calculate the cart

post

v1/cart/calculate

Cart.ListEligiblePromotions

List eligible promotions for the cart

get

v1/cart/eligiblepromotions

Cart.EstimateShipping

Estimate shipping cost

post

v1/cart/estimateshipping

Cart.PatchFromUser

Partially update a cart from user

patch

v1/cart/fromuser

Cart.ListLineItems

List cart line items

get

v1/cart/lineitems

Cart.CreateLineItem

Create a cart line item

post

v1/cart/lineitems

Cart.GetLineItem

Retrieve a cart line item

get

v1/cart/lineitems/{lineItemID}

Cart.SaveLineItem

Create or update a cart line item

put

v1/cart/lineitems/{lineItemID}

Cart.DeleteLineItem

Delete a cart line item

delete

v1/cart/lineitems/{lineItemID}

Cart.PatchLineItem

Partially update a cart line item

patch

v1/cart/lineitems/{lineItemID}

Cart.ListPayments

List cart payments

get

v1/cart/payments

Cart.CreatePayment

Create a cart payment

post

v1/cart/payments

Cart.GetPayment

Retrieve a cart payment

get

v1/cart/payments/{paymentID}

Cart.DeletePayment

Delete a cart payment

delete

v1/cart/payments/{paymentID}

Cart.PatchPayment

Partially update a cart payment

patch

v1/cart/payments/{paymentID}

Cart.CreatePaymentTransaction

Create a cart payment transaction

post

v1/cart/payments/{paymentID}/transactions

Cart.DeletePaymentTransaction

Delete a cart payment transaction

delete

v1/cart/payments/{paymentID}/transactions/{transactionID}

Cart.ListPromotions

List cart promotions

get

v1/cart/promotions

Cart.AddPromotion

Add a promotion

post

v1/cart/promotions/{promoCode}

Cart.DeletePromotion

Delete a cart promotion

delete

v1/cart/promotions/{promoCode}

Cart.RefreshPromotions

Refresh promotions on the cart

post

v1/cart/refreshpromotions

Cart.SelectShipMethods

Select a ship method

post

v1/cart/shipmethods

Cart.SetShippingAddress

Set a shipping address

put

v1/cart/shipto

Cart.PatchShippingAddress

Partially update a cart shipping address

patch

v1/cart/shipto

Cart.Submit

Submit the cart

post

v1/cart/submit

Cart.Validate

Validate the cart in it's current state

post

v1/cart/validate

Cart.GetOrderWorksheet

Retrieve a cart order worksheet

get

v1/cart/worksheet

Cart.SetActiveCart

Set an active cart

put

v1/cart/{orderID}

Sitecore Logo

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

Contact Us
Privacy Policy
Sitecore