Skip to main content
DELETE
/
v1
/
promotion-codes
Delete promotion code
curl --request DELETE \
  --url https://api.example.com/v1/promotion-codes
{
  "data": {
    "status": 1,
    "message": "Promotion code deleted in the app successfully"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.partnero.com/llms.txt

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

Endpoint

DELETE https://api.partnero.com/v1/promotion-codes

Request Body

ParameterTypeRequiredDescription
codestringYesPromotion code to delete
couponobjectYesParent coupon reference
coupon.uuid_codestringYesUUID of the parent coupon

Request

cURL
curl --location --request DELETE 'https://api.partnero.com/v1/promotion-codes' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "code": "PROMO123",
    "coupon": {
      "uuid_code": "coupon_123"
    }
  }'

Response

{
  "data": {
    "status": 1,
    "message": "Promotion code deleted in the app successfully"
  }
}
Deletion is permanent. Promotion codes are force-deleted and cannot be restored. To temporarily disable a code, use the update endpoint instead.