customFieldTemplates Query
List of the available custom field templates.
Response
#
Returns [CustomFieldTemplate !]!.
Example
#
query {
customFieldTemplates {
id
createdAt
updatedAt
contentType
customAttributes {
id
externalId
externalSource
inputType
name
slug
valueRequired
visibleInStorefront
filterableInStorefront
filterableInDashboard
availableInGrid
storefrontSearchPosition
}
}
}
3
{}
3
{
"customFieldTemplates": [
{
"id": "aWQ6MTU=",
"createdAt": "2022-03-06T08:23:45.000Z",
"updatedAt": "2022-03-06T08:23:45.000Z",
"contentType": "USER",
"customAttributes": [
{
"id": "aWQ6OTI=",
"externalId": "string",
"externalSource": "string",
"inputType": "DROPDOWN",
"name": "Acme",
"slug": "sample-slug",
"valueRequired": true,
"visibleInStorefront": true,
"filterableInStorefront": true,
"filterableInDashboard": true,
"availableInGrid": true,
"storefrontSearchPosition": 42
}
]
}
]
}
3