Archive or unarchive discount
discount_actionArchive or unarchive a discount to stop or resume its application. Soft delete keeps it restorable, while unarchive returns it to active status.
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. |