Lightlines
By shopify

shopify-storefront-graphql

shopify10.5k installs

Build Storefront GraphQL with confidence.

What it does

Generates Shopify Storefront GraphQL queries and mutations with documentation links and validation.

When to use it

Use it for custom storefronts that need direct GraphQL queries or mutations for data fetching and cart operations.

How to use it

Give it a GraphQL operation or resource name and optional API version; it searches Shopify documentation, generates an operation, validates it, and returns the code with documentation links.

What you provide

  • GraphQL operation or resource name
  • target API version

Uses

Good to know

  • may override your rules
  • sends a credential to a server: Storefront API access token

Security reviews

Not yet reviewed.


What you need · 2

Node.js is required to run the bundled .mjs helpers.

A Storefront API access token is sent with requests to a real Shopify store; mock.shop does not require one.


Access · 2

This skill

Shopify developer documentation

Read

Reads Shopify developer documentation

Shopify usage endpoint

Write

Sends search telemetry to Shopify

Write

Sends validation data to Shopify

Write

Sends feedback to Shopify