Overview
Customers are the end-users or organizations that subscribe to your products. In Autumn, customers are the central entity that connects to products, tracks usage, and manages billing.Customer Structure
Customer Identity
Autumn provides flexible customer identification: 1. Identified Customers Customers with a knownid from your application:
When an anonymous customer signs up, you can update their record to include an
id, preserving their usage history and subscriptions.Full Customer Object
When querying customers through the API, you’ll often work withFullCustomer:
Customer Products
When a customer subscribes to a product, aCustomerProduct record is created:
Customer Product Lifecycle
A customer product goes through several states: Common statuses:trialing- In free trial periodactive- Active subscription with valid paymentpast_due- Payment failed, retryingcanceled- Canceled but still active until period endsended- Subscription fully terminated
Checking Customer Access
Use the/check endpoint to verify what a customer can access:
Entities
Entities enable multi-tenancy within a single customer account. This is useful for:- Workspaces in team collaboration tools
- Projects in development platforms
- Organizations in B2B SaaS
- Stores in e-commerce platforms
Using Entities
Attach products to specific entities:Each entity can have its own products and usage tracking, allowing you to bill different teams or projects separately within the same customer account.
Customer Options
When attaching products, you can specify feature-specific options:Customer Metadata
Store arbitrary data on customer records:- Stored as JSON
- Synced to Stripe (if using Stripe)
- Queryable through the API
- Useful for segmentation and analytics
Customer Creation
Customers are created automatically when you call/attach or /track with a new customer ID:
Stripe Integration
When Stripe is connected, Autumn automatically:- Creates Stripe customers when attaching products
- Syncs customer data (name, email, metadata) to Stripe
- Manages payment methods through Stripe
- Handles webhooks for subscription events
Customer Queries
Common customer operations:Next Steps
- Learn about Products and Plans to understand what customers subscribe to
- Explore Features to control what customers can access
- Read about Billing Lifecycle to understand subscription states