UpdateCartDataDTO

The attributes to update in the cart data.

region_idstringOptional
The associated region's ID.
customer_idnull | stringOptional
The associated customer's ID.
sales_channel_idnull | stringOptional
The associated sales channel's ID.
emailnull | stringOptional
The email of the customer that owns the cart.
currency_codestringOptional
The currency code of the cart.
shipping_address_idnull | stringOptional
The associated shipping address's ID.
billing_address_idnull | stringOptional
The associated billing address's ID.
billing_addressnull | UpdateAddressDTO | CreateAddressDTOOptional
The billing address of the cart.
shipping_addressnull | UpdateAddressDTO | CreateAddressDTOOptional
The shipping address of the cart.
metadatanull | Record<string, unknown>Optional
Holds custom data in key-value pairs.
completed_atnull | string | DateOptional
The date and time the cart was completed.
Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break