Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

CartDTO

The cart details.

Properties

idstringRequired
The ID of the cart.
currency_codestringRequired
The currency of the cart
original_item_totalBigNumberValueRequired
The original item total of the cart.
original_item_subtotalBigNumberValueRequired
The original item subtotal of the cart.
original_item_tax_totalBigNumberValueRequired
The original item tax total of the cart.
item_totalBigNumberValueRequired
The item total of the cart.
item_subtotalBigNumberValueRequired
The item subtotal of the cart.
item_tax_totalBigNumberValueRequired
The item tax total of the cart.
original_totalBigNumberValueRequired
The original total of the cart.
original_subtotalBigNumberValueRequired
The original subtotal of the cart.
original_tax_totalBigNumberValueRequired
The original tax total of the cart.
totalBigNumberValueRequired
The total of the cart.
subtotalBigNumberValueRequired
The subtotal of the cart. (Excluding taxes)
tax_totalBigNumberValueRequired
The tax total of the cart.
discount_totalBigNumberValueRequired
The discount total of the cart.
discount_tax_totalBigNumberValueRequired
The discount tax total of the cart.
gift_card_totalBigNumberValueRequired
The gift card total of the cart.
gift_card_tax_totalBigNumberValueRequired
The gift card tax total of the cart.
shipping_totalBigNumberValueRequired
The shipping total of the cart.
shipping_subtotalBigNumberValueRequired
The shipping subtotal of the cart.
shipping_tax_totalBigNumberValueRequired
The shipping tax total of the cart.
original_shipping_totalBigNumberValueRequired
The original shipping total of the cart.
original_shipping_subtotalBigNumberValueRequired
The original shipping subtotal of the cart.
original_shipping_tax_totalBigNumberValueRequired
The original shipping tax total of the cart.
raw_original_item_totalBigNumberRawValueRequired
The raw original item total of the cart.
raw_original_item_subtotalBigNumberRawValueRequired
The raw original item subtotal of the cart.
raw_original_item_tax_totalBigNumberRawValueRequired
The raw original item tax total of the cart.
raw_item_totalBigNumberRawValueRequired
The raw item total of the cart.
raw_item_subtotalBigNumberRawValueRequired
The raw item subtotal of the cart.
raw_item_tax_totalBigNumberRawValueRequired
The raw item tax total of the cart.
raw_original_totalBigNumberRawValueRequired
The raw original total of the cart.
raw_original_subtotalBigNumberRawValueRequired
The raw original subtotal of the cart.
raw_original_tax_totalBigNumberRawValueRequired
The raw original tax total of the cart.
raw_totalBigNumberRawValueRequired
The raw total of the cart.
raw_subtotalBigNumberRawValueRequired
The raw subtotal of the cart. (Excluding taxes)
raw_tax_totalBigNumberRawValueRequired
The raw tax total of the cart.
raw_discount_totalBigNumberRawValueRequired
The raw discount total of the cart.
raw_discount_tax_totalBigNumberRawValueRequired
The raw discount tax total of the cart.
raw_gift_card_totalBigNumberRawValueRequired
The raw gift card total of the cart.
raw_gift_card_tax_totalBigNumberRawValueRequired
The raw gift card tax total of the cart.
raw_shipping_totalBigNumberRawValueRequired
The raw shipping total of the cart.
raw_shipping_subtotalBigNumberRawValueRequired
The raw shipping subtotal of the cart.
raw_shipping_tax_totalBigNumberRawValueRequired
The raw shipping tax total of the cart.
raw_original_shipping_totalBigNumberRawValueRequired
The raw original shipping total of the cart.
raw_original_shipping_subtotalBigNumberRawValueRequired
The raw original shipping subtotal of the cart.
raw_original_shipping_tax_totalBigNumberRawValueRequired
The raw original shipping tax total of the cart.
region_idstring
The ID of the region the cart belongs to.
customer_idstring
The ID of the associated customer
sales_channel_idstring
The ID of the sales channel the cart belongs to.
emailstring
The email of the customer that owns the cart.
shipping_addressCartAddressDTO
The associated shipping address.
billing_addressCartAddressDTO
The associated billing address.
The associated line items.
shipping_methodsCartShippingMethodDTO[]
The associated shipping methods
metadatanull | Record<string, unknown>
Holds custom data in key-value pairs.
created_atstring | Date
When the cart was created.
updated_atstring | Date
When the cart was updated.
Was this section helpful?