Update promotion
update_promotionChange a promotion's status, code, value, usage limit, or dates, identified by promotion_id or code.
Instructions
Changes a promotion: activate/deactivate (status), rename the code, change the value, usage limit or validity dates. Identify it by promotion_id or code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Current code, to find the promotion | |
| value | No | ||
| status | No | ||
| ends_at | No | null removes the end date | |
| new_code | No | ||
| starts_at | No | null removes the start date | |
| usage_limit | No | null removes the limit | |
| promotion_id | No |