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.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
checkoutFieldTemplate*integerThe template ID.
X-STORE?stringStore 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.
application/json- body
name?stringThe template name, 2 to 100 characters and unique in the store. Surrounding spaces are removed.
2 <= length <= 100fields?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.
1 <= items <= 25expected_updated_at?stringThe updated_at you last read. If the template changed since, the request returns 422 on expected_updated_at and changes nothing.
date-timeSuccessful response.
application/json- response
data*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" }}AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
checkoutFieldTemplate*integerThe template ID.
X-STORE?stringStore 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.
application/json- body
name?stringThe template name, 2 to 100 characters and unique in the store. Surrounding spaces are removed.
2 <= length <= 100fields?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.
1 <= items <= 25expected_updated_at?stringThe updated_at you last read. If the template changed since, the request returns 422 on expected_updated_at and changes nothing.
date-timeSuccessful response.
application/json- response
data*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" }}