Skip to Content
API ReferenceCheckout field templates

Create a checkout field template

Save a named set of checkout fields to reuse on products.

Save a named set of checkout fields. The request needs a name that no other template in the store uses and 1 to 25 fields. A field the product editor would refuse, such as a select without options or a placeholder on a checkbox, returns 422 on its position, for example fields.1.options, and nothing is saved.

POST
/v2/checkout-field-templates

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
name*string

The template name, 2 to 100 characters and unique in the store. Surrounding spaces are removed.

Length2 <= length <= 100
fields*array<>

The checkout fields, 1 to 25, in the order customers see them. Properties a checkout field does not have are dropped. An invalid field returns 422 on its position, such as fields.0.options.

Items1 <= items <= 25

Response Body

Checkout field template created.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/checkout-field-templates' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "name": "Discord access",  "fields": [    {      "type": "text",      "label": "Discord username",      "key": "discord_username",      "required": true,      "placeholder": "name#0001",      "description": "We add this account to the community after purchase."    },    {      "type": "radio",      "label": "Experience level",      "key": "experience_level",      "required": false,      "options": [        "Beginner",        "Intermediate",        "Advanced"      ],      "variant": "cards",      "variant_options": {        "vertical": true,        "indicator": true      }    }  ]}'
{  "data": {    "id": 14,    "name": "Discord access",    "fields": [      {        "type": "text",        "label": "Discord username",        "key": "discord_username",        "required": true,        "placeholder": "name#0001",        "description": "We add this account to the community after purchase."      },      {        "type": "radio",        "label": "Experience level",        "key": "experience_level",        "required": false,        "options": [          "Beginner",          "Intermediate",          "Advanced"        ],        "variant": "cards",        "variant_options": {          "vertical": true,          "indicator": true        }      }    ],    "created_at": "2026-09-04T09:00:00.000000Z",    "updated_at": "2026-09-04T09:00:00.000000Z"  }}