Anchor to standardMetafieldDefinitionsEnablestandard
mutationstandard Metafield Definitions Enable
Requires API client to have access to the resource type associated with the metafield definition owner type.
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.
Anchor to Arguments
Arguments
- Anchor to definitionsdefinitions•[Standard
Metafield Definitions Enable Input!]!required The list of standard definitions to enable. Maximum of 25.
Was this section helpful?
Anchor to StandardMetafieldDefinitionsEnablePayload returnsStandard Metafield Definitions Enable Payload returns
- Anchor to definitionsdefinitions•[Metafield
Definition!] The list of definitions that were enabled.
- Anchor to userErrorsuser•[Standard
Errors Metafield Definitions Enable User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?