Reports

Orders devices

Returns order counts and sales totals split by device category for the selected period.

GET /api/v1/store/reports/orders-devices

Orders devices

curl --request GET \
  --url 'https://{baseUrl}/api/v1/store/reports/orders-devices' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "meta": {
    "report_link": "https://app.metorik.com/reports/devices",
    "has_ga": false
  },
  "totals": {
    "count": 58,
    "total": 8924.2
  },
  "data": [
    {
      "name": "desktop",
      "count": 34,
      "total": 5210.8
    },
    {
      "name": "mobile",
      "count": 24,
      "total": 3713.4
    }
  ]
}

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