Subscriptions
Properties
idstringThe Rutter generated unique ID of the subscription.
platform_idstringThe platform specific ID of the subscription.
platform_customer_idstringnullableOptionalThe platform specific ID of the customer linked to the subscription.
iso_currency_codestringThe ISO 4217 currency code of the subscription.
statusenumStatus of subscription. Possible values are: active, in_trial, canceled, paused, unknown
itemsarrayOptionalAn array of subscription items linked to the subscription.
items attributescreated_atstringThe ISO 8601 timestamp that the subscription was created.
updated_atstringThe ISO 8601 timestamp that the subscription was last updated.
platform_dataobjectOptionalThe raw platform data corresponding to the Rutter object.
List Subscriptions
Request Parameters
access_tokenstringqueryRequiredThe access token of the connection.
cursorstringqueryOptionalUsed to paginate to the next batch of objects. Should be a copy of the next_cursor value from the previous response.
limitintegerqueryOptionalUsed to limit the number of returned objects. Defaults to 50.
expandenumqueryOptionalInclude platform specific data (includes additional fields not provided by the Rutter object).
created_at_maxintegerqueryOptionalUsed to filter objects with a created_at value less than or equal to the supplied value. Should be a Unix time in milliseconds.
created_at_minintegerqueryOptionalUsed to filter objects with a created_at value greater than or equal to the supplied value. Should be a Unix time in milliseconds.
updated_at_maxintegerqueryOptionalUsed to filter objects with a updated_at value less than or equal to the supplied value. Should be a Unix time in milliseconds.
updated_at_minintegerqueryOptionalUsed to filter objects with a updated_at value greater than or equal to the supplied value. Should be a Unix time in milliseconds.
force_fetchenumqueryOptionalUsed to force a response even if the underlying connection has not finished its initial sync.
Response Body
1{
2 "subscriptions": [
3 {
4 "id": "00000000-0000-0000-0000-000000000000",
5 "platform_id": "12345678",
6 "platform_customer_id": "12345678",
7 "iso_currency_code": "USD",
8 "status": "active",
9 "items": [
10 {
11 "platform_id": "12345678",
12 "interval": "month",
13 "interval_count": 1,
14 "quantity": 2,
15 "amount": 24.68,
16 "unit_amount": 12.34
17 }
18 ],
19 "created_at": "2023-01-02T02:34:56.000Z",
20 "updated_at": "2023-01-02T02:34:56.000Z"
21 }
22 ],
23 "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU=",
24 "connection": {
25 "id": "00000000-0000-0000-0000-000000000000",
26 "orgId": "00000000-0000-0000-0000-000000000000",
27 "platform": "SHOPIFY"
28 }
29}
Have questions?
Contact support for personalized guidance.