Skip to Content
API ReferenceCheckout field templates

Update a checkout field template

Rename a checkout field template or replace its fields.

Rename a template, replace its fields, or both. fields replaces the whole list: to change one field, send all of them. Leave out fields to keep them as they are. PUT accepts the same partial request as PATCH.

Products that already use these fields keep their own copy. Send expected_updated_at with the updated_at you read so you don't overwrite a change someone made in the meantime.

PATCH
/v2/checkout-field-templates/{checkoutFieldTemplate}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

checkoutFieldTemplate*integer

The template ID.

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
expected_updated_at?string

The updated_at you last read. If the template changed since, the request returns 422 on expected_updated_at and changes nothing.

Formatdate-time

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://sell.app/api/v2/checkout-field-templates/14' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "name": "Discord onboarding",  "expected_updated_at": "2026-09-04T09:00:00.000000Z"}'
{  "data": {    "id": 14,    "name": "Discord onboarding",    "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-05T10:30:00.000000Z"  }}
PUT
/v2/checkout-field-templates/{checkoutFieldTemplate}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

checkoutFieldTemplate*integer

The template ID.

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
expected_updated_at?string

The updated_at you last read. If the template changed since, the request returns 422 on expected_updated_at and changes nothing.

Formatdate-time

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/checkout-field-templates/14' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "name": "Discord onboarding",  "expected_updated_at": "2026-09-04T09:00:00.000000Z"}'
{  "data": {    "id": 14,    "name": "Discord onboarding",    "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-05T10:30:00.000000Z"  }}