Retrieves a list of subscription order reactivations.
Retrieves a list of subscription order reactivations.
limit | integer [ 0 .. 1000 ] Limits the number of collection items to be returned. |
offset | integer [ 0 .. 1000 ] Specifies the starting point within the collection of items to be returned. |
filter | string Filters the collection items. This field requires a special format. Use For more information, see Using filter with collections. |
sort | Array of strings Sorts and orders the collection of items. To sort in descending order, prefix with |
// all parameters are optional const firstCollection = await api.subscriptionReactivations.getAll(); // alternatively you can specify one or more of them const params = {limit: 20, offset: 100, sort: '-createdTime'}; const secondCollection = await api.subscriptionReactivations.getAll(params); // access the collection items, each item is a Member secondCollection.items.forEach(subscription => console.log(subscription.fields.customerId));
200
List of subscription order reactivations retrieved.
401
Unauthorized access. Invalid credentials used.
403
Access forbidden.
[ { "id": "ord_rct_0YVJ62AF5XCFCA6EBFAAA3Z7E0", "subscriptionId": "sub_01HRF27SATGE4Z6PBJE6PD8328", "cancellationId": "ord_cnl_0YVJ5XVQM9CDP8248ZQX0RDMKV", "description": "string", "renewalTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { "href": "string", "rel": "self" } ] } ]