cURL
curl --request POST \ --url https://app.localhost:3000/api/public/v1/promotion-codes/delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "ids": [ "pc_123", "pc_456" ] } '
{ "success": true }
Delete one or more promotion codes by their IDs
Enter your API key as: Bearer your-api-key
Bearer your-api-key
Array of promotion code IDs to delete
Successful response