groupon_purchase
Add a Groupon deal to your cart and receive a checkout URL for payment. Preview cart changes without confirm, or confirm to add the item and verify the cart.
Instructions
Add a Groupon deal option to your cart, ready for checkout. WITHOUT confirm:true this is a DRY RUN — it previews what would be added and makes NO change to your cart. WITH confirm:true it adds the item, re-reads the cart to verify, and returns the checkout URL for YOU to complete payment. It CANNOT place the order — Groupon checkout is native Apple/Google Pay, card, or PayPal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dealId | Yes | Deal permalink slug (e.g. "versailles-massage-bar-1") OR a full Groupon deal URL — the last path segment is used. | |
| isGift | No | Mark the line item as a gift. | |
| confirm | No | Must be true to proceed. Without this, the tool returns a preview. | |
| optionId | No | Which deal option to buy (an option id from groupon_get_deal). Defaults to the first option. | |
| quantity | No | How many to add (default 1). |