GraphQL API
Organization API
Organization / Metafields

metafieldDefinitionUpdate

Update a metafield definition

Arguments

2 arguments
id•ID!

ID of the metafield definition.

isVisibleWhilePacking•Boolean

Whether warehouse users can see the metafield while packing.

key•String

Stable integration/API key.

name•String

Display name.

sort•Int

Display sort order.

Expected value type.

BOOLEANDATEDATE_TIMEDECIMALINTEGERJSONMULTI_LINE_TEXTSINGLE_LINE_TEXT

Possible 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.

Resource type this definition applies to.

ORDERPRODUCT
sort•Int!

Display sort order.

Expected value type.

BOOLEANDATEDATE_TIMEDECIMALINTEGERJSONMULTI_LINE_TEXTSINGLE_LINE_TEXT
updatedAt•DateTimeTz!

When the definition was last updated.

field•[String!]
message•String!