By default, Spaire collects the minimum required for payment: name, email, and billing info. Custom fields let you add anything on top of that — terms of service checkboxes, company names, phone numbers, select menus, or any other data your business needs at the point of purchase. Custom fields are defined once at the organization level, then attached to specific products.Documentation Index
Fetch the complete documentation index at: https://docs.spairehq.com/llms.txt
Use this file to discover all available pages before exploring further.
Create a custom field
Go to Settings → Custom Fields and click New Custom Field.Field type
The type determines what input is shown to the customer. You must choose a type when creating the field — it can’t be changed afterward.| Type | Input | Stored as |
|---|---|---|
| Text | Single-line input (or textarea) | string |
| Number | Numeric input | number |
| Date | Date picker | string (ISO 8601) |
| Checkbox | Checkbox | boolean |
| Select | Dropdown with predefined options | string |
Value (stored in the database) and a Label (shown to the customer).
Slug and name
The slug is the key used to identify this field in the API. It must be unique across your organization. You can change it later — Spaire will update existing data automatically. The name is your internal label for the field in the dashboard. It’s also used as the default label shown to customers at checkout, unless you override it in the form input options.Form display options
Customize how the field appears to customers:- Label — the text shown above the field (Markdown supported for bold, italic, links)
- Help text — displayed below the field (Markdown supported)
- Placeholder — shown inside the field when empty
Add a field to checkout
Custom fields are enabled per product. While creating or editing a product, go to Checkout Fields and select which fields to include. For each field you can set whether it’s required or optional. Once attached, the field appears in the checkout form for that product and the customer’s response is collected at payment time.Read field data
Submitted field data is available in two places: Dashboard — your Sales → Orders and Sales → Subscriptions tables show a column for each custom field, displaying what each customer submitted. API — field data is available under thecustom_field_data property on Orders and Subscriptions. Each key is the field’s slug.
Pre-fill via checkout session
When creating a checkout session from your backend, you can pre-populate custom field values:What’s next
Products
Attach custom fields to specific products in your catalog.
Checkout Sessions
Pre-fill custom field data when creating sessions from your backend.

