ProductContext
Retrieve a product context for the current user
Changed onRetrieve a product context for the current user
get/billing/v1/userProductContext/{applicationId}
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
applicationIdnumber required
id of the application
Response
OK
Example response
{
"assigned": true,
"editionId": 12345,
"freeTrialAllowed": true,
"freeTrialDaysLeft": 12345,
"maxUsers": 12345,
"numAssignedUsers": 12345,
"owner": {
"href": "...",
"id": "..."
},
"partOfExistingBundle": true,
"paymentPlan": {
"href": "...",
"id": "..."
},
"pendingEventType": "...",
"purchaseRestriction": [
{
"appId": 12345,
"appName": "...",
"browsedEditionId": 12345,
"ownedEditionId": 12345,
"ownedEditionName": "...",
"requiredAppEdition": [
{
"appId": 12345,
"appName": "...",
"editionId": 12345,
"editionName": "..."
},
{
"appId": 12345,
"appName": "...",
"editionId": 12345,
"editionName": "..."
}
],
"restrictionType": "...",
"upcomingSubscription": true
},
{
"appId": 12345,
"appName": "...",
"browsedEditionId": 12345,
"ownedEditionId": 12345,
"ownedEditionName": "...",
"requiredAppEdition": [
{
"appId": 12345,
"appName": "...",
"editionId": 12345,
"editionName": "..."
},
{
"appId": 12345,
"appName": "...",
"editionId": 12345,
"editionName": "..."
}
],
"restrictionType": "...",
"upcomingSubscription": true
}
],
"status": "...",
"subscription": {
"href": "...",
"id": "..."
}
}Changes
- info
endpoint added
- info