Foxy.io MCP by usefulapi
v1.41.1Read 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}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
customer_email | string | Filter by the transaction's customer email. |
is_test | boolean | Filter to test (true) or live (false) transactions. |
limit | integer | Max results per page (Foxy default 20). |
offset | integer | Pagination offset. |
order | string | Sort expression, e.g. 'transaction_date desc'. |
store_id | Store id. If omitted, the default store (fx:store) is used. | |
zoom | string | Comma-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}.
| Parameter | Type | Description |
|---|---|---|
id * | Transaction id. | |
zoom | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
is_active | boolean | Filter to active (true) or inactive (false) subscriptions. |
limit | integer | Max results per page (Foxy default 20). |
offset | integer | Pagination offset. |
store_id | Store id. If omitted, the default store (fx:store) is used. | |
zoom | string | Comma-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}.
| Parameter | Type | Description |
|---|---|---|
id * | Subscription id. | |
zoom | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
email | string | Filter by exact customer email. |
limit | integer | Max results per page (Foxy default 20). |
offset | integer | Pagination offset. |
store_id | Store 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}.
| Parameter | Type | Description |
|---|---|---|
id * | Customer id. | |
zoom | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results per page (Foxy default 20). |
offset | integer | Pagination offset. |
store_id | Store id. If omitted, the default store (fx:store) is used. | |
zoom | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results per page (Foxy default 20). |
offset | integer | Pagination offset. |
store_id | Store id. If omitted, the default store (fx:store) is used. | |
zoom | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
transaction_id * | Transaction id whose line items to list. | |
limit | integer | Max results per page (Foxy default 20). |
offset | integer | Pagination offset. |
zoom | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
id * | Customer id to update. | |
email | string | New email address. |
first_name | string | New first name. |
last_name | string | New 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.
| Parameter | Type | Description |
|---|---|---|
id * | Subscription id to update. | |
frequency | string | Billing frequency, e.g. '1m' (monthly), '2w' (2 weeks), '1y' (yearly). |
is_active | boolean | Set true to activate or false to pause the subscription. |
next_transaction_date | string | Next run date, YYYY-MM-DD (reschedules the subscription). |