Skip to main content
Welcome to the Salesbricks GraphQL API – the gateway to seamless access and management of your subscriptions and orders. Our API offers a robust, introspectable schema, empowering you to effortlessly explore and interact with its extensive capabilities.
Before you begin, ensure you have read the Authentication guide to find your X-SALESBRICKS-KEY and the correct endpoint for your use case.

Setting up an Apollo Client

In this guide, we leverage Apollo Client, extending the example from their documentation here.
JavaScript

Query the schema

Once your client is configured, make queries following the defined schema. Below is an example query to retrieve all orders:

Example Query

JavaScript

Example Response

JSON
Explore the powerful features of Salesbricks through this concise GraphQL API. Let’s dive in! 🚀