Query
Parameters
GetCustomerByRefIdInput
required
Input object containing the customer identifier
Return Type
Returns aCustomer object with the following key fields:
Common Use Cases
Check subscription status on login
Check subscription status on login
Verify the customer’s subscription status when they log in to determine their access level.
Display account information
Display account information
Fetch customer details for account settings pages.
Determine upgrade eligibility
Determine upgrade eligibility
Check
eligibleForTrial and current subscription to show relevant upgrade options.Error Handling
Related Operations
- List Customers - Query multiple customers
- Customer Portal - Get portal data for customer
- Update Customer - Modify customer details
