custom_field_data on the checkout, order and subscription, keyed by each field’s slug.
Field types
Every type also takes a Label, Help text and Placeholder (
form_label, form_help_text and form_placeholder in properties). The label and help text support basic Markdown, including links. Without a form_label, the field’s name is the label.
The type can’t be changed after creation.
Create a field
- Dashboard
- CLI
- Prompt
- Open Products → Custom Fields
- Click New
- Pick a Type, then set the Slug and Name
- Optionally, set Label, Help text and Placeholder under Form input options, and limits under Validation constraints
Add the field to a product
A field only appears on the checkout of products it’s attached to. Mark it required to block the checkout until it’s filled in. A required checkbox must be checked, which suits terms acceptance.- Dashboard
- CLI
- Prompt
- Open the product under Catalog
- In the Checkout Page section, select the field under Checkout Fields
- Toggle Required if needed, then save
Prefill answers
- On a Checkout Session, pass
custom_field_datakeyed by slug:{ "source": "friend" }. - On a Checkout Link, add
custom_field_data.{slug}to the URL:?custom_field_data.source=friend.
Read the answers
In the dashboard, open an order or subscription under Sales. The answers are in its Custom Fields section. From the API, readcustom_field_data on the order, subscription or checkout. The order.created and subscription.created webhooks include it too.
polar orders get <order_id> --fields custom_field_data. The examples use the sandbox and API version 2026-10.
From the CLI or your agent
polar custom_fields update requires --type, set to the field’s current type.

