Update a promotion
update_promotionModify an existing promotion's configuration, including status, limits, and eligibility, while preserving omitted fields.
Instructions
Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Updates an existing promotion's configuration. Only provided fields are updated; omitted fields remain unchanged. Status changes (activate/deactivate) are part of the same update call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limits | No | ||
| status | No | ||
| account | No | Exact private shop profile label; not a provider identity or authorization proof. | |
| confirm | No | Explicit approval for this exact provider effect or local private-file operation. | |
| payload | No | Complete current native JSON body; cannot mix with native body flags or payload_file. | |
| appliesTo | No | ||
| payload_file | No | Absolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags. | |
| promotion_id | Yes | Native promotionId | |
| requirements | No |