Skip to main content
PUT
Rename Coupon

Authorizations

X-API-KEY
string
header
required

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

Headers

X-Timestamp
string
required

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

Example:

"1783513683000"

Path Parameters

couponId
string
required

Unique identifier of the coupon

Body

application/json
newName
string
required

New coupon name

Maximum string length: 40

Response

Coupon renamed 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"