Reports

Orders operating systems

Returns order counts and sales totals split by operating system for the selected period.

GET /api/v1/store/reports/orders-operating-systems

Orders operating systems

curl --request GET \
  --url 'https://{baseUrl}/api/v1/store/reports/orders-operating-systems' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "meta": {
    "report_link": "https://app.metorik.com/reports/devices",
    "has_ga": false
  },
  "totals": {
    "count": 63,
    "total": 9541.7
  },
  "data": [
    {
      "name": "Windows",
      "count": 28,
      "total": 4388.9
    },
    {
      "name": "iOS",
      "count": 19,
      "total": 2874.5
    }
  ]
}

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

  • 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
    • has_ga boolean
  • totals object
    + Show Child Attributes
    • count integer
    • total number
  • data[] object array
    + Show Child Attributes
    • name string
    • count integer
    • total number