Retrieve Related Statuses

This call returns the status for entities related to the tracked item identified by its reference and product ID.

The statuses are returned as follows:

  • Subscription (one of 'Active','Draft','Cancelled','Provisioning','Expired','Migrated','StandingOrder', or 'Suspended')
  • Customer (one of 'Draft', 'Active', 'Hold', 'Suspended', or 'Cancelled')
  • Customer Accounting (one of 'Good', 'PoorStanding', or 'Collection')

If you are using tracked items to manage entitlements or licensees, this returned data may be useful to determine whether or not you permit the user access to the service.

URL Parameters

ReferenceStringThe unique identifier for this tracked item. This uniqueness is enforced by Fusebill across all tracked items for that product, not just tracked items on the given subscription product.Yes
ProductIdIntegerThe Fusebill generated ID that uniquely identifies a product.Yes
curl –X GET{Reference}&parentId={ProductId} \ 
-H "Content-Type: application/json" \ 
-H "Authorization: Basic {APIKey}"
//Setup API key 
string apiKey = "{APIKey}"; 
//Configure URI 
WebRequest request = WebRequest.Create("HTTPS://{Reference}&parentId={ProductId}"); 
//Add Content type 
request.ContentType = "application/json"; 
//Add Api key authorization 
request.Headers.Add(HttpRequestHeader.Authorization, "Basic "+apiKey); 
//Set request method 
request.Method = "GET"; 
//Add the json data to request 
using (var streamWriter = new StreamWriter(request.GetRequestStream())) 
//Perform the request 
var httpResponse = (HttpWebResponse)request.GetResponse(); 
//Record the response from our request 
var result = ""; 
using (var streamReader = new StreamReader(httpResponse.GetResponseStream())) 
  result = streamReader.ReadToEnd(); 
#Import library JSON 
import json 
#Import library Requests 
import requests 
#Pass in a dictionary to the Headers parameter 
headers = {'Authorization' : 'Basic {APIKey}', 'Content-Type' : 'application/json'} 
#Pass in your URI, and Headers 
r = requests.get('{Reference}&parentId={ProductId}', headers=headers) 
"subscriptionStatus": "Active", 
"customerStatus": "Active", 
"customerAccountingStatus": "PoorStanding", 
"uri": null