Skip to main content
PUT
/
promotion-code
/
{promotionCodeId}
/
deactivate
Deactivate Promotion Code
curl --request PUT \
  --url https://uat-api.clinkbill.com/api/promotion-code/{promotionCodeId}/deactivate \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-Timestamp: <api-key>'
{
  "code": 200,
  "msg": "success"
}

Authorizations

X-API-KEY
string
header
required

Your secret API key obtained from the Clink dashboard (Developers section)

X-Timestamp
string
header
required

Current timestamp in milliseconds since Unix epoch (required for request signing)

Path Parameters

promotionCodeId
string
required

Unique identifier of the promotion code

Response

Promotion code deactivated successfully

Body of the response message

code
integer<int32>

Response status code, 200 when success

Example:

200

msg
string

Brief description of what happened, 'success' when happy case

Example:

"success"