Subscription

APIs related to Limio Subscriptions

Get subscriptions by Salesforce ID

get

This API can be used to see all of the subscriptions that are attached to a specified Salesforce ID.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

To create a Bearer token, see How to get an OAuth Bearer Token?.

Usage format: Bearer <token>

Path parameters
idstringRequired

The Salesforce Identity

Query parameters
queryMorestringOptional

A hash returned from a call to the API that can be used to retrieve the next page of results.

Responses
get
/objects/salesforce/identities/{id}/subscriptions

Add a Timeline Event

post

Currently supported for subscriptions. To create a custom Event and attach it to that specified Object’s Timeline.

Authorizations
AuthorizationstringRequired

To create a Bearer token, see How to get an OAuth Bearer Token?.

Usage format: Bearer <token>

Body
forSubscriptionone ofRequired

Subscription to add the event for

or
namestringRequired

Event name

Example: Order Received
typestringRequired

Domain/type of event

Example: order.event_received
sourcestringOptional

Source of the event e.g. system, user, webhook

Example: webhook
Responses
post
/timeline/subscription

Get Subscription Timeline

get

Retrieves timeline data for a given subscription or customer by ID. This API aggregates relevant events, payment methods, addresses, offers, and schedules to create a chronological activity history.

  • For subscriptions path parameter: Returns timeline for that specific subscription

  • For customers path parameter: Returns timeline for all subscriptions owned by that customer

Authorizations
AuthorizationstringRequired

To create a Bearer token, see How to get an OAuth Bearer Token?.

Usage format: Bearer <token>

Path parameters
path_typestring · enum · max: 20Required

The type of entity to retrieve timeline for

Example: subscriptionsPossible values:
idstring · max: 60Required

The unique identifier of the subscription or customer

Example: sub-fdb5ff44f3513733c91869c43fdd37ba0
Responses
get
/timeline/{path_type}/{id}

Last updated

Was this helpful?