Headers
Publishable API Key created in the Medusa Admin.
Path Parameters
The cart's ID.
Query Parameters
Comma-separated fields that should be included in the returned data. if a field is prefixed with +
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.
Body
The properties to update in the cart item. The details to update in a cart.
The ID of the associated region. This can affect the prices and currency code of the cart.
The ID of the customer that the cart belongs to.
The ID of the associated sales channel. Only products available in this channel can be added to the cart.
The email of the customer that the cart belongs to.
The cart's currency code.
"usd"
The ID of the cart's shipping address.
The ID of the cart's billing address.
The address to create.
The address to create.
The cart's metadata, ca hold custom key-value pairs.
Pass additional custom data to the API route. This data is passed to the underlying workflow under the additional_data
parameter.
Response
OK
The updated cart's details.
The cart's details.