GET
/
api
/
v1
/
reports
/
orders
curl --request GET \
  --url https://api.byblend.com/api/v1/reports/orders \
  --header 'Authorization: Bearer <token>'
{
  "date_range": "2025-01-01 to 2025-01-31",
  "total_orders": 179,
  "orders_by_status": [
    {
      "status_code": "N01",
      "status_name": "Received",
      "count": 23
    },
    {
      "status_code": "P01",
      "status_name": "Data Entry",
      "count": 19
    },
    {
      "status_code": "S01",
      "status_name": "Shipping",
      "count": 46
    }
  ],
  "orders_by_product": {
    "prescription": [
      {
        "name": "Rapamycin 100mg",
        "id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
        "count": 920
      }
    ],
    "non_prescription": [
      {
        "name": "PABA-free sunscreen",
        "id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
        "count": 412
      }
    ],
    "order_material": [
      {
        "name": "Q4 2025 information packet",
        "id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
        "count": 550
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

start_date
string
required

Start date of the date range to report on

Example:

"2025-01-01"

end_date
string
required

End date of the date range to report on

Example:

"2025-01-31"

include
string

Optional parameter to specify which fields to return in the report (status, count, products). Separate multiple fields with commas.

Example:

"status,count"

Response

200 - application/json

Successful response with order report

The response is of type object.