Get Objects

APIs related to retrieving Limio Objects

Get Object

These APIs allow you to retrieve specific objects in Limio. You can get a subscription, customer, order, identity, address, schedule, payment method, subscription offer, user entitlement, event or process event object. You can also get a list of objects of a specific type using the Get Objects API.

SecuritybearerAuth
Request
path Parameters
service
required
string
Default: "limio"

The service the object belongs to

Enum: "limio" "zuora" "salesforce"
path_type
required
string
Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" "promo_codes_v2" "events" "process"
id
required
string
Example: sub-abcxyz123456
Responses
200

OK

401

Unauthorized

502

Bad Gateway

get/objects/{service}/{path_type}/{id}
Request samples
Response samples
application/json
{
  • "name": "3V053CN9SFIG",
  • "start": "2024-03-22",
  • "data": {
    },
  • "status": "initial",
  • "record_type": "subscription",
  • "owner": "id-39e4c3727b273ec4110b5769c10cdb52",
  • "customer": "cus-81f7a36b4737e4d07b56e89d392a4d6e",
  • "id": "sub-7f0146cba78f9455e57875402643f103",
  • "service": "limio",
  • "ref": "order-db546637c354a63b0eeaa121a0c14f0b/bdc3cfb7-77b9-d8b8-7395-f44758ef1b29",
  • "created": "2024-03-22T12:13:29.718Z",
  • "updated": "2024-03-22T12:13:29.718Z",
  • "reference": "3V053CN9SFIG",
  • "mode": "production"
}

Get Objects

These APIs allow you to retrieve a list of objects of a specific type in Limio. You can get a subscription, customer, order, identity, address, schedule, payment method, subscription offer, user entitlement, event or process event objects. Each object is returned with a summary of its data. To fetch all of the object data, use the retrieved object ID with the Get Object API.

SecuritybearerAuth
Request
path Parameters
service
required
string
Default: "limio"

The service the object belongs to

Enum: "limio" "zuora" "salesforce"
path_type
required
string
Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" "promo_codes_v2" "events" "process"
query Parameters
limit
number

The number of objects to return.

Example: limit=10
queryMore
string

Retrieves the next page of results. Use the queryMore returned in the previous response.

Example: queryMore=DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH
Responses
200

OK

401

Unauthorized

502

Bad Gateway

get/objects/{service}/{path_type}
Request samples
Response samples
application/json
{
  • "items": [
    ],
  • "queryMore": "eyJjcmVhdGVkIjoiMjAyNC0wMy0wMVQwMTozNjowOC43MjVaIiwic29ydF9rZXkiOiJvYmplY3Qvc3Vic2NyaXB0aW9uIiwiaGFzaCI6ImVjb25vbWlzdC1iYXUtcHJlcHJvZC9wcm9kdWN0aW9uL2xpbWlvL3N1Yi02YjExOTliOTkzYTQyNDdmZDgwNTRlMWFkNzZiOGVjOSIsInJlY29yZF90eXBlIjoiZWNvbm9taXN0LWJhdS1wcmVwcm9kL3Byb2R1Y3Rpb24vbGltaW8vc3Vic2NyaXB0aW9uIn0="
}

Get Object Relationships

This API allows you to get objects related to a specific object in Limio. You can get related objects of a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement.

SecuritybearerAuth
Request
path Parameters
service
required
string
Default: "limio"

The service the object belongs to

Enum: "limio" "zuora" "salesforce"
path_type
required
string
Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" "promo_codes_v2" "events" "process"
id
required
string
Example: sub-abcxyz123456
Responses
200

OK

401

Unauthorized

502

Bad Gateway

get/objects/{service}/{path_type}/{id}/related
Request samples
Response samples
application/json
{
  • "items": [
    ]
}

Get Object Relationships By Record Type

This API allows you to get objects related to a specific object of provided path type from a provided service using the object's ID. You can get related objects of a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement.

SecuritybearerAuth
Request
path Parameters
service
required
string
Default: "limio"

The service the object belongs to

Enum: "limio" "zuora" "salesforce"
id
required
string
Example: sub-abcxyz123456
path_type
required
string
Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" "promo_codes_v2" "events" "process"
record_type
required
string

The record type of the object

Enum: "offer" "order" "customer" "gift_code" "promo_code" "identity" "schedule" "subscription_offer" "payment_method" "rate_plan" "entitlement" "product"
Responses
200

OK

401

Unauthorized

get/objects/{service}/{path_type}/{id}/related/{record_type}
Request samples
Response samples
application/json
{
  • "items": [
    ]
}

Get Object Subtype

This API allows you to retrieve all children objects of a parent object using the object's ID. You can get a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement. Each object is returned with a summary of its data. To fetch all of the object data, use the retrieved object ID with the Get Object API.

SecuritybearerAuth
Request
path Parameters
service
required
string
Default: "limio"

The service the object belongs to

Enum: "limio" "zuora" "salesforce"
path_type
required
string
Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" "promo_codes_v2" "events" "process"
id
required
string
Example: sub-abcxyz123456
Responses
200

OK

401

Unauthorized

502

Bad Gateway

get/objects/{service}/{path_type}/{id}/objects
Request samples
Response samples
application/json
{
  • "items": [
    ]
}

Get Object Subtype By Record Type

This API allows you to retrieve specific children objects, that match the provided record_type, of a parent object using the object's ID. You can get a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement. Each object is returned with a summary of its data. To fetch all of the object data, use the retrieved object ID with the Get Object API.

SecuritybearerAuth
Request
path Parameters
service
required
string
Default: "limio"

The service the object belongs to

Enum: "limio" "zuora" "salesforce"
path_type
required
string
Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" "promo_codes_v2" "events" "process"
id
required
string
Example: sub-abcxyz123456
subtype
string

The subtype of an object

Enum: "offer" "order" "customer" "gift_code" "promo_code" "identity" "schedule" "subscription_offer" "payment_method" "rate_plan" "entitlement" "product"
Responses
200

OK

401

Unauthorized

502

Bad Gateway

get/objects/{service}/{path_type}/{id}/objects/{subtype}
Request samples
Response samples
application/json
{
  • "items": [
    ]
}

Get Object Events

This API allows you to get events associated with a specific object of provided path type from a provided service using the object's ID. You can get events of a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement. Events are actions that have been performed and are related to the object. Commonly this will be used to see events related to a subscription, such as creating or updating a susbcription.

SecuritybearerAuth
Request
path Parameters
service
required
string
Default: "limio"

The service the object belongs to

Enum: "limio" "zuora" "salesforce"
path_type
required
string
Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" "promo_codes_v2" "events" "process"
id
required
string
Example: sub-abcxyz123456
Responses
200

OK

401

Unauthorized

502

Bad Gateway

get/objects/{service}/{path_type}/{id}/events
Request samples
Response samples
application/json
{
  • "items": [
    ],
  • "unpackedItems": [
    ]
}