Actions65
- Order Actions
- Product Actions
- Store Shipping Account Actions
- Delivery Companies API Actions
- Team User Actions
- Store Actions
- State Actions
- Stop Desk Actions
- City Or Municipality Actions
- Store Client Actions
- Store Coupon Actions
- Store Pro Stock Actions
Store Coupon → Delete
AI-generatedSummary
Delete a store coupon in Dukan by its coupon ID, optionally using custom authentication or base URL settings.
Inputs
- Force Custom Auth Header — Optionally use a custom API key instead of the default configured credentials.
- Custom API Key — API key to use if forcing custom authentication.
- Force Custom Base URL — Optionally use a custom Base URL instead of the one from credentials.
- Custom Base URL — The custom Base URL to use if forcing a custom base URL (excluding '/v1/external' suffix).
- Coupon ID (required) — The MongoDB ObjectId string representing the coupon to delete.
- Request Options — Settings to control batching, SSL validation, proxy, and request timeout.
Output shape
a single JSON response object confirming deletion or indicating failure
The operation returns the API’s response as JSON. Errors or unsuccessful deletions are included in the response. No pagination or multiple items returned.
Examples
Example 1: Delete a coupon by its ID using the default credentials.
Set 'Coupon ID' to the target coupon's ObjectId; leave 'Force Custom Auth Header' and 'Force Custom Base URL' disabled.