Add

Add To Cart

post
/V2/guest/cart/add
Authorizations
HTTPRequired
Header parameters
Content-TypestringOptional

Content Type

Example: application/json
guestQuoteIdstringOptional

Guest Quote Id

Example: {{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
/V2/guest/cart/add
200

Successful response

No content

Update Cart Item

put
/V2/guest/cart/add
Authorizations
HTTPRequired
Header parameters
Content-TypestringOptional

Content Type

Example: application/json
guestQuoteIdstringOptional

Guest Quote Id

Example: {{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
/V2/guest/cart/add
200

Successful response

No content