You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
CustomFieldInput
A key-value pair representing the field name and value of one single custom field.
The value of this custom field consists of escaped JSON based on the FieldDefinition of the Type.
Examples for value:
- FieldType
String:"\"This is a string\""* FieldTypeDateTimeType:"\"2018-10-12T14:00:00.000Z\""* FieldTypeNumber:"4"* FieldTypeSetwith an elementType ofString:"[\"This is a string\", \"This is another string\"]"* FieldTypeReference:"{\"id\", \"b911b62d-353a-4388-93ee-8d488d9af962\", \"typeId\", \"product\"}"
export type CustomFieldInput = {
name: Scalars['String'];
value: Scalars['String'];
};