Remove from cart
remove_from_cartRemove a product from a Picnic shopping cart by product ID; optionally specify quantity and receive the quantity left plus cart total.
Instructions
Remove a product from the user's Picnic shopping cart. Get the product id from get_cart. Returns the quantity left in the cart and the cart total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | How many to remove. Default 1. | |
| productId | Yes | The product id from search_products or get_cart, e.g. s1004201. |