Coupon Promotion Update

View as Markdown
Update the promotion bar

Authentication

x-api-keystring

API key generated from the dashboard (Settings → API Keys).

Request

This endpoint expects an object.
is_activebooleanOptional
contentmap from strings to stringsOptional
codestringOptional1-32 characters
updated_atstringOptional

Response

Successful response
successboolean

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error