Actions45
- Order Actions
- Product Actions
- Customer Actions
- Address Actions
- Special Offer Actions
- Coupon Actions
- Shipment Actions
- Digital Product Actions
- Product Image Actions
- Product Video Actions
- Store Info Actions
- User Info Actions
Coupon → Delete
AI-generatedOverview
This node interacts with the Salla.sa e-commerce platform API to delete a coupon by its ID. It is useful for managing promotional coupons in an online store, allowing users to remove outdated or invalid coupons from the system.
Use Case Examples
- Deleting a coupon that is no longer valid or has expired to prevent customers from using it.
- Removing a coupon that was created by mistake or is no longer needed in the promotional campaign.
Properties
| Name | Meaning |
|---|---|
| ID | The ID of the coupon to delete, required to identify which coupon to remove. |
Output
JSON
- `` - The response from the API after deleting the coupon, typically confirmation of deletion or status message.
Dependencies
- Salla.sa API with OAuth2 authentication
Troubleshooting
- Ensure the coupon ID provided is correct and exists in the system; otherwise, the API will return an error.
- Check that the OAuth2 credentials are valid and have the necessary permissions to delete coupons.
- Common error messages include 'The operation "delete" is not supported for coupons!' if the operation parameter is incorrect, or API errors related to invalid ID or authorization.
Links
- Salla API - Delete Coupon - Official API documentation for deleting a coupon in the Salla platform.