get_active_subscription
Retrieves a shop's active subscription for a specified app using Shopify managed pricing, so you can verify current billing status.
Instructions
Get a shop's active subscription for an app that uses Shopify managed pricing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appId": "<appId>",
"shopId": "<shopId>"
},
"name": "get_active_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | App ID: the number or a gid:// ID | |
| shopId | Yes | Shop ID: the number or a gid:// ID |