cURL
curl --request DELETE \ --url https://staging-api.puppetvendors.com/discounts/{discountId} \ --header 'x-access-token: <api-key>'
Delete a vendor discount code
Documentation IndexFetch the complete documentation index at: https://dev.puppetvendors.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
Use this file to discover all available pages before exploring further.
{ "success": true, "data": { "deleted": true } }
curl -X DELETE https://staging-api.puppetvendors.com/discounts/507f1f77bcf86cd799439011 \ -H "x-access-token: YOUR_VENDOR_JWT_TOKEN"
Was this page helpful?