Anchor to StandardMetafieldDefinitionsEnablePayloadStandard
payloadStandard Metafield Definitions Enable Payload
Return type for mutation.
Anchor to FieldsFields
- 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?
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?