Feature Pack 4Feature Pack 5Feature Pack 6

CartHandler

This class provides RESTful services to add, update, delete, and get items in the shopping cart and checkout.It also provides services to get usable shipping and payment information. It calls the Order noun to perform the services.

Method Name HTTP Method URL Query Params Description Authentication Example
getCart GET store/{storeId}/cart/@self responseFormat={responseFormat}&pageNumber={pageNumber}&pageSize={pageSize} Gets order details in the shopping cart. Yes,HTTPS Sample
getUsableShippingInfo GET store/{storeId}/cart/@self/usable_shipping_info responseFormat={responseFormat}&pageNumber={pageNumber}&pageSize={pageSize} Gets usable shipping information for the shopping cart. Yes,HTTP Sample
getUsablePaymentInfo GET store/{storeId}/cart/@self/usable_payment_info responseFormat={responseFormat}&pageNumber={pageNumber}&pageSize={pageSize} Gets usable payment information for the shopping cart. Yes,HTTP Sample
addOrderItem POST store/{storeId}/cart/ responseFormat={responseFormat} Adds one or multiple order items to a shopping cart. Yes,HTTP Sample
udpateOrderItem PUT store/{storeId}/cart/@self responseFormat={responseFormat} Updates one or more order items in the shopping cart. Yes,HTTP Sample
cancelOrderInCart DELETE store/{storeId}/cart/@self responseFormat={responseFormat} Deletes all items in the shopping cart. Yes,HTTP Sample
preCheckout PUT store/{storeId}/cart/@self/precheckout responseFormat={responseFormat} Prepares the shopping cart for checkout. This must be called before the checkout service. Yes,HTTPS Sample
checkOut POST store/{storeId}/cart/@self/checkout responseFormat={responseFormat} Checks out the shopping cart. Yes,HTTPS Sample
getAllowableShippingModes GET store/{storeId}/cart/shipping_modes langId={langId}&responseFormat={responseFormat} Gets allowable shipping information for the store. Yes,HTTP Sample