Remove Users From Notify Product Available - Captain
AI-generatedOverview
This node removes 'notifyWhenAvailableClick' events for a specified product item. It is useful in scenarios where you want to clear user notifications related to product availability, such as when a product is no longer available or you want to reset notification settings for that product. For example, an e-commerce platform might use this node to stop notifying users about a product that has been discontinued.
Use Case Examples
- Removing notification events for a product by providing its item ID to stop users from receiving availability alerts.
- Clearing outdated notification events for a product after inventory changes.
Properties
| Name | Meaning |
|---|---|
| Item ID | The unique identifier of the product item for which the notifyWhenAvailableClick events should be removed. |
Output
JSON
success- Indicates whether the request to remove notification events was successful.message- Provides a message related to the request outcome, such as error details if the request failed.error- Error message returned if the request failed after all retry attempts.
Dependencies
- Requires environment variables CDP_URL (base URL for the API) and UNEXO_API_KEY (API authentication token).
Troubleshooting
- Common issues include network errors or invalid API keys causing request failures.
- The node retries the request up to 3 times with a 2-second delay between attempts; if all attempts fail, it returns an error message.
- Ensure that the environment variables CDP_URL and UNEXO_API_KEY are correctly set and valid to avoid authorization errors.