The GraphQL API remains fully supported, and existing integrations continue to work.For new integrations we recommend the REST API — it covers the
full subscription lifecycle and is where new functionality lands, including the self-serve
endpoints for starting a subscription.
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