I’m looking for some clear examples of using the metaobjectDefinitions GraphQL query, and related queries. I want to export metaobject definitions from one store, and then reimport into another store. Using a third-party app to do this isn’t an option for me - I want to understand how to do this myself.
The query I’m attempting is:
{> metaobjectDefinitions {> id> name> description> }> }
..which is giving me the error..
Field ‘metaobjectDefinitions’ doesn’t exist on type ‘QueryRoot’, locations - line - 2, column - 5, path - query, metaobjectDefinitions, extensions - code - undefinedField, typeName - QueryRoot, fieldName - metaobjectDefinitions.. but it isn’t clear to me whether my query is malformed or if there is something else going on.
Does anyone have a working example of how to use the Metaobject GraphQL queries, please?