Get Cart
Returns a Cart.
Note
- Substitute your storefront domain for
yourstore.example.com.- The Send a Test Request feature is not currently supported for this endpoint.
Headers
The MIME type of the response body.
Query parameters
Sub-resources to include in the Cart response, in a comma-separated list.
lineItems.physicalItems.options: The Cart returns an abbreviated result. Use this to return physical items product options. Can also be used in a /POST to have the extended Cart object return.
lineItems.digitalItems.options: The Cart returns an abbreviated result. Use this to return digital items product options. Can also be used in a /POST to have the extended Cart object return.
lineItems.digitalItems.options,lineItems.physicalItems.options: The Cart returns an abbreviated result. Use this to return digital and physical options. Can also be used in a /POST to have the extended Cart object return.
lineItems.physicalItems.stockPosition: Returns backorder and stock availability details for physical items.
lineItems.digitalItems.stockPosition: Returns backorder and stock availability details for digital items. Since digital products cannot be backordered, backorder values are always zero.
Response
Cost of cart’s contents, before applying discounts.
Order based discounted amount only - Coupon discounts and product based discounts are excluded.
Sum of line-items amounts, minus cart-level discounts and coupons. This amount includes taxes (where applicable).