Skip to main content
Anchor to StandardMetafieldDefinitionsEnablePayload

StandardMetafieldDefinitionsEnablePayload

payload

Return type for standardMetafieldDefinitionsEnable mutation.

•[MetafieldDefinition!]

The list of definitions that were enabled.

Show fields
•[StandardMetafieldDefinitionsEnableUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

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.

Show payload

Arguments

•[StandardMetafieldDefinitionsEnableInput!]!
required

The list of standard definitions to enable. Maximum of 25.

Show input fields


Was this section helpful?