Reports

Orders by day of week

Returns order counts and sales totals grouped by weekday across the selected period.

GET /api/v1/store/reports/orders-by-day

Orders by day of week

curl --request GET \
  --url 'https://{baseUrl}/api/v1/store/reports/orders-by-day' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "meta": {
    "report_link": "https://app.metorik.com/reports/orders"
  },
  "totals": {
    "orders": 82,
    "total": 12450.5
  },
  "data": [
    {
      "day": "Monday",
      "orders": 9,
      "total": 1320.4
    },
    {
      "day": "Tuesday",
      "orders": 12,
      "total": 1844.7
    }
  ]
}

No response description.

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_filters string

    Optional JSON-encoded array of order-level filters applied before calculating the report. See Order Filters Reference. Cannot be combined with segment. Example: [{"field":"billing_address_country","operator":"eq","value":"US"}]

  • segment integer

    Optional saved store-wide order segment ID. You can find the ID on the order segments page. Example: 123

  • 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
  • meta object
    + Show Child Attributes
    • report_link string
  • totals object
    + Show Child Attributes
    • orders integer
    • total number
  • data[] object array
    + Show Child Attributes
    • day string
    • orders integer
    • total number