get_subscription
Fetch a FastSpring subscription by ID or reference, auto-checking modern and legacy platforms. Returns subscription details including status, customer, billing dates, and platform.
Instructions
Fetch a FastSpring subscription by its ID or reference number (e.g. VI8201014-6538-11102S). Accepts any identifier — the system checks both the current and legacy FastSpring platforms automatically. The response includes a 'platform' field ('modern' or 'legacy') that tells you which platform holds the record, and a 'data' field with the subscription details. Modern platform subscriptions include: id, status, product, customer, start/end dates, next charge date, and line items. Legacy platform subscriptions include: reference, status, customer, product name, quantity, next renewal date, and end date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes |