Besides providing support for all CRUD (create, update, delete) operations to manage resources in a Composable Commerce Project, GraphQL provides additional features, such as the possibility to monitor the health of your Project and even automate processes.
Use GraphQL for fetching information about Project limits
Composable Commerce provides the ability through GraphQL to access information about your Project, including what limits exist and in some cases what the current count of a resource is. For example, you can query the limit of the number of Customers you can have in your Project as well as how many you currently have.
name and key.key, name, and trial end date) and resource limits. Current counts are shown for Customers, Carts, Discounts, Product Types, and Stores.Use Reference Expansion
In Composable Commerce, resources often have references to other resources. For example, a Product references its Product Type and a Customer can reference a Customer Group. An Order also references the Cart it was created from.