put
https://{store}/api/rest/checkout2/cart_product
Item identifier is required. You can identify an item by either:
| Key | Description. |
|---|---|
| product_id | ID of product in the cart. |
| item_id | ID of cart item. |
| sku | SKU of product in cart. |
| comment | Used to set/edit a comment on the item. |
Adding a product to a cart will sometimes require more than just the Product ID. Depending on the specifications of the product you may need to set a specific qty or options or even super_group or super_attribute depending on which type of product you are adding.
For more examples of how to add different product, use the example drop down to change the Example Request.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200OK (no example documented yet)
