Promotions
Authorizations
X-API-KeystringRequired
Body
start_datenumberRequired
When the promotion becomes active, in epoch seconds.
titlestringRequired
Title of the promotion.
descriptionstringOptional
Description of the reward.
end_datenumberOptional
When the promotion is no longer active, in epoch seconds.
image_urlstringOptional
URL of the promotion image.
Responses
200
Successful response
application/json
post
/v2/admin/promotions200
Successful response
Authorizations
X-API-KeystringRequired
Path parameters
promotion_idnumberRequired
Body
start_datenumberRequired
When the promotion becomes active, in epoch seconds.
titlestringRequired
Title of the promotion.
descriptionstringOptional
Description of the reward.
end_datenumberOptional
When the promotion is no longer active, in epoch seconds.
image_urlstringOptional
URL of the promotion image.
Responses
200
Successful response
application/json
patch
/v2/admin/promotions/{promotion_id}200
Successful response