Update a Cart
POST
/store/carts/{id}
Carts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{BASE_URL}}/store/carts/' \
--header 'Content-Type: application/json' \
--data-raw '{
"region_id": "string",
"email": "user@example.com",
"sales_channel_id": "string",
"customer_id": "string",
"country_code": "string",
"context": {
"ip": "::1",
"user_agent": "Chrome"
},
"gift_cards": [
{
"code": "string"
}
],
"discounts": [
{
"code": "string"
}
],
"billing_address": {
"first_name": "Arno",
"last_name": "Willms",
"phone": 16128234334802,
"company": "string",
"address_1": "14433 Kemmer Court",
"address_2": "Suite 369",
"city": "South Geoffreyview",
"province": "Kentucky",
"postal_code": 72093,
"country_code": "st",
"metadata": {
"car": "white"
}
},
"shipping_address": {
"first_name": "Arno",
"last_name": "Willms",
"phone": 16128234334802,
"company": "string",
"address_1": "14433 Kemmer Court",
"address_2": "Suite 369",
"city": "South Geoffreyview",
"province": "Kentucky",
"postal_code": 72093,
"country_code": "st",
"metadata": {
"car": "white"
}
}
}'
Response Response Example
200 - Example 1
Request
Path Params
id
stringÂ
required
Body Params application/json
Responses
Modified at 2023-11-27 13:05:07