Items
Add/update the specified cart item.
Path parameters
cartIdstringRequiredExample:
(Required)
<string>itemIdstringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"cartItem":{"qty":-13282379.231781468,"quote_id":"sunt laborum","item_id":-23405600,"sku":"sit id deserunt","name":"incididunt quis in irure","price":-25015369.994559363,"product_type":"elit proident sunt est","product_option":{"extension_attributes":{"custom_options":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"bundle_options":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"downloadable_option":{"downloadable_links":{"value":"<Error: Too many levels of nesting to fake this schema>"}},"configurable_item_options":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}]}},"extension_attributes":{"discounts":[{"discount_data":{"value":"<Error: Too many levels of nesting to fake this schema>"},"rule_label":"fugiat sint nisi","rule_id":-47754627},{"discount_data":{"value":"<Error: Too many levels of nesting to fake this schema>"},"rule_label":"do adipisicing","rule_id":-54776017}]}}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
500
Internal Server Error
application/json
put
/V1/guest-carts/{cartId}/items/{itemId}Remove the specified item from the specified cart.
Path parameters
cartIdstringRequiredExample:
(Required) The cart ID.
<string>itemIdstringRequiredExample:
(Required) The item ID of the item to be removed.
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
500
Internal Server Error
application/json
delete
/V1/guest-carts/{cartId}/items/{itemId}List items that are assigned to a specified cart.
Path parameters
cartIdstringRequiredExample:
(Required) The cart ID.
<string>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
500
Internal Server Error
application/json
get
/V1/guest-carts/{cartId}/itemsAdd/update the specified cart item.
Path parameters
cartIdstringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"cartItem":{"qty":-13282379.231781468,"quote_id":"sunt laborum","item_id":-23405600,"sku":"sit id deserunt","name":"incididunt quis in irure","price":-25015369.994559363,"product_type":"elit proident sunt est","product_option":{"extension_attributes":{"custom_options":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"bundle_options":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"downloadable_option":{"downloadable_links":{"value":"<Error: Too many levels of nesting to fake this schema>"}},"configurable_item_options":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}]}},"extension_attributes":{"discounts":[{"discount_data":{"value":"<Error: Too many levels of nesting to fake this schema>"},"rule_label":"fugiat sint nisi","rule_id":-47754627},{"discount_data":{"value":"<Error: Too many levels of nesting to fake this schema>"},"rule_label":"do adipisicing","rule_id":-54776017}]}}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/V1/guest-carts/{cartId}/items