Create the json configuration file

API Mesh uses a JSON configuration file to define your source handlers. The JSON file contains a sources array that contains the sources for your mesh. Here is an example of a mesh with a single source.

{
"meshConfig": {
    "sources": [
      {
        "name": "Commerce",
        "handler": {
          "graphql": {
            "endpoint": "https://venia.magento.com/graphql/"
          }
        }
      }
    ]
  }
}

Useful API Mesh resources

Previous pageWorking with projects and workspaces
Next pageCreate multiple source GraphQL API mesh

Commerce