Organization / Metafields
metafieldDefinitionCreate
Create a metafield definition
Arguments
1 argumentisVisibleWhilePacking•BooleanWhether warehouse users can see the metafield while packing.
key•String!Stable integration/API key.
name•String!Display name.
sort•IntDisplay sort order.
type•MetafieldTypeExpected value type.
BOOLEANDATEDATE_TIMEDECIMALINTEGERJSONMULTI_LINE_TEXTSINGLE_LINE_TEXTPossible return
createdAt•DateTimeTz!When the definition was created.
id•ID!Unique primary key.
isVisibleWhilePacking•Boolean!Whether warehouse users can show this while packing.
key•String!Stable integration/API key.
name•String!Display name.
sort•Int!Display sort order.
type•MetafieldType!Expected value type.
BOOLEANDATEDATE_TIMEDECIMALINTEGERJSONMULTI_LINE_TEXTSINGLE_LINE_TEXTupdatedAt•DateTimeTz!When the definition was last updated.
field•[String!]message•String!