Foxy.io MCP by usefulapi

v1.41.1
io.usefulapi/foxyio Checked 3 days ago Published 2 days ago

Read Foxy transactions, subscriptions, customers, carts and coupons; update customers and subs.

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

foxy_get_api_home Get API home

Get the Foxy hAPI home document — its _links / rels (including fx:store for the authenticated default store). Useful for HAL discovery. Foxy hAPI: GET /.

foxy_get_default_store Get default store

Resolve and return the authenticated user's default store (and its id) by fetching the API home and following the fx:store link. Use this to discover the store_id the list tools accept. Foxy hAPI: GET / then GET fx:store.

foxy_get_store Get store

Get a single store resource by id, including its settings and _links to sub-collections. Foxy hAPI: GET /stores/{store_id}.

ParameterTypeDescription
store_id *Store id (get it from foxy_get_default_store).

foxy_list_transactions List transactions

List a store's transactions (orders), newest first. Returns a HAL collection embedding fx:transactions. Foxy hAPI: GET /stores/{store_id}/transactions.

ParameterTypeDescription
customer_emailstringFilter by the transaction's customer email.
is_testbooleanFilter to test (true) or live (false) transactions.
limitintegerMax results per page (Foxy default 20).
offsetintegerPagination offset.
orderstringSort expression, e.g. 'transaction_date desc'.
store_idStore id. If omitted, the default store (fx:store) is used.
zoomstringComma-separated related resources to embed, e.g. 'items,customer,payments'.

foxy_get_transaction Get transaction

Get a single transaction by id, optionally zooming related resources (items, customer, payments, applied_taxes…). Foxy hAPI: GET /transactions/{id}.

ParameterTypeDescription
id *Transaction id.
zoomstringComma-separated related resources to embed, e.g. 'items,customer'.

foxy_list_subscriptions List subscriptions

List a store's subscriptions (recurring orders). Returns a HAL collection embedding fx:subscriptions. Foxy hAPI: GET /stores/{store_id}/subscriptions.

ParameterTypeDescription
is_activebooleanFilter to active (true) or inactive (false) subscriptions.
limitintegerMax results per page (Foxy default 20).
offsetintegerPagination offset.
store_idStore id. If omitted, the default store (fx:store) is used.
zoomstringComma-separated related resources to embed, e.g. 'transaction_template,last_transaction'.

foxy_get_subscription Get subscription

Get a single subscription by id, optionally zooming related resources. Foxy hAPI: GET /subscriptions/{id}.

ParameterTypeDescription
id *Subscription id.
zoomstringComma-separated related resources to embed, e.g. 'transaction_template,original_transaction'.

foxy_list_customers List customers

List a store's customers. Returns a HAL collection embedding fx:customers. Foxy hAPI: GET /stores/{store_id}/customers.

ParameterTypeDescription
emailstringFilter by exact customer email.
limitintegerMax results per page (Foxy default 20).
offsetintegerPagination offset.
store_idStore id. If omitted, the default store (fx:store) is used.

foxy_get_customer Get customer

Get a single customer by id, optionally zooming related resources (default_billing_address, subscriptions…). Foxy hAPI: GET /customers/{id}.

ParameterTypeDescription
id *Customer id.
zoomstringComma-separated related resources to embed.

foxy_list_carts List carts

List a store's carts (in-progress / abandoned checkouts). Returns a HAL collection embedding fx:carts. Foxy hAPI: GET /stores/{store_id}/carts.

ParameterTypeDescription
limitintegerMax results per page (Foxy default 20).
offsetintegerPagination offset.
store_idStore id. If omitted, the default store (fx:store) is used.
zoomstringComma-separated related resources to embed, e.g. 'items,customer'.

foxy_list_coupons List coupons

List a store's coupons (discount codes and their rules). Returns a HAL collection embedding fx:coupons. Foxy hAPI: GET /stores/{store_id}/coupons.

ParameterTypeDescription
limitintegerMax results per page (Foxy default 20).
offsetintegerPagination offset.
store_idStore id. If omitted, the default store (fx:store) is used.
zoomstringComma-separated related resources to embed, e.g. 'coupon_codes'.

foxy_list_items List transaction items

List the line items of a transaction (the products purchased). Returns a HAL collection embedding fx:items. Foxy hAPI: GET /transactions/{transaction_id}/items.

ParameterTypeDescription
transaction_id *Transaction id whose line items to list.
limitintegerMax results per page (Foxy default 20).
offsetintegerPagination offset.
zoomstringComma-separated related resources to embed, e.g. 'item_options'.

foxy_update_customer Update customer

UPDATES a customer's profile fields (first_name, last_name, email). This MODIFIES live store data. Foxy hAPI: PATCH /customers/{id}. Provide only the fields you want to change.

ParameterTypeDescription
id *Customer id to update.
emailstringNew email address.
first_namestringNew first name.
last_namestringNew last name.

foxy_update_subscription Update subscription

UPDATES a subscription — reschedule its next run (next_transaction_date), change its frequency, or activate/pause it (is_active). This MODIFIES live store data and affects future billing. Foxy hAPI: PATCH /subscriptions/{id}. Provide only the fields you want to change.

ParameterTypeDescription
id *Subscription id to update.
frequencystringBilling frequency, e.g. '1m' (monthly), '2w' (2 weeks), '1y' (yearly).
is_activebooleanSet true to activate or false to pause the subscription.
next_transaction_datestringNext run date, YYYY-MM-DD (reschedules the subscription).