promotions

Update promotion

Partially updates a promotion by its identifier. The code is immutable. Editing content is blocked while the promotion is active and in effect; toggling "active" is always allowed.

patch/api/v1/promotions/{id}

Path parameters

idstring uuid required
Example:01920000-0000-7000-8000-000000000000

Promotion identifier (UUID).

Request body

PromotionUpdate required

Response

Promotion updated.

metadataobject nullable required

Changes