Skip to main content
DELETE
/
discounts
/
{discountId}
Delete Discount
curl --request DELETE \
  --url https://staging-api.puppetvendors.com/discounts/{discountId} \
  --header 'x-access-token: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt

Use this file to discover all available pages before exploring further.

V2 Alpha — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Permanently delete a discount code owned by the authenticated vendor.

Path Parameters

discountId
string
required
Discount ObjectId.

Response

200
{
  "success": true,
  "data": {
    "deleted": true
  }
}

Example

curl -X DELETE https://staging-api.puppetvendors.com/discounts/507f1f77bcf86cd799439011 \
  -H "x-access-token: YOUR_VENDOR_JWT_TOKEN"