Skip to content

GraphQL explorer

The GraphQL explorer runs queries against staging, with autocomplete and the full schema in the Docs panel.

  1. Get an access token.

  2. Open graphiql.vyro.co.

  3. Open the Headers tab at the bottom and add:

    { "Authorization": "Bearer YOUR_ACCESS_TOKEN" }
  4. Press the refresh button (bottom left) to reload the schema for your role. The schema shows only the tables and fields your token can read.

  5. Paste any query from these docs and press Run.

Without a token the explorer uses the public role, which can read published stock, showrooms, locations and forms.

Any GraphQL client works: Postman, Insomnia, Apollo, urql, graphql-request, or plain fetch. Point it at the GraphQL endpoint for your environment and send the Authorization header.

To generate types, run your codegen tool against the endpoint with your token. The schema it sees is the one your role can read.

Terminal window
npx @graphql-codegen/cli init # choose "introspect from URL" and add the Authorization header