swoogo_get_discount_codes
List discount codes for an event, or retrieve a single code by ID. Returns the code string, type, discount amount, and capacity.Parameters
Example prompts
- “Find discount codes containing EARLY for event 12345”
- “How many times has discount code 456 been used?“
swoogo_create_discount_code
Create a discount code for an event.Parameters
Example prompts
- “Create a 20% discount code EARLY20 for event 12345”
- “Add a $50 off code limited to 100 uses”
swoogo_update_discount_code
Update an existing discount code. Only the fields you provide are changed.Parameters
Alternate codes (those with a
parent_id greater than 0) inherit some settings from their parent and cannot update those fields directly.Example prompts
- “Raise the capacity of discount code 456 to 500”
- “Change EARLY20 to 25% off”