ShopifyQL example

The ShopifyQL Admin API provides an interface for querying store data.

This page provides an example of how to use the shopifyqlQuery query from the ShopifyQL Admin API to retrieve the total sales per month, from the starting of this year until today.

Refer to the comments below for information about each element of the GraphQL API request.

For more information, refer to the ShopifyQL reference.