---
title: "Create Custom Field"
method: POST
path: "/v1/shops/{shopId}/custom-fields"
tags: ["Custom Fields"]
---

# Create Custom Field

`POST /v1/shops/{shopId}/custom-fields`

Creates a new custom field.

## Request body

- object
  - `name` string, required — Must not be greater than 255 characters.
  - `placeholder` string — Must not be greater than 255 characters.
  - `hint` string — Must not be greater than 255 characters.
  - `type` 'text' | 'textarea' | 'checkbox' | 'select', required
  - `options` string — Must not be greater than 255 characters.
  - `default` string — Must not be greater than 255 characters.
  - `regex` string — Must not be greater than 255 characters.
  - `is_required` boolean

## Response `200`

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) · [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellauth/sellauth-api/revisions/945e6d749d68/schema)
