Organization / Metafields
metafieldDefinitionUpdate
Update a metafield definition
Arguments
2 argumentsid•ID!ID of the metafield definition.
isVisibleWhilePacking•BooleanWhether warehouse users can see the metafield while packing.
key•StringStable integration/API key.
name•StringDisplay 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!