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
- filters string
Optional JSON-encoded filter array. See Customer Filters Reference. Example: [{"field":"total_spent","operator":"gte","value":100},{"field":"role","operator":"eq","value":"customer"}]
- order_by string enum
Sort field. Example: customer_created_at
- order_dir string enum
Sort direction. Example: desc
- order_end_date string
Optional end date in the store timezone using YYYY-MM-DD format. Requires
order_start_date. When provided, customer order stats are calculated for this period. Example: 2026-03-31 - order_start_date string
Optional start date in the store timezone using YYYY-MM-DD format. Requires
order_end_date. When provided, customer order stats are calculated for this period. Example: 2026-03-01 - page integer
Page number for pagination. Example: 1
- per_page integer
Number of customers per page. Min 1, max 100. Example: 10
- search string
Search term to filter customers. Example: jarvis
Headers
- Accept string required
Response format header. Example: application/json
Response
application/json- data[] object array
+ - Show Child Attributes
- customer_id integer
- full_name string
- first_name string
- last_name string
- email string
- customer_created_at string
- customer_updated_at string
- billing_address_first_name string
- billing_address_last_name string
- billing_address_company string
- billing_address_address_1 string
- billing_address_address_2 string
- billing_address_city string
- billing_address_state string
- billing_address_postcode string
- billing_address_country string
- billing_address_phone string
- shipping_address_first_name string
- shipping_address_last_name string
- shipping_address_company string
- shipping_address_address_1 string
- shipping_address_address_2 string
- shipping_address_city string
- shipping_address_state string
- shipping_address_postcode string
- shipping_address_country string
- shipping_address_phone string
- role string
- first_order_date string
- last_order_date string
- order_count integer
- item_count integer
- total_spent number
- average_order number
- subscription_count integer
- metorik_profile boolean
- resource_link string
- pagination object
+ - Show Child Attributes
- current_page integer
- per_page integer
- has_more_pages boolean