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"
  }
}

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"
  }
}