Get Started
Product
Framework
Commerce Modules
Infrastructure Modules
Build
Recipes
How-to & Tutorials
Integrations
Storefront
Tools
CLI Tools
JS SDK
Next.js Starter
Medusa UI
Reference
Admin API
Store API
Admin Injection Zones
Container Resources
Core Workflows
Data Model Language
Data Model Repository
Events Reference
Helper Steps
Service Factory
Testing Framework
Workflows SDK
User Guide
v2.8.3
Help
Troubleshooting
Report Issue
Discord Community
Contact Sales
Ask AI
Homepage
Medusa v1
Changelog
Hide Sidebar
⌘\
Theme
Light
Dark
Menu
Get Started
Product
Build
Tools
Reference
User Guide
Documentation
Loading...
Was this page helpful?
It was helpful
It wasn't helpful
Report Issue
New version
v2.8.3 details
Loading...
View as Markdown
Explain with AI Assistant
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
⇧
↵
Navigation
↑
↓
Open Result
↵
StoreUpdateCart
Properties
#
region_id
string
Optional
The ID of the region that the cart is in.
shipping_address
string |
StoreAddAddress
Optional
The cart's shipping address.
billing_address
string |
StoreAddAddress
Optional
The cart's billing address.
email
string
Optional
The email of the customer associated with the cart.
sales_channel_id
string
Optional
The ID of the associated sales channel. Only products in the same sales channel can be added to the cart.
metadata
Record<string, unknown>
Optional
Key-value pairs of custom data.
promo_codes
string[]
Optional
The promotion codes to apply on the cart.