Archive or unarchive discount
discount_actionArchive a discount to stop it from applying while keeping it restorable; unarchive to return it to active status. Control discount availability with one action.
Instructions
Archive a discount (soft delete: status becomes ARCHIVED, the discount stops applying but stays restorable) or unarchive it (returns it to a non-archived status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Discount ID (UUID). | |
| action | Yes | Action to perform. |