Update a cart
Updates cart info (email, addresses, customer note). When addresses change, the order state is reverted to address to ensure shipments are recalculated.
PATCH
Spree SDK
Authorizations
Publishable API key for store access
JWT token for authenticated customers
Path Parameters
Cart prefixed ID
Body
application/json
Example:
"customer@example.com"
Example:
"Leave at door"
Existing address ID to use as shipping address
Example:
"addr_abc123"
Existing address ID to use as billing address
Example:
"addr_def456"
Response
200 - application/json
cart updated
Spree SDK

