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

UpdateCartDataDTO

The attributes to update in the cart data.

Properties

region_idstring
The associated region's ID.
customer_idnull | string
The associated customer's ID.
sales_channel_idnull | string
The associated sales channel's ID.
emailnull | string
The email of the customer that owns the cart.
currency_codestring
The currency code of the cart.
shipping_address_idnull | string
The associated shipping address's ID.
billing_address_idnull | string
The associated billing address's ID.
billing_addressnull | UpdateAddressDTO | CreateAddressDTO
The billing address of the cart.
shipping_addressnull | UpdateAddressDTO | CreateAddressDTO
The shipping address of the cart.
metadatanull | Record<string, unknown>
Holds custom data in key-value pairs.
Was this section helpful?