Home > @vsf-enterprise/bigcommerce-api > Cart

# Cart interface

A cart contains a collection of items, prices, discounts, etc... It does not contain customer-related data.

Signature:

export interface Cart 

# Properties

Property Type Description
base_amount? number (Optional) Sum of cart line-item amounts before cart-level discounts, coupons, or taxes.
cart_amount? number (Optional) Sum of cart line-item amounts minus cart-level discounts and coupons. This amount includes taxes (where applicable).
channel_id? number (Optional) If no channel is specified, defaults to 1.
coupons? Array<AppliedCoupon> (Optional) Coupon applied in cart.
created_time? string (Optional) Time when the cart was created.
currency? CartCurrency (Optional) This will always be the same between cart and checkout.
customer_id? number (Optional) ID of the customer to which the cart belongs.
discount_amount? number (Optional) Discounted amount.
discounts? Array<AppliedDiscount> (Optional) Discounts applied in cart.
email? string (Optional) The cart's email. This is the same email that is used in the billing address.
id? string (Optional) Cart ID.
line_items? LineItems (Optional) Cart line items.
locale? string (Optional) Locale of the cart.
parent_id? string (Optional) Bundled items will have their parent's item Id.
redirect_urls? RedirectUrls (Optional) Redirect URLs for checkout.
tax_included? boolean (Optional) Information if tax is included.
updated_time? string (Optional) Time when the cart was last updated.