Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.63 KB

File metadata and controls

44 lines (33 loc) · 1.63 KB

MetafieldDefinition

Properties

Name Type Description Notes
isReadOnly Boolean Indicates if a definition can be edited or not [optional]
ownerEntity OwnerEntityEnum The Metafield will extend the specified {Flipdish.Metafields.PublicModels.V1.MetafieldDefinitionBase.OwnerEntity} [optional]
key String Key of the metafield. The key must have two parts, separated by a dot. The first part acts as a category, for organizational purposes. The parts can be composed of lowercase letters, numbers, hyphen and underscore
valueType ValueTypeEnum The excepted type for the Value field [optional]
name String Field Name
description String Field Description [optional]
behaviors List<BehaviorsEnum> Enable Metafield Behaviors [optional]
metafieldDefinitionRecommendationId Integer Metafield Recommendation Id [optional]

Enum: OwnerEntityEnum

Name Value
CATALOGITEM "CatalogItem"
CATALOGGROUP "CatalogGroup"
MENU "Menu"

Enum: ValueTypeEnum

Name Value
BOOLEAN "Boolean"
JSON "Json"
SINGLELINESTRING "SingleLineString"
MULTILINESTRING "MultiLineString"

Enum: List<BehaviorsEnum>

Name Value
SENDTOORDER "SendToOrder"
SENDTOMENU "SendToMenu"