Custom Fields

Update Custom Field

Updates an existing custom field.

put/v1/shops/{shopId}/custom-fields/{customFieldId}

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.