Skip to main content

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 known id from your application:
2. Anonymous Customers Users tracked by fingerprint before signing up:
When an anonymous customer signs up, you can update their record to include an id, preserving their usage history and subscriptions.
3. Email-only Customers Customers identified by email:

Full Customer Object

When querying customers through the API, you’ll often work with FullCustomer:
Example:

Customer Products

When a customer subscribes to a product, a CustomerProduct record is created:

Customer Product Lifecycle

A customer product goes through several states: Common statuses:
  • trialing - In free trial period
  • active - Active subscription with valid payment
  • past_due - Payment failed, retrying
  • canceled - Canceled but still active until period ends
  • ended - Subscription fully terminated

Checking Customer Access

Use the /check endpoint to verify what a customer can access:
See Features for checking feature-level 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:
Track usage per entity:
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:
Example with seat-based pricing:

Customer Metadata

Store arbitrary data on customer records:
Metadata is:
  • 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:
You can also create customers explicitly through the API or dashboard.

Stripe Integration

When Stripe is connected, Autumn automatically:
  1. Creates Stripe customers when attaching products
  2. Syncs customer data (name, email, metadata) to Stripe
  3. Manages payment methods through Stripe
  4. Handles webhooks for subscription events
Autumn handles all the complexity of syncing customer state between your app and Stripe, so you never have to write webhook handlers.

Customer Queries

Common customer operations:

Next Steps