A detailed list of all the resources on which you can do statistics using Commerce Layer Metrics API
Commerce Layer Metrics API lets you extract and aggregate relevant metric data from your organizations. It enables you to perform 4 different types of queries (breakdown, date breakdown, stats, and search) on 3 specific resources (orders, returns, and carts — more to come) by exposing 12 endpoints you can easily build starting from the base endpoint, according to the following format:
This guide is a detailed reference where you can explore the comprehensive lists of the available fields and attributes of the resources in question, along with all the available values for the query keys and filter operators.
For each single resource you can find:
- All the order resource's fields and attributes that are accessible through the Metrics API.
- For each type of query, the allowed values for the query keys and query operators.
- For each type of query, the filterable fields and the allowed values for the filter operators.
- For each type of query, some basic examples to help you get started.