Get a customer by external ID with their active and upcoming subscriptions, custom pricing unit balances, and private plans.
You can obtain this key from the Atlas dashboard. It must be of type secret
The external ID of the customer (e.g. the customer ID in your system)
1"external-customer-id-123"
The customer that has been retrieved with their active and upcoming subscriptions, custom pricing unit balances, and private plans.
The date and time the customer was created
"2021-01-01T00:00:00.000Z"
The Atlas customer ID
1"atlas-internal-customer-id-123"
The date and time the customer was last updated
"2021-01-01T00:00:00.000Z"
The Atlas merchant ID
1"atlas-internal-merchant-id-123"
The active subscriptions associated with the customer
The upcoming subscriptions associated with the customer
The conditional billable access associated with the customer
The custom pricing units associated with the customer
The private plans associated with the customer
Whether the customer is eligible for a trial subscription. Only returns true if the customer has no previous or current paid or trial subscriptions.
true
Billing address line 1
1"123 Main St"
Billing address line 2
1"Apt 1"
Billing city
1"Anytown"
Billing country
1"US"
Billing state
1"CA"
Billing zip code. Must be 5 digits or 5+4 format.
"12345"
Shipping address line 1
1"123 Main St"
Shipping address line 2
1"Apt 1"
Shipping city
1"Anytown"
Shipping country
1"US"
Shipping state
1"CA"
Shipping zip code. Must be 5 digits or 5+4 format.
"12345"
The external ID of the customer (e.g. the customer ID in your system)
1"external-customer-id-123"
The name of the customer
1"John Doe"
The QuickBooks ID of the customer
1"quickbooks-customer-id-123"
The Stripe ID of the customer
1"stripe-customer-id-123"