Add
Authorizations
Header parameters
Content-TypestringOptionalExample:
Content Type
application/json
guestQuoteIdstringOptionalExample:
Guest Quote Id
{{guestToken}}
Body
objectOptionalExample:
{"cartItem":{"sku":"MJ12","qty":1,"quote_id":"{{guestToken}}","product_option":{"extension_attributes":{"configurable_item_options":[{"option_id":"142","option_value":167},{"option_id":"93","option_value":50}]}}}}
Responses
200
Successful response
application/json
post
POST /V2/guest/cart/add HTTP/1.1
Host: beta.magento.pixiedia.com
Authorization: noauth YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 213
{
"cartItem": {
"sku": "MJ12",
"qty": 1,
"quote_id": "{{guestToken}}",
"product_option": {
"extension_attributes": {
"configurable_item_options": [
{
"option_id": "142",
"option_value": 167
},
{
"option_id": "93",
"option_value": 50
}
]
}
}
}
}
200
Successful response
No content
Authorizations
Header parameters
Content-TypestringOptionalExample:
Content Type
application/json
guestQuoteIdstringOptionalExample:
Guest Quote Id
{{guestToken}}
Body
objectOptionalExample:
{"cartItem":{"sku":"MJ12","qty":1,"quote_id":"{{guestToken}}","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/guest/cart/add HTTP/1.1
Host: beta.magento.pixiedia.com
Authorization: noauth YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 213
{
"cartItem": {
"sku": "MJ12",
"qty": 1,
"quote_id": "{{guestToken}}",
"product_option": {
"extension_attributes": {
"configurable_item_options": [
{
"option_id": "142",
"option_value": 167
},
{
"option_id": "93",
"option_value": 56
}
]
}
}
}
}
200
Successful response
No content