Appstle MCP by usefulapi

v1.2.0
io.usefulapi/appstle Checked 1 day ago Published 12 hours ago

Read subscriptions, orders and groups; skip orders, move billing dates, pause or cancel in Appstle.

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

appstle_list_subscription_contracts List subscription contracts

List the store's subscription contracts with optional filters: status (ACTIVE, PAUSED, CANCELLED, EXPIRED, FAILED), customer name, order name, next billing date window, product or variant. Paged (page from 0, size up to 50). GET /subscription-contract-details.

ParameterTypeDescription
customer_namestring
next_billing_fromstringISO 8601 date-time: next billing on or after this time.
next_billing_tostringISO 8601 date-time: next billing on or before this time.
order_namestringShopify order name, for example #1001.
pageintegerPage number, starting at 0.
product_idinteger
sizeintegerItems per page, 1 to 50.
statusstring
variant_idinteger

appstle_get_contract_analytics Get contract analytics

Revenue and cycle metrics for one subscription contract. GET /subscription-contract-details/analytics/{contractId}.

ParameterTypeDescription
contract_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).

appstle_search_customers Search customers with subscriptions

List customers who have subscriptions, filtered by name or email, optionally only customers with more than one active subscription. Paged (page from 0, size up to 50). GET /subscription-contract-details/customers.

ParameterTypeDescription
emailstring
more_than_one_activebooleanOnly customers with more than one active subscription.
namestring
pageintegerPage number, starting at 0.
sizeintegerItems per page, 1 to 50.

appstle_get_customer_subscriptions Get a customer's subscriptions

Detailed subscription information for one Shopify customer id. GET /subscription-customers-detail/valid/{customerId}.

ParameterTypeDescription
customer_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).

appstle_get_upcoming_orders Get upcoming orders

The next upcoming orders for a contract or a customer (give one of the two ids). GET /subscription-billing-attempts/top-orders.

ParameterTypeDescription
contract_idintegerNumeric Appstle id (for example the subscription contract id, 123456789).
customer_idintegerNumeric Appstle id (for example the subscription contract id, 123456789).

appstle_list_past_orders List past orders

Past billing attempts and orders for a contract or a customer (give one of the two ids). Paged (page from 0, size up to 50). GET /subscription-billing-attempts/past-orders.

ParameterTypeDescription
contract_idintegerNumeric Appstle id (for example the subscription contract id, 123456789).
customer_idintegerNumeric Appstle id (for example the subscription contract id, 123456789).
pageintegerPage number, starting at 0.
sizeintegerItems per page, 1 to 50.

appstle_list_subscription_groups List subscription groups

All subscription groups (selling plan groups) of the store, with their plans and product counts. GET /subscription-groups.

appstle_get_subscription_group Get a subscription group

One subscription group by id, with its plans and assigned products. GET /subscription-groups/{id}.

ParameterTypeDescription
group_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).

appstle_skip_next_order Skip the next order

Skip the next upcoming order of a subscription contract. Each call skips the order after that, so a repeat call is not safe to retry. Reversible with appstle_unskip_order. PUT /subscription-billing-attempts/skip-upcoming-order.

ParameterTypeDescription
contract_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).

appstle_unskip_order Unskip an order

Undo a skipped order (billing attempt id from appstle_get_upcoming_orders). PUT /subscription-billing-attempts/unskip-order/{id}.

ParameterTypeDescription
billing_attempt_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).
contract_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).

appstle_set_next_billing_date Set the next billing date

Move the next billing date of a subscription contract to a date-time (ISO 8601). Set reschedule_future_order to also move later orders. PUT /subscription-contracts-update-billing-date.

ParameterTypeDescription
contract_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).
next_billing_date *stringISO 8601 date-time, for example 2026-12-15T00:00:00Z.
reschedule_future_orderboolean

appstle_update_delivery_interval Change the delivery interval

Set how often a subscription contract delivers, for example every 2 MONTH. PUT /subscription-contracts-update-delivery-interval.

ParameterTypeDescription
contract_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).
interval *string
interval_count *integer

appstle_set_contract_status Pause or resume a subscription

Set a subscription contract to ACTIVE (resume) or PAUSED (pause). To cancel, use appstle_cancel_contract. PUT /subscription-contracts-update-status.

ParameterTypeDescription
contract_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).
status *string

appstle_cancel_contract Cancel a subscription

Cancel a subscription contract for good. Pending orders are cancelled and the plan's minimum billing cycles are enforced. Give an optional reason and note. DELETE /subscription-contracts/{id}.

ParameterTypeDescription
contract_id *integerNumeric Appstle id (for example the subscription contract id, 123456789).
feedbackstringShort cancellation reason.
notestringFree-text cancellation note.