TicketSpice MCP by usefulapi

v1.17.1
io.usefulapi/ticketspice Checked 2 days ago Published 1 day ago

Read TicketSpice forms, orders, tickets, customers, coupons; create or delete coupons.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ticketspice_list_forms List events

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.

ParameterTypeDescription
created_afterstringOnly records created after this time.
created_beforestringOnly records created before this time.
limitintegerResults per page, 1-50 (default 25).
sortstringSort by id: asc or desc (the vendor default applies when omitted).
starting_afterintegerCursor: pass the previous reply's next_starting_after to get the next page.
updated_afterstringOnly records updated after this time.
updated_beforestringOnly records updated before this time.

ticketspice_get_form Get event

One form by id: name, status, accounting reference, time zone and its field layout. GET /forms/{id}.

ParameterTypeDescription
form_id *integerTicketSpice form id (from ticketspice_list_forms).

ticketspice_get_form_inventory Get form inventory

Inventory items of a form (limited-quantity items): path, name, sold and remaining quantity. GET /forms/{id}/inventory.

ParameterTypeDescription
form_id *integerTicketSpice form id.

ticketspice_list_orders List orders

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.

ParameterTypeDescription
created_afterstringOnly records created after this time.
created_beforestringOnly records created before this time.
customer_idintegerOnly orders of this customer (buyer) id.
emailstringOnly orders placed with this email address.
form_idintegerOnly orders of this form.
limitintegerResults per page, 1-50 (default 25).
order_numberstringOnly the order with this order number.
sortstringSort by id: asc or desc (the vendor default applies when omitted).
starting_afterintegerCursor: pass the previous reply's next_starting_after to get the next page.
statusstringOrder status string as the vendor returns it (for example "completed" or "active").
updated_afterstringOnly records updated after this time.
updated_beforestringOnly records updated before this time.

ticketspice_get_order Get order

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}.

ParameterTypeDescription
order_id *integerTicketSpice order id (from ticketspice_list_orders).
include_ticketsbooleanAlso return the order's tickets.
include_transactionsbooleanAlso return the order's transactions.

ticketspice_list_transactions List transactions

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.

ParameterTypeDescription
created_afterstringOnly records created after this time.
created_beforestringOnly records created before this time.
customer_idintegerOnly transactions of this customer (buyer) id.
emailstringOnly transactions of orders placed with this email.
form_idintegerOnly transactions of this form.
limitintegerResults per page, 1-50 (default 25).
order_idintegerOnly transactions of this order id.
order_numberstringOnly transactions of this order number.
payment_methodstringPayment method.
referencestringOnly the transaction with this payment reference (txReference).
sortstringSort by id: asc or desc (the vendor default applies when omitted).
starting_afterintegerCursor: pass the previous reply's next_starting_after to get the next page.
statusstringTransaction status string as the vendor returns it (for example "completed" or "active").
typestringTransaction type.
updated_afterstringOnly records updated after this time.
updated_beforestringOnly records updated before this time.

ticketspice_get_transaction Get transaction

One transaction by id: amounts, type, payment method, masked card, gateway message and status. GET /search/transactions/{id}.

ParameterTypeDescription
transaction_id *integerTicketSpice transaction id (from ticketspice_list_transactions).

ticketspice_list_tickets List tickets

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.

ParameterTypeDescription
created_afterstringOnly records created after this time.
created_beforestringOnly records created before this time.
customer_idintegerOnly tickets of this customer id.
emailstringOnly tickets of orders placed with this email address.
form_idintegerOnly tickets of this event (form) id.
limitintegerResults per page, 1-50 (default 25).
order_display_idstringOnly tickets of the order with this customer-facing order display id.
order_idintegerOnly tickets of this order id.
order_numberstringOnly tickets of this order number.
sortstringSort by id: asc or desc (the vendor default applies when omitted).
starting_afterintegerCursor: pass the previous reply's next_starting_after to get the next page.
statusstringTicket status string as the vendor returns it (for example "completed" or "active").
updated_afterstringOnly records updated after this time.
updated_beforestringOnly records updated before this time.

ticketspice_get_ticket Get ticket

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}.

ParameterTypeDescription
ticket_id *integerTicketSpice ticket id (from ticketspice_list_tickets).

ticketspice_list_customers List customers

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.

ParameterTypeDescription
created_afterstringOnly records created after this time.
created_beforestringOnly records created before this time.
emailstringOnly the customer with this email address.
limitintegerResults per page, 1-50 (default 25).
sortstringSort by id: asc or desc (the vendor default applies when omitted).
starting_afterintegerCursor: pass the previous reply's next_starting_after to get the next page.
updated_afterstringOnly records updated after this time.
updated_beforestringOnly records updated before this time.

ticketspice_get_customer Get customer

One customer record by id: email, billing details and total of the customer's transactions. GET /search/customers/{id}.

ParameterTypeDescription
customer_id *integerTicketSpice customer id (from ticketspice_list_customers, or an order's customerId).

ticketspice_list_coupons List coupons

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}.

ParameterTypeDescription
codestringOnly global coupons with this code (ignored with form_id).
form_idintegerOnly coupons of this form; omit for the account-wide (global) coupons.
limitintegerResults per page, 1-50 (default 25).
sortstringSort by id: asc or desc (the vendor default applies when omitted).
starting_afterintegerCursor: pass the previous reply's next_starting_after to get the next page.

ticketspice_get_coupon Get coupon

One coupon by id with its discounts, codes, availability and redeemed counts. GET /coupons/{id}.

ParameterTypeDescription
coupon_id *integerTicketSpice coupon id (from ticketspice_list_coupons).

ticketspice_create_coupon Create coupon

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.

ParameterTypeDescription
codes *arrayOne or more redeemable codes.
discount_type *stringfixed (a currency amount) or percent.
discount_value *numberDiscount amount: currency units for a fixed discount, percent (1-100) for a percent discount.
name *stringInternal coupon name.
availableintegerHow many times the coupon can be used; -1 = unlimited (default).
currencystringCurrency code, default USD.
expiresstringWhen the coupon expires; omit for no expiry.
form_idintegerRestrict the coupon to this form; omit for all forms.
per_ticketbooleanApply the discount to each ticket instead of once per order (default false).

ticketspice_delete_coupon Delete coupon

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}.

ParameterTypeDescription
confirm *booleanMust be true: the user approved permanently deleting this coupon.
coupon_id *integerTicketSpice coupon id to delete.