Vendure GraphQL
Commerce runs on Vendure (vendure-server). It exposes two GraphQL APIs:
- Shop API —
http://localhost:3001/shop-api— storefront-facing (catalog, cart, checkout). Consumed bysite-shop/ tenant sites via@nexus/vendure-sdk. - Admin API —
http://localhost:3001/admin-api— back-office operations.
@nexus/vendure-sdk wraps the GraphQL operations as typed React Query hooks.
The operations are defined as .graphql documents:
- Fragments:
packages/vendure-sdk/src/fragments/{order,product}.graphql - Queries:
packages/vendure-sdk/src/queries/{products,order}.graphql
Schema
Section titled “Schema”The live schema is introspectable from the running server’s GraphQL endpoints
above. The Admin UI (with a schema explorer) is at
http://localhost:3001/admin.