Promotions

Update a promotion

post/promotions/{id}

Path parameters

idstring required

The ID of the promotion

Request body

namestring

The name of the promotion

start_timestring

The start time of the promotion

end_timestring

The end time of the promotion

descriptionstring

The description of the promotion

{"stackTrail":"paths:/promotions/{id}:post:requestBody:content:application/json:schema:properties:image","oasType":"schema","type":"unknown","description":"The cover image of the promotion used to display on the rewards program"}

Response

The updated Promotion object

idstring required

The ID of the promotion

namestring required

Name of the promotion

start_timestring required

Start time of the promotion

end_timestring required

End time of the promotion

points_multiplierinteger required

Multiplier applied to earned points

descriptionstring required

Description of the promotion

image_urlstring nullable required

URL of the promotion image

Changes

No recorded changes to this endpoint across all 1 revision of this API.