Authorizations
- Authorization string required header
Generate a store API key from the store's Metorik API settings in Metorik, and choose the scopes needed for the endpoints you want to call.
Query Parameters
- end_date string required
End date in the store timezone using YYYY-MM-DD format. Example: 2026-02-28
- order_by string enum
Sort field. Example: name
- order_dir string enum
Sort direction. Example: asc
- order_filters string
Optional JSON-encoded array of order-level filters applied before calculating category sales. See Order Filters Reference. Example: [{"field":"billing_address_country","operator":"eq","value":"US"}]
- page integer
Page number for pagination. Example: 1
- per_page integer
Number of categories per page. Min 1, max 100. Example: 10
- search string
Search term to filter categories. Example: accessories
- start_date string required
Start date in the store timezone using YYYY-MM-DD format. Example: 2026-02-01
Headers
- Accept string required
Response format header. Example: application/json
Response
application/json- data[] object array
+ - Show Child Attributes
- category_id integer
- name string
- parent_category_id string nullable
- slug string
- description string
- image string
- products integer
- gross_items_sold integer
- items_refunded integer
- net_items_sold integer
- gross_sales integer
- total_tax number
- total_discounted integer
- total_refunds integer
- net_orders integer
- net_sales integer
- pagination object
+ - Show Child Attributes
- current_page integer
- per_page integer
- has_more_pages boolean