Actions17
- Customer Actions
- Order Actions
- Shipping Actions
- Payment Actions
- Cart Actions
Overview
This node interacts with the OpenCart API to manage shopping cart operations, specifically allowing the removal of a product from a cart. It is useful in e-commerce workflows where automated cart management is needed, such as removing items from a user's cart based on certain conditions or user actions.
Use Case Examples
- Automatically remove a discontinued product from all active carts.
- Remove a product from a cart when a user cancels an order.
Properties
| Name | Meaning |
|---|---|
| Product ID | ID of the product to remove from the cart. |
| Cart Key | Unique key identifying the cart from which the product will be removed. |
Output
JSON
json- Response from the OpenCart API after attempting to remove the product from the cart.
Dependencies
- Requires an OpenCart API credential with base URL, username, and password for authentication.
Troubleshooting
- Ensure the Cart Key and Product ID are correctly provided; missing or incorrect values will cause the API request to fail.
- Invalid or expired API credentials will prevent successful communication with the OpenCart API.
- Malformed JSON in other operations (not applicable here) can cause errors; ensure JSON inputs are valid if used in other operations.
