Skip to main content
PATCH
Update a promotion

Authorizations

Authorization
string
header
required

API key from the Rigaly dashboard: Authorization: Bearer rgly_sk_...

Path Parameters

id
string<uuid>
required

Body

application/json
title
string
Example:

"Double points weekend"

description
string | null
active
boolean
default:true
start_date
string<date>
Example:

"2026-08-01"

end_date
string<date>
Example:

"2026-08-03"

time_active
object

Per-day time-of-day windows. Omit a day to leave it unrestricted; omit the whole field for always-active.

Example:

Response

Promotion updated

success
boolean
Example:

true

message
string
data
object