Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a specific discount code by ID.
TypeScript
import { Solifyn } from 'solifyn'; const solifyn = new Solifyn({ apiKey: 'your_private_api_key_here' }); // Delete a discount code await solifyn.discounts.delete('disc_019e56a1...'); console.log('Discount successfully deleted.');
{ "success": true }
Authenticate requests using your standard bearer API key (e.g. YOUR_API_KEY).
YOUR_API_KEY
The unique discount ID.
"disc_123"
Discount deleted successfully.