TicketSpice MCP by usefulapi is an MCP server published by io.usefulapi, hosted at ticketspice.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 15 tools, including ticketspice_list_forms, ticketspice_get_form, ticketspice_get_form_inventory, ticketspice_list_orders, ticketspice_get_order.
Read TicketSpice forms, orders, tickets, customers, coupons; create or delete coupons.
4,413 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the account's TicketSpice forms (ticketed events / order pages): id, name, status (open, closed, scheduled or archived), created and updated dates. Use the form ids to filter orders, tickets and transactions. GET /forms.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Sort by id: asc or desc (the vendor default applies when omitted). |
| limit | integer | Results per page, 1-50 (default 25). |
| created_after | string | Only records created after this time. |
| updated_after | string | Only records updated after this time. |
| created_before | string | Only records created before this time. |
| starting_after | integer | Cursor: pass the previous reply's next_starting_after to get the next page. |
| updated_before | string | Only records updated before this time. |
{
"name": "ticketspice_list_forms",
"title": "List events",
"description": "List the account's TicketSpice forms (ticketed events / order pages): id, name, status (open, closed, scheduled or archived), created and updated dates. Use the form ids to filter orders, tickets and transactions. GET /forms.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by id: asc or desc (the vendor default applies when omitted)."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (default 25)."
},
"created_after": {
"type": "string",
"description": "Only records created after this time."
},
"updated_after": {
"type": "string",
"description": "Only records updated after this time."
},
"created_before": {
"type": "string",
"description": "Only records created before this time."
},
"starting_after": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Cursor: pass the previous reply's next_starting_after to get the next page.",
"exclusiveMinimum": 0
},
"updated_before": {
"type": "string",
"description": "Only records updated before this time."
}
}
},
"annotations": {
"title": "List events",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One form by id: name, status, accounting reference, time zone and its field layout. GET /forms/{id}.
| Parameter | Type | Description |
|---|---|---|
| form_id * | integer | TicketSpice form id (from ticketspice_list_forms). |
{
"name": "ticketspice_get_form",
"title": "Get event",
"description": "One form by id: name, status, accounting reference, time zone and its field layout. GET /forms/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"form_id"
],
"properties": {
"form_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "TicketSpice form id (from ticketspice_list_forms).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get event",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Inventory items of a form (limited-quantity items): path, name, sold and remaining quantity. GET /forms/{id}/inventory.
| Parameter | Type | Description |
|---|---|---|
| form_id * | integer | TicketSpice form id. |
{
"name": "ticketspice_get_form_inventory",
"title": "Get form inventory",
"description": "Inventory items of a form (limited-quantity items): path, name, sold and remaining quantity. GET /forms/{id}/inventory.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"form_id"
],
"properties": {
"form_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "TicketSpice form id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get form inventory",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List orders (one per checkout): order number, buyer billing name and address, form, total, currency and status, newest or oldest first. Filter by event (form), status, buyer email, customer id, order number or dates. GET /search/orders.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Sort by id: asc or desc (the vendor default applies when omitted). |
| string | Only orders placed with this email address. | |
| limit | integer | Results per page, 1-50 (default 25). |
| status | string | Order status string as the vendor returns it (for example "completed" or "active"). |
| form_id | integer | Only orders of this form. |
| customer_id | integer | Only orders of this customer (buyer) id. |
| order_number | string | Only the order with this order number. |
| created_after | string | Only records created after this time. |
| updated_after | string | Only records updated after this time. |
| created_before | string |
One order by id with the buyer's billing details, event, totals and status. Set include_tickets to embed the order's tickets and include_transactions its payments (charges and refunds). GET /search/orders/{id}.
| Parameter | Type | Description |
|---|---|---|
| order_id * | integer | TicketSpice order id (from ticketspice_list_orders). |
| include_tickets | boolean | Also return the order's tickets. |
| include_transactions | boolean | Also return the order's transactions. |
{
"name": "ticketspice_get_order",
"title": "Get order",
"description": "One order by id with the buyer's billing details, event, totals and status. Set include_tickets to embed the order's tickets and include_transactions its payments (charges and refunds). GET /search/orders/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"order_id"
],
"properties": {
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "TicketSpice order id (from ticketspice_list_orders).",
"exclusiveMinimum": 0
},
"include_tickets": {
"type": "boolean",
"description": "Also return the order's tickets."
},
"include_transactions": {
"type": "boolean",
"description": "Also return the order's transactions."
}
}
},
"annotations": {
"title": "Get order",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List payment transactions (money movements): amount, currency, type (charge, refund, voucher), payment method, masked card, status, form and buyer email. Filter by type, method, form, order, donor or dates. GET /search/transactions.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Sort by id: asc or desc (the vendor default applies when omitted). |
| type | string | Transaction type. |
| string | Only transactions of orders placed with this email. | |
| limit | integer | Results per page, 1-50 (default 25). |
| status | string | Transaction status string as the vendor returns it (for example "completed" or "active"). |
| form_id | integer | Only transactions of this form. |
| order_id | integer | Only transactions of this order id. |
| reference | string | Only the transaction with this payment reference (txReference). |
| customer_id | integer | Only transactions of this customer (buyer) id. |
| order_number | string |
One transaction by id: amounts, type, payment method, masked card, gateway message and status. GET /search/transactions/{id}.
| Parameter | Type | Description |
|---|---|---|
| transaction_id * | integer | TicketSpice transaction id (from ticketspice_list_transactions). |
{
"name": "ticketspice_get_transaction",
"title": "Get transaction",
"description": "One transaction by id: amounts, type, payment method, masked card, gateway message and status. GET /search/transactions/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"transaction_id"
],
"properties": {
"transaction_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "TicketSpice transaction id (from ticketspice_list_transactions).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get transaction",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List sold tickets (one record per ticket): id, buyer billing name, event, ticket level, amount, fee, total, status, scan count and last scan time, event date. Filter by event (form), status, order, buyer email, customer id or dates. Use it for attendee lists and check-in status. GET /search/tickets.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Sort by id: asc or desc (the vendor default applies when omitted). |
| string | Only tickets of orders placed with this email address. | |
| limit | integer | Results per page, 1-50 (default 25). |
| status | string | Ticket status string as the vendor returns it (for example "completed" or "active"). |
| form_id | integer | Only tickets of this event (form) id. |
| order_id | integer | Only tickets of this order id. |
| customer_id | integer | Only tickets of this customer id. |
| order_number | string | Only tickets of this order number. |
| created_after | string | Only records created after this time. |
| updated_after |
One ticket by id: buyer, event, level, amount, fee, total, status, scan count, last scan time and the buyer's form answers. GET /search/tickets/{id}.
| Parameter | Type | Description |
|---|---|---|
| ticket_id * | integer | TicketSpice ticket id (from ticketspice_list_tickets). |
{
"name": "ticketspice_get_ticket",
"title": "Get ticket",
"description": "One ticket by id: buyer, event, level, amount, fee, total, status, scan count, last scan time and the buyer's form answers. GET /search/tickets/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_id"
],
"properties": {
"ticket_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "TicketSpice ticket id (from ticketspice_list_tickets).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get ticket",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List customer records (buyers): id, email, billing name and address, total spent, created and updated dates. Filter by email or dates. New customers can take up to 5 minutes to appear. GET /search/customers.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Sort by id: asc or desc (the vendor default applies when omitted). |
| string | Only the customer with this email address. | |
| limit | integer | Results per page, 1-50 (default 25). |
| created_after | string | Only records created after this time. |
| updated_after | string | Only records updated after this time. |
| created_before | string | Only records created before this time. |
| starting_after | integer | Cursor: pass the previous reply's next_starting_after to get the next page. |
| updated_before | string | Only records updated before this time. |
{
"name": "ticketspice_list_customers",
"title": "List customers",
"description": "List customer records (buyers): id, email, billing name and address, total spent, created and updated dates. Filter by email or dates. New customers can take up to 5 minutes to appear. GET /search/customers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by id: asc or desc (the vendor default applies when omitted)."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3,
"description": "Only the customer with this email address."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (default 25)."
},
"created_after": {
"type": "string",
"description": "Only records created after this time."
},
"updated_after": {
"type": "string",
"description": "Only records updated after this time."
},
"created_before": {
"type": "string",
"description": "Only records created before this time."
},
"starting_after": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Cursor: pass the previous reply's next_starting_after to get the next page.",
"exclusiveMinimum": 0
},
"updated_before": {
"type": "string",
"description": "Only records updated before this time."
}
}
},
"annotations": {
"title": "List customers",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One customer record by id: email, billing details and total of the customer's transactions. GET /search/customers/{id}.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | integer | TicketSpice customer id (from ticketspice_list_customers, or an order's customerId). |
{
"name": "ticketspice_get_customer",
"title": "Get customer",
"description": "One customer record by id: email, billing details and total of the customer's transactions. GET /search/customers/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "TicketSpice customer id (from ticketspice_list_customers, or an order's customerId).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get customer",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List TicketSpice coupons: account-wide ones, or only those of one form when form_id is given. Shows discounts, codes, availability, redeemed count and expiry. GET /coupons/global or /coupons/forms/{id}.
| Parameter | Type | Description |
|---|---|---|
| code | string | Only global coupons with this code (ignored with form_id). |
| sort | string | Sort by id: asc or desc (the vendor default applies when omitted). |
| limit | integer | Results per page, 1-50 (default 25). |
| form_id | integer | Only coupons of this form; omit for the account-wide (global) coupons. |
| starting_after | integer | Cursor: pass the previous reply's next_starting_after to get the next page. |
{
"name": "ticketspice_list_coupons",
"title": "List coupons",
"description": "List TicketSpice coupons: account-wide ones, or only those of one form when form_id is given. Shows discounts, codes, availability, redeemed count and expiry. GET /coupons/global or /coupons/forms/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Only global coupons with this code (ignored with form_id)."
},
"sort": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by id: asc or desc (the vendor default applies when omitted)."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (default 25)."
},
"form_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only coupons of this form; omit for the account-wide (global) coupons.",
"exclusiveMinimum": 0
},
"starting_after": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Cursor: pass the previous reply's next_starting_after to get the next page.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List coupons",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One coupon by id with its discounts, codes, availability and redeemed counts. GET /coupons/{id}.
| Parameter | Type | Description |
|---|---|---|
| coupon_id * | integer | TicketSpice coupon id (from ticketspice_list_coupons). |
{
"name": "ticketspice_get_coupon",
"title": "Get coupon",
"description": "One coupon by id with its discounts, codes, availability and redeemed counts. GET /coupons/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"coupon_id"
],
"properties": {
"coupon_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "TicketSpice coupon id (from ticketspice_list_coupons).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get coupon",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: create a discount coupon in the live TicketSpice account (it can be redeemed by ticket buyers right away). One discount (fixed amount or percent) and one or more codes; optionally limited to one form, to a number of uses, and to an expiry date. Not idempotent: calling it twice creates two coupons. POST /coupons.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Internal coupon name. |
| codes * | array | One or more redeemable codes. |
| expires | string | When the coupon expires; omit for no expiry. |
| form_id | integer | Restrict the coupon to this form; omit for all forms. |
| currency | string | Currency code, default USD. |
| available | integer | How many times the coupon can be used; -1 = unlimited (default). |
| per_ticket | boolean | Apply the discount to each ticket instead of once per order (default false). |
| discount_type * | string | fixed (a currency amount) or percent. |
| discount_value * | number | Discount amount: currency units for a fixed discount, percent (1-100) for a percent discount. |
WRITE: permanently delete a coupon from the live TicketSpice account; its codes stop working immediately and this cannot be undone. Show the coupon (ticketspice_get_coupon) and get the user's approval first, then call with confirm: true. GET /coupons/{id}, then DELETE /coupons/{id}.
| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true: the user approved permanently deleting this coupon. |
| coupon_id * | integer | TicketSpice coupon id to delete. |
{
"name": "ticketspice_delete_coupon",
"title": "Delete coupon",
"description": "WRITE: permanently delete a coupon from the live TicketSpice account; its codes stop working immediately and this cannot be undone. Show the coupon (ticketspice_get_coupon) and get the user's approval first, then call with confirm: true. GET /coupons/{id}, then DELETE /coupons/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"coupon_id",
"confirm"
],
"properties": {
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true: the user approved permanently deleting this coupon."
},
"coupon_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "TicketSpice coupon id to delete.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Delete coupon",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Tools for TicketSpice, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "How many tickets did we sell for the fall concert this week, and what revenue is that?"; "Show the attendee list for my event with check-in (scan) status."; "Find all orders and tickets bought with jane@example.com.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes TicketSpice data. Free plan: 50 tool calls per month. Run ticketspice_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run ticketspice_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run ticketspice_upgrade without a plan: it returns both plans, each with a payment link for the user to open. ticketspice_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| Only records created before this time. |
| starting_after | integer | Cursor: pass the previous reply's next_starting_after to get the next page. |
| updated_before | string | Only records updated before this time. |
{
"name": "ticketspice_list_orders",
"title": "List orders",
"description": "List orders (one per checkout): order number, buyer billing name and address, form, total, currency and status, newest or oldest first. Filter by event (form), status, buyer email, customer id, order number or dates. GET /search/orders.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by id: asc or desc (the vendor default applies when omitted)."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3,
"description": "Only orders placed with this email address."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (default 25)."
},
"status": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Order status string as the vendor returns it (for example \"completed\" or \"active\")."
},
"form_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only orders of this form.",
"exclusiveMinimum": 0
},
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only orders of this customer (buyer) id.",
"exclusiveMinimum": 0
},
"order_number": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Only the order with this order number."
},
"created_after": {
"type": "string",
"description": "Only records created after this time."
},
"updated_after": {
"type": "string",
"description": "Only records updated after this time."
},
"created_before": {
"type": "string",
"description": "Only records created before this time."
},
"starting_after": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Cursor: pass the previous reply's next_starting_after to get the next page.",
"exclusiveMinimum": 0
},
"updated_before": {
"type": "string",
"description": "Only records updated before this time."
}
}
},
"annotations": {
"title": "List orders",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| Only transactions of this order number. |
| created_after | string | Only records created after this time. |
| updated_after | string | Only records updated after this time. |
| created_before | string | Only records created before this time. |
| payment_method | string | Payment method. |
| starting_after | integer | Cursor: pass the previous reply's next_starting_after to get the next page. |
| updated_before | string | Only records updated before this time. |
{
"name": "ticketspice_list_transactions",
"title": "List transactions",
"description": "List payment transactions (money movements): amount, currency, type (charge, refund, voucher), payment method, masked card, status, form and buyer email. Filter by type, method, form, order, donor or dates. GET /search/transactions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by id: asc or desc (the vendor default applies when omitted)."
},
"type": {
"enum": [
"charge",
"refund",
"voucher",
"cash",
"preauth",
"chargeback"
],
"type": "string",
"description": "Transaction type."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3,
"description": "Only transactions of orders placed with this email."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (default 25)."
},
"status": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Transaction status string as the vendor returns it (for example \"completed\" or \"active\")."
},
"form_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only transactions of this form.",
"exclusiveMinimum": 0
},
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only transactions of this order id.",
"exclusiveMinimum": 0
},
"reference": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Only the transaction with this payment reference (txReference)."
},
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only transactions of this customer (buyer) id.",
"exclusiveMinimum": 0
},
"order_number": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Only transactions of this order number."
},
"created_after": {
"type": "string",
"description": "Only records created after this time."
},
"updated_after": {
"type": "string",
"description": "Only records updated after this time."
},
"created_before": {
"type": "string",
"description": "Only records created before this time."
},
"payment_method": {
"enum": [
"card",
"check",
"offline"
],
"type": "string",
"description": "Payment method."
},
"starting_after": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Cursor: pass the previous reply's next_starting_after to get the next page.",
"exclusiveMinimum": 0
},
"updated_before": {
"type": "string",
"description": "Only records updated before this time."
}
}
},
"annotations": {
"title": "List transactions",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}| string |
| Only records updated after this time. |
| created_before | string | Only records created before this time. |
| starting_after | integer | Cursor: pass the previous reply's next_starting_after to get the next page. |
| updated_before | string | Only records updated before this time. |
| order_display_id | string | Only tickets of the order with this customer-facing order display id. |
{
"name": "ticketspice_list_tickets",
"title": "List tickets",
"description": "List sold tickets (one record per ticket): id, buyer billing name, event, ticket level, amount, fee, total, status, scan count and last scan time, event date. Filter by event (form), status, order, buyer email, customer id or dates. Use it for attendee lists and check-in status. GET /search/tickets.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by id: asc or desc (the vendor default applies when omitted)."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3,
"description": "Only tickets of orders placed with this email address."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (default 25)."
},
"status": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Ticket status string as the vendor returns it (for example \"completed\" or \"active\")."
},
"form_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only tickets of this event (form) id.",
"exclusiveMinimum": 0
},
"order_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only tickets of this order id.",
"exclusiveMinimum": 0
},
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only tickets of this customer id.",
"exclusiveMinimum": 0
},
"order_number": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Only tickets of this order number."
},
"created_after": {
"type": "string",
"description": "Only records created after this time."
},
"updated_after": {
"type": "string",
"description": "Only records updated after this time."
},
"created_before": {
"type": "string",
"description": "Only records created before this time."
},
"starting_after": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Cursor: pass the previous reply's next_starting_after to get the next page.",
"exclusiveMinimum": 0
},
"updated_before": {
"type": "string",
"description": "Only records updated before this time."
},
"order_display_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Only tickets of the order with this customer-facing order display id."
}
}
},
"annotations": {
"title": "List tickets",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}{
"name": "ticketspice_create_coupon",
"title": "Create coupon",
"description": "WRITE: create a discount coupon in the live TicketSpice account (it can be redeemed by ticket buyers right away). One discount (fixed amount or percent) and one or more codes; optionally limited to one form, to a number of uses, and to an expiry date. Not idempotent: calling it twice creates two coupons. POST /coupons.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"codes",
"discount_value",
"discount_type"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Internal coupon name."
},
"codes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 20,
"minItems": 1,
"description": "One or more redeemable codes."
},
"expires": {
"type": "string",
"description": "When the coupon expires; omit for no expiry."
},
"form_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Restrict the coupon to this form; omit for all forms.",
"exclusiveMinimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "Currency code, default USD."
},
"available": {
"type": "integer",
"maximum": 1000000,
"minimum": -1,
"description": "How many times the coupon can be used; -1 = unlimited (default)."
},
"per_ticket": {
"type": "boolean",
"description": "Apply the discount to each ticket instead of once per order (default false)."
},
"discount_type": {
"enum": [
"fixed",
"percent"
],
"type": "string",
"description": "fixed (a currency amount) or percent."
},
"discount_value": {
"type": "number",
"maximum": 1000000,
"description": "Discount amount: currency units for a fixed discount, percent (1-100) for a percent discount.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Create coupon",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}