GraphQL API
Organization API
Organization / Metafields

metafieldDefinitionUpdate

Update a metafield definition

Arguments

2 arguments
idID!

ID of the metafield definition.

isVisibleWhilePackingBoolean

Whether warehouse users can see the metafield while packing.

keyString

Stable integration/API key.

nameString

Display name.

sortInt

Display sort order.

Expected value type.

BOOLEANDATEDATE_TIMEDECIMALINTEGERJSONMULTI_LINE_TEXTSINGLE_LINE_TEXT

Possible return

createdAtDateTimeTz!

When the definition was created.

idID!

Unique primary key.

isVisibleWhilePackingBoolean!

Whether warehouse users can show this while packing.

keyString!

Stable integration/API key.

nameString!

Display name.

Resource type this definition applies to.

ORDERPRODUCT
sortInt!

Display sort order.

Expected value type.

BOOLEANDATEDATE_TIMEDECIMALINTEGERJSONMULTI_LINE_TEXTSINGLE_LINE_TEXT
updatedAtDateTimeTz!

When the definition was last updated.

field[String!]
messageString!