promotions_set_active
Pause or resume a promotion. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only needed when the same name is on both lists: cart is a checkout discount or coupon code, catalog is a shelf sale. | |
| active | Yes | false pauses it, true resumes it. A paused rule keeps its terms and its usage count. | |
| promotion | Yes | The promotion's name, its checkout code, or its id from promotions.state. |