latestOpenAPI 3.0.12026-08-101292701.1 MB
f21981db32be
Plans
Gets a Plan by ID
Retrieves the details of a Plan.
get/plans/{id}
Path parameters
idstring required
Plan identifier.
Response
OK.
Example response
{
"stateTransitions": {
"activated": "2018-04-25T20:36:00Z",
"discontinued": "2018-04-25T20:36:00Z",
"deactivated": "2018-04-25T20:36:00Z"
},
"updatedTime:": "2021-06-02T13:15:09.7347766Z",
"liveMode": true,
"id": "4a1a1fdd-2f7b-4a4e-92d2-2e843f06e82a",
"terms": "These are the terms...",
"contractBindingDays": 365,
"interval": "month",
"intervalCount": 1,
"name": "Wireless keyboards",
"reminderOffsetDays": 7,
"billingOptimization": true,
"billingOffsetDays": 4,
"collectionPeriodDays": 10,
"state": "active",
"metadata": {
"coupon": "iOS"
}
}