Skip to Content
API ReferenceCheckout field templates

Duplicate a checkout field template

Copy a checkout field template's fields under a new name.

Copy a template's fields into a new template, then change the copy without touching the original. The name must be one no other template in the store uses.

POST
/v2/checkout-field-templates/{checkoutFieldTemplate}/duplicate

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

Response Body

Copy created.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/checkout-field-templates/14/duplicate' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "name": "Discord access for courses"}'
{  "data": {    "id": 15,    "name": "Discord access for courses",    "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-05T11:00:00.000000Z",    "updated_at": "2026-09-05T11:00:00.000000Z"  }}