v1

latestOpenAPI 3.1.02026-07-242470655.6 KB

Create Custom Field

post/sites/multiscreen/{site_name}/ecommerce/custom-fields

Path parameters

site_namestring required

The unique identifier for the target site

Request body

namestring required

Name of the field

type'TEXT' | 'PLAIN_TEXT' | 'IMAGE' | 'VIDEO' required

The type of field.

Response

200

idstring
namestring
typestring

Example response

{
  "id": "01J2A1AC53VDGN510XWMCXEXKQ",
  "name": "Tagline",
  "type": "TEXT"
}