Skip to main content
Skip to navigation

Customer Info Model | REST API v1 Reference (1.0)

Download OpenAPI specification:Download

RevenueCat API v1 schema reference for Customer Info Model.

Customer Info Model

Part of the REST API v1 Reference.

request_date
string

Date of the request in ISO 8601 format.

request_date_ms
integer <int64>

Date of the request in milliseconds since Epoch.

object

Information about the Customer.

object

Dictionary of the entitlements of this Customer (including any expired entitlements).

first_seen
string

The ISO 8601 datetime string corresponding to when the Customer was first seen by RevenueCat.

last_seen
string

The ISO 8601 datetime string corresponding to when the Customer was last seen by RevenueCat.

management_url
string

URL to manage the active subscription of the Customer.

If the Customer has an active App Store subscription, this will point to the App Store. If the Customer has an active Play Store subscription, it will point there. Amazon subscriptions point to the Amazon subscription management page, Paddle subscriptions point to the Paddle Customer Portal, and RevenueCat Web Billing subscriptions point to the RevenueCat Web Billing Customer Portal. For Stripe Billing subscriptions, this returns the configured Stripe Customer Portal URL or a custom URL. If no Stripe Customer Portal URL is configured, this will be null.

If there are no active subscriptions it will be null.

If the Customer has multiple active subscriptions for different platforms, this will take the value of the OS in the X-Platform header into consideration:

  • If the request was made on an OS for which there are active subscriptions, this will return the URL for the store that matches the header.
  • If the request was made on a different OS or the OS was not included in the X-Platform header, this will return the URL for the store of the subscription with the farthest future expiration date.
object

Non-subscription purchases of the Customer, keyed by the product identifier.

original_app_user_id
string

The App User ID under which this Customer was first known to RevenueCat.

original_application_version
string

Only available on iOS. This will be null until an iOS receipt is sent for the Customer. After a receipt has been sent, it will indicate the first App Store version of your app that the Customer installed.

original_purchase_date
string

Only available on iOS. The date that the app was first purchased/downloaded by the Customer. Will be null if no receipt is recorded for the Customer. Useful for Migrating Subscriptions.

other_purchases
object
Deprecated
object

A dictionary of any Attributes set on this Customer. Only included in responses to requests made with a secret API key.

object

Subscription purchases of the Customer, keyed by the product identifier.

{
  • "request_date": "2019-07-26T17:40:10Z",
  • "request_date_ms": 1564162810884,
  • "subscriber": {
    }
}

Endpoint Reference

All API v1 resources, one page each. General concepts (authentication, request format, URL parameters) live on the API v1 overview.