Skip to main content
Anchor to StandardMetafieldDefinitionsEnablePayload

StandardMetafieldDefinitionsEnablePayload

payload

Return type for standardMetafieldDefinitionsEnable mutation.

•[MetafieldDefinition!]

The list of definitions that were enabled.

•[StandardMetafieldDefinitionsEnableUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Enables multiple specified standard metafield definitions from their templates as a single transaction. This API is idempotent so any previously-enabled standard definitions will not cause a failure. However, invalid inputs or other user errors will prevent all of the requested definitions from being enabled.

Refer to the list of standard metafield definition templates.


Was this section helpful?