Submitting a cart

Learn how to submit a cart.

Use the Submit Cart resource to submit a cart. A cart cannot be submitted until the following items have been added or applied to the cart:

  • One or more products

  • Shipping option (if the product is a physical product)

  • Shipping address

  • Billing address

  • Payment option

Submitting a cart creates the order. You can use the information in the response to build a Thank You page. If the customer purchased a digital product, the cart presents the download links to the customer. If the customer selects a check as the payment type, the cart provides delayed payment instructions. If the customer chooses a payment service provider as the payment type, the cart provides links to the payment provider such as PayPal.

curl --location --request POST 'http://<<host>>/v1/shoppers/me/carts/active/submit-cart' \
--header 'Content-Type:  application/json' \
--header 'authorization: Basic ***\

See Submit cart query parameters for more information.

Last updated