{
  "info": {
    "_postman_id": "28db7106-354b-4559-8f58-8f2726851e95",
    "name": "admin dash reports",
    "description": "Admin dashboard reports only.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "baseUrl", "value": "http://127.0.0.1:8000/api" },
    { "key": "super_admin_token", "value": "" },
    { "key": "from", "value": "2026-04-01" },
    { "key": "to", "value": "2026-04-30" },
    { "key": "perPage", "value": "20" },
    { "key": "status", "value": "" },
    { "key": "search", "value": "" },
    { "key": "storeId", "value": "" },
    { "key": "coveredBy", "value": "" },
    { "key": "applyOn", "value": "" },
    { "key": "voucherFrom", "value": "" },
    { "key": "voucherTo", "value": "" },
    { "key": "isActive", "value": "" }
  ],
  "auth": { "type": "noauth" },
  "item": [
    {
      "name": "Admin Dashboard Reports",
      "item": [
        {
          "name": "GET All Orders Report",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [{ "key": "token", "value": "{{super_admin_token}}", "type": "string" }]
            },
            "method": "GET",
            "header": [{ "key": "Accept", "value": "application/json" }],
            "url": {
              "raw": "{{baseUrl}}/admin/dashboard/reports/all-orders?from={{from}}&to={{to}}&status={{status}}&store_id={{storeId}}&search={{search}}&per_page={{perPage}}",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "dashboard", "reports", "all-orders"],
              "query": [
                { "key": "from", "value": "{{from}}" },
                { "key": "to", "value": "{{to}}" },
                { "key": "status", "value": "{{status}}" },
                { "key": "store_id", "value": "{{storeId}}" },
                { "key": "search", "value": "{{search}}" },
                { "key": "per_page", "value": "{{perPage}}" }
              ]
            }
          }
        },
        {
          "name": "GET Canceled Orders Report",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [{ "key": "token", "value": "{{super_admin_token}}", "type": "string" }]
            },
            "method": "GET",
            "header": [{ "key": "Accept", "value": "application/json" }],
            "url": {
              "raw": "{{baseUrl}}/admin/dashboard/reports/canceled-orders?from={{from}}&to={{to}}&store_id={{storeId}}&search={{search}}&per_page={{perPage}}",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "dashboard", "reports", "canceled-orders"],
              "query": [
                { "key": "from", "value": "{{from}}" },
                { "key": "to", "value": "{{to}}" },
                { "key": "store_id", "value": "{{storeId}}" },
                { "key": "search", "value": "{{search}}" },
                { "key": "per_page", "value": "{{perPage}}" }
              ]
            }
          }
        },
        {
          "name": "GET Discounts Report",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [{ "key": "token", "value": "{{super_admin_token}}", "type": "string" }]
            },
            "method": "GET",
            "header": [{ "key": "Accept", "value": "application/json" }],
            "url": {
              "raw": "{{baseUrl}}/admin/dashboard/reports/discounts?from={{from}}&to={{to}}&store_id={{storeId}}&covered_by={{coveredBy}}&apply_on={{applyOn}}&voucher_from={{voucherFrom}}&voucher_to={{voucherTo}}&is_active={{isActive}}&search={{search}}&per_page={{perPage}}",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "dashboard", "reports", "discounts"],
              "query": [
                { "key": "from", "value": "{{from}}" },
                { "key": "to", "value": "{{to}}" },
                { "key": "store_id", "value": "{{storeId}}" },
                { "key": "covered_by", "value": "{{coveredBy}}" },
                { "key": "apply_on", "value": "{{applyOn}}" },
                { "key": "voucher_from", "value": "{{voucherFrom}}" },
                { "key": "voucher_to", "value": "{{voucherTo}}" },
                { "key": "is_active", "value": "{{isActive}}" },
                { "key": "search", "value": "{{search}}" },
                { "key": "per_page", "value": "{{perPage}}" }
              ]
            }
          }
        },
        {
          "name": "GET Products Analysis Report",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [{ "key": "token", "value": "{{super_admin_token}}", "type": "string" }]
            },
            "method": "GET",
            "header": [{ "key": "Accept", "value": "application/json" }],
            "url": "{{baseUrl}}/admin/dashboard/reports/products-analysis"
          }
        },
        {
          "name": "GET Supply Demand Distribution Report",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [{ "key": "token", "value": "{{super_admin_token}}", "type": "string" }]
            },
            "method": "GET",
            "header": [{ "key": "Accept", "value": "application/json" }],
            "url": "{{baseUrl}}/admin/dashboard/reports/supply-demand-distribution"
          }
        },
        {
          "name": "GET Financial Report",
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [{ "key": "token", "value": "{{super_admin_token}}", "type": "string" }]
            },
            "method": "GET",
            "header": [{ "key": "Accept", "value": "application/json" }],
            "url": {
              "raw": "{{baseUrl}}/admin/dashboard/reports/financial?from={{from}}&to={{to}}",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "dashboard", "reports", "financial"],
              "query": [
                { "key": "from", "value": "{{from}}" },
                { "key": "to", "value": "{{to}}" }
              ]
            }
          }
        }
      ]
    }
  ]
}
