Get a subscription
Subscriptions
Get Subscription
Retrieves a specific subscription by ID.
GET
Get a subscription
Overview
Retrieve complete details for a single subscription, including full cost recovery metrics, lifecycle history, and payment information. This endpoint returns the most comprehensive view of a subscription.Common Use Cases
- Subscription Detail Page: Display complete subscription information
- Cost Recovery Analysis: Review profitability and breakeven analysis
- Lifecycle Tracking: View extension, upgrade, and replacement history
- Support Inquiries: Get full context during customer support
Cost Recovery Details
The response includes detailed profitability metrics:| Metric | Description |
|---|---|
acquisitionCost | What you paid for the asset |
listPrice | MSRP/retail price |
totalCollected | Total payments collected so far |
costRecoveryPercent | (Collected / Cost) × 100 |
breakevenMonth | Month when cost will be fully recovered |
monthsActive | How long subscription has been active |
monthsRemaining | Months until contract ends |
projectedTotalCollection | Expected total at contract end |
projectedMargin | Expected profit at contract end |
Lifecycle History
Subscriptions track all lifecycle events:Subscription Details
Key fields in the response:| Field | Description |
|---|---|
subscriptionId | Unique identifier |
status | Current status |
customerId | Customer ID |
orderId | Original order ID |
sku | Product variant SKU |
productName | Product display name |
serialNumber | Current asset serial number |
startDate | Contract start date |
endDate | Contract end date |
contractLength | Duration in months |
monthlyAmount | Monthly billing amount |
nextBillingDate | Next scheduled payment date |
billingGroupId | B2B billing group (if applicable) |
Example: Display Subscription Summary
Related Endpoints
- List Subscriptions - Browse all subscriptions
- Extend Subscription - Extend the contract
- Upgrade Subscription - Upgrade to new device
- Buyout Subscription - Convert to purchase
- Calculate Buyout - Get buyout price
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Path Parameters
The subscription ID
Response
Subscription details
Available options:
active, cancelled, ended_completed, ended_buyout, ended_upgrade, ended_early_return Available options:
variant, manual, order_override, estimated, unknown Available options:
variant, manual, order_override, list_price, unknown Available options:
profitable, recovering, at_risk, no_data