Query
Parameters
CustomerPortalInput
required
Input parameters for the customer portal query
Return Type
Returns aCustomerPortal object with:
Billing Information Fields
Common Use Cases
Self-service portal page
Self-service portal page
Build a complete customer portal showing current plan, usage, and upgrade options.
Usage dashboard
Usage dashboard
Display current feature usage against limits with progress bars.
Billing management
Billing management
Show payment method and link to billing portal for updates.
Upgrade prompts
Upgrade prompts
Check
canUpgradeSubscription and show upgrade CTAs when appropriate.Example: Building a Portal UI
Related Operations
- Get Customer - Get customer details
- Paywall - Get available plans for upgrade
- Preview Subscription - Preview upgrade pricing
