GraphQL API
Organization API
Organization / Metafields

metafieldDefinitionCreate

Create a metafield definition

Arguments

1 argument
isVisibleWhilePackingBoolean

Whether warehouse users can see the metafield 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

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!