Seal Subscriptions MCP by usefulapi
v1.24.1Manage Seal Subscriptions on Shopify: subscriptions, billing attempts, items, discounts, rules.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sealsubscriptions_list_subscriptions List subscriptions
List or search the shop's subscriptions (up to 50 per page; pass next_cursor as cursor for the next page): status, customer, interval, total value, shipping address and card brand/last digits. Search by customer email, first or last name; filter by status; optionally include the items and the billing attempts of each. GET /subscriptions.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque next_cursor from the previous reply; omit for the first page. Keep the same filters. |
page | integer | Deprecated: only page 1 is accepted. For later pages use the returned next_cursor as cursor. |
query | string | Search text: customer email, first name or last name. |
status | string | Only subscriptions in this status (default: all). |
with_billing_attempts | boolean | Include each subscription's billing attempts (default false). |
with_items | boolean | Include each subscription's items (default false). |
sealsubscriptions_list_subscriptions_by_billing_date List subscriptions by billing date
Subscriptions that have at least one billing attempt scheduled between two UTC date-times: the way to see what will be charged tomorrow or this week. Each subscription carries a cursor; pass the last one's cursor as `cursor` to get the next page. GET /subscriptions-by-billing-date.
| Parameter | Type | Description |
|---|---|---|
from_datetime * | string | Start of the period in UTC, yyyy-mm-ddThh:mm:ss, e.g. 2030-12-24T00:00:00. |
to_datetime * | string | End of the period in UTC, yyyy-mm-ddThh:mm:ss, e.g. 2030-12-24T23:59:59. |
cursor | string | Cursor of the last subscription of the previous page. |
sealsubscriptions_get_subscription Get subscription
One subscription with everything Seal knows: customer, shipping and billing address, status, intervals, delivery method, items with discounts, billing attempts (with status and error messages), fulfillment orders, invoices, tags and the activity log. Private customer links are removed. GET /subscription?id=.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_list_subscription_rules List subscription rules
List the subscription rules (plans) of the shop: name, payment type, the products and variants they apply to and their selling plans. GET /subscription-rules.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1); 50 per page. Pass the previous reply's next_page. |
sealsubscriptions_get_subscription_rule Get subscription rule
One subscription rule by id, with its products, variants and selling plans. GET /subscription-rule?id=.
| Parameter | Type | Description |
|---|---|---|
rule_id * | integer | Subscription rule id (from sealsubscriptions_list_subscription_rules). |
sealsubscriptions_list_selling_plans List selling plans
Read a subscription rule's complete selling plans, including initial/fixed and recurring pricing policies, cycle thresholds, billing and delivery intervals. Returns Seal's original field names and values. Read only: Seal's public API does not support editing these policies or reading/creating/updating automated interval-change rules; configure those in the Seal app. Does not change existing contracts. GET /subscription-rule?id=.
| Parameter | Type | Description |
|---|---|---|
rule_id * | integer | Subscription rule id from sealsubscriptions_list_subscription_rules. |
sealsubscriptions_list_webhooks List webhooks
List the webhooks registered for this shop through the API (topic and address). GET /webhooks.
sealsubscriptions_pause_subscription Pause subscription
WRITE: Pause an active subscription: no further charges or shipments until it is resumed. Undo with sealsubscriptions_resume_subscription. PUT /subscription action=pause.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_resume_subscription Resume subscription
WRITE: Resume a paused subscription so charges and shipments continue on the schedule. PUT /subscription action=resume.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_reactivate_subscription Reactivate subscription
WRITE: Reactivate a cancelled subscription (the effect is the same as resume; use this for cancelled ones). Charges restart on the schedule, so the customer may be billed. PUT /subscription action=reactivate.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_cancel_customer_subscription Cancel subscription
WRITE: Cancel a subscription now: all future charges and shipments stop and the customer may get Seal's cancellation email. It can be brought back with sealsubscriptions_reactivate_subscription. For a later cancellation use sealsubscriptions_schedule_cancellation. PUT /subscription action=cancel.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_schedule_cancellation Schedule subscription cancellation
WRITE: Schedule the cancellation of a subscription for a future date and time (it stays active until then). PUT /subscription-schedule-cancellation.
| Parameter | Type | Description |
|---|---|---|
date * | string | Cancellation date, yyyy-mm-dd. |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
time * | string | Cancellation time, hh:mm (24-hour), in the given timezone. |
timezone * | string | UTC offset of the date and time, e.g. +00:00 or -04:00. |
sealsubscriptions_add_items Add items to subscription
WRITE: Add products to a subscription. Prices are in the subscription's currency and change what the customer pays on the next charge. An item with one_time=true is removed after the next renewal. PUT /subscription action=add_items.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_edit_items Edit subscription items
WRITE: Change existing items of a subscription: variant, quantity (> 0), price (>= 0), SKU, one-time flag, properties. Changes what the customer pays on the next charge. PUT /subscription action=edit_items.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_remove_items Remove items from subscription
WRITE: Remove items from a subscription by item id. The customer stops receiving and paying for them. PUT /subscription action=remove_items.
| Parameter | Type | Description |
|---|---|---|
item_ids * | array | |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_edit_subscription Edit subscription
WRITE: Edit a subscription's schedule and details: delivery and billing interval (a billing interval longer than the delivery interval makes it prepaid), min/max number of payments, note attributes (an empty list removes them), delivery method and price, and the shipping address. Only the fields you pass change. To change items use the item tools. PUT /subscription action=edit.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
automatically_update_product_prices | boolean | When switching between prepaid and not prepaid, reprice the items. |
billing_interval | string | Billing interval, e.g. "8 week". Longer than delivery_interval = prepaid. |
billing_max_cycles | integer | Maximum number of payments (0 = unlimited). |
billing_min_cycles | integer | Minimum number of payments. |
delivery_interval | string | Delivery interval, e.g. "4 week" or "1 month". |
delivery_method_code | string | |
delivery_method_presentment_title | string | |
delivery_method_title | string | |
delivery_price | number | |
note_attributes | array | Replaces all note attributes. |
s_address1 | string | |
s_address2 | string | |
s_city | string | |
s_company | string | |
s_country | string | |
s_country_code | string | |
s_first_name | string | |
s_last_name | string | |
s_phone | string | |
s_province | string | |
s_province_code | string | |
s_zip | string |
sealsubscriptions_reschedule_billing_attempt Reschedule billing attempt
WRITE: Move a billing attempt that has not been processed yet to another date and time. With reset_schedule=true the later attempts are rebuilt from the new date. PUT /subscription-billing-attempt action=reschedule.
| Parameter | Type | Description |
|---|---|---|
billing_attempt_id * | integer | Billing attempt id (billing_attempts[].id from sealsubscriptions_get_subscription). |
date * | string | New date, yyyy-mm-dd. |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
time * | string | New time, hh:mm (24-hour), in the given timezone. |
timezone * | string | UTC offset of the date and time, e.g. +00:00 or -04:00. |
reset_schedule | boolean | Rebuild the rest of the schedule after this attempt (default false). |
sealsubscriptions_skip_billing_attempt Skip billing attempt
WRITE: Skip one upcoming billing attempt so the customer is not charged for that cycle. Undo with sealsubscriptions_unskip_billing_attempt. PUT /subscription-billing-attempt action=skip.
| Parameter | Type | Description |
|---|---|---|
billing_attempt_id * | integer | Billing attempt id (billing_attempts[].id from sealsubscriptions_get_subscription). |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_unskip_billing_attempt Unskip billing attempt
WRITE: Bring back a skipped billing attempt, so it is charged on its date again. PUT /subscription-billing-attempt action=unskip.
| Parameter | Type | Description |
|---|---|---|
billing_attempt_id * | integer | Billing attempt id (billing_attempts[].id from sealsubscriptions_get_subscription). |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_delete_billing_attempt Delete billing attempt
WRITE: Delete a billing attempt that has not been processed. Seal keeps 65 days of attempts scheduled, so a deleted one is recreated within hours unless the schedule is moved first (see sealsubscriptions_reschedule_billing_attempt). DELETE /subscription-billing-attempt.
| Parameter | Type | Description |
|---|---|---|
billing_attempt_id * | integer | Billing attempt id (billing_attempts[].id from sealsubscriptions_get_subscription). |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_reschedule_fulfillment_order Reschedule fulfillment order
WRITE: Move a fulfillment order of a prepaid subscription to another date and time. PUT /subscription-fulfillment-order action=reschedule.
| Parameter | Type | Description |
|---|---|---|
date * | string | New date, yyyy-mm-dd. |
fulfillment_order_id * | integer | Fulfillment order id (fulfillment_orders[].id from sealsubscriptions_get_subscription). |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
time * | string | New time, hh:mm (24-hour), in the given timezone. |
timezone * | string | UTC offset of the date and time, e.g. +00:00 or -04:00. |
sealsubscriptions_create_charge_now Charge subscription now
WRITE: CHARGES THE CUSTOMER'S PAYMENT METHOD IMMEDIATELY for the next billing attempt of the subscription and creates a Shopify order; it does not wait for the scheduled date. Only call it when the user clearly asked for an immediate charge. With reset_schedule=true the later attempts are rebuilt from today. PUT /subscription-create-charge-now.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
reset_schedule | boolean | Rebuild the rest of the schedule after this charge (default false). |
sealsubscriptions_process_charge Process a specific charge
WRITE: CHARGES THE CUSTOMER'S PAYMENT METHOD NOW for one specific billing attempt (for example a failed or upcoming one) and creates a Shopify order. Only call it when the user clearly asked for that charge. PUT /subscription-process-charge.
| Parameter | Type | Description |
|---|---|---|
billing_attempt_id * | integer | Billing attempt id (billing_attempts[].id from sealsubscriptions_get_subscription). |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_apply_discount_code Apply discount code
WRITE: Apply a Shopify discount code to an auto-charging subscription (not to recurring-invoice subscriptions); it lowers what the customer pays on the next charges. PUT /subscription-discount-code action=apply.
| Parameter | Type | Description |
|---|---|---|
discount_code * | string | The discount code as the customer would type it. |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_remove_discount_code Remove discount code
WRITE: Remove a discount code from a subscription. Use the discount code id from the subscription's items[].discount_codes[].id (a uuid), not the code text. DELETE /subscription-discount-code.
| Parameter | Type | Description |
|---|---|---|
discount_code_id * | string | Discount code id (a uuid) from sealsubscriptions_get_subscription → items[].discount_codes[].id. |
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_send_payment_method_update_email Email customer to update payment method
WRITE: SENDS AN EMAIL TO THE CUSTOMER of the subscription with a link to update their payment method (for example after failed charges). Only call it when the user clearly asked to contact the customer. PUT /subscription action=send_payment_method_update_email.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | The subscription's `id` (not its `internal_id`). |
sealsubscriptions_edit_subscription_rule Edit subscription rule
WRITE: Edit a subscription rule: its name, the plan selector label (`options`, e.g. "Deliver every") and the products it applies to. Cannot edit selling-plan pricing, billing intervals or automated interval-change rules; use the Seal app for those settings. product_variants REPLACES all products and variants linked to the rule: to add some without removing the others use sealsubscriptions_append_rule_product_variants. PUT /subscription-rule.
| Parameter | Type | Description |
|---|---|---|
rule_id * | integer | Subscription rule id. |
name | string | |
options | string | Label for the plan selector, e.g. "Deliver every". |
product_variants | array | The complete new list of products/variants (replaces the current list; an empty list unlinks every product). |
sealsubscriptions_append_rule_product_variants Add products to subscription rule
WRITE: Add products or variants to a subscription rule without touching the ones already linked. PUT /subscription-rule/append-product-variants.
| Parameter | Type | Description |
|---|---|---|
product_variants * | array | Products/variants to add. |
rule_id * | integer | Subscription rule id. |