Update
Authorizations
Path parameters
itemIdintegerRequiredExample:
Item Id
318
Header parameters
Content-TypestringOptionalExample:
Content Type
application/json
Body
objectOptionalExample:
{"cartItem":{"sku":"MJ12","qty":1,"quote_id":"{{cartId}}","product_option":{"extension_attributes":{"configurable_item_options":[{"option_id":"142","option_value":167},{"option_id":"93","option_value":56}]}}}}
Responses
200
Successful response
application/json
put
PUT /V2/customer/cart/update/{itemId} HTTP/1.1
Host: beta.magento.pixiedia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 209
{
"cartItem": {
"sku": "MJ12",
"qty": 1,
"quote_id": "{{cartId}}",
"product_option": {
"extension_attributes": {
"configurable_item_options": [
{
"option_id": "142",
"option_value": 167
},
{
"option_id": "93",
"option_value": 56
}
]
}
}
}
}
200
Successful response
No content