Commerce Layer GraphQL Schema
Commerce Layer is a headless, multi-market commerce API built on a JSON:API-compliant REST surface. This document describes a conceptual GraphQL schema that maps the Commerce Layer data model to GraphQL types, queries, and mutations. Commerce Layer does not currently expose a native GraphQL endpoint; this schema is a faithful translation of the REST resources described at https://docs.commercelayer.io/core/v/api-reference/ and the public OpenAPI specification at https://data.commercelayer.app/schemas/openapi.json.
Overview
Commerce Layer GraphQL Schema is a GraphQL API specification published by Commerce Layer on the APIs.io network.
Commerce Layer is a headless, multi-market commerce API built on a JSON:API-compliant REST surface. This document describes a conceptual GraphQL schema that maps the Commerce Layer data model to GraphQL types, queries, and mutations. Commerce Layer does not currently expose a native GraphQL endpoint; this schema is a faithful translation of the REST resources described at https://docs.commercelayer.io/core/v/api-reference/ and the public OpenAPI specification at https://data.commercelayer.app/schemas/openapi.json.
The specification includes 4 reference links.
Tagged areas include Headless Commerce, Composable Commerce, API-First, Ecommerce, and JSON:API.
Endpoint
References
- REST API Reference https://docs.commercelayer.io/core-api-reference/
- OpenAPI Specification https://data.commercelayer.app/schemas/openapi.json
- Data Model https://docs.commercelayer.io/data-model/readme
- GitHub Organization https://github.com/commercelayer