Custom Fields

Create Custom Field

Creates a new custom field.

post/v1/shops/{shopId}/custom-fields

Request body

namestring required

Must not be greater than 255 characters.

placeholderstring

Must not be greater than 255 characters.

hintstring

Must not be greater than 255 characters.

type'text' | 'textarea' | 'checkbox' | 'select' required
optionsstring

Must not be greater than 255 characters.

defaultstring

Must not be greater than 255 characters.

regexstring

Must not be greater than 255 characters.

is_requiredboolean

Example request

{
  "name": "pasyzwszwtxpeqq",
  "placeholder": "ikymwkiinfowtzm",
  "hint": "ixkolowyuffszfr",
  "type": "textarea",
  "options": "snwwxvxezhebdrx",
  "default": "kpiypmuihrdifek",
  "regex": "zagqzitsslufxbo",
  "is_required": true
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.