Add
post
/V2/guest/cart/add
Authorizations
Header parameters
Content-Typestring
Content Type
Example:
application/json
guestQuoteIdstring
Guest Quote Id
Example:
{{guestToken}}
Body
object
Example:
{"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
application/json
cURL
JavaScript
Python
HTTP
200
No body
put
/V2/guest/cart/add
Authorizations
Header parameters
Content-Typestring
Content Type
Example:
application/json
guestQuoteIdstring
Guest Quote Id
Example:
{{guestToken}}
Body
object
Example:
{"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
application/json
cURL
JavaScript
Python
HTTP
200
No body