Pay: offers delete
pay_offers_deletePermanently delete an offer with its codes and redemptions; returns deleted counts and preserved trial bonuses. Use pay_offers_pause to stop redemptions while keeping history.
Instructions
Permanently delete an offer and all its codes + redemptions (history is lost; trial bonuses already granted are preserved). Returns how many codes and redemptions were deleted and how many trial bonuses were kept. The offer's Stripe coupon is not removed. To stop redemptions while keeping the history, use pay_offers_pause instead. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Offer id (guid). Find it with pay_offers_list. |