kilbot
11/28/2016 - 7:58 AM

Z-Report Response

Z-Report Response

[
  {
    "total_sales": "0.00",
    "net_sales": "0.00",
    "total_orders": 0,
    "total_items": 0,
    "total_tax": "0.00",
    "total_shipping": "0.00",
    "total_refunds": 0,
    "total_discount": "0.00",
    "sales_by_gateway": {
      "pos_cash": {
        "sales": "0.00",
        "orders": 0,
        "tax": "0.00",
        "shipping": "0.00",
        "discount": "0.00"
      },
      "pos_card": {
        "sales": "0.00",
        "orders": 0,
        "tax": "0.00",
        "shipping": "0.00",
        "discount": "0.00"
      },
      "stripe": {
        "sales": "0.00",
        "orders": 0,
        "tax": "0.00",
        "shipping": "0.00",
        "discount": "0.00"
      }
    },
    "sales_by_category": {
      "music": {
        "sales": "0.00",
        "orders": 0,
        "items": 0,
        "tax": "0.00",
        "discount": "0.00"
      },
      "clothes": {
        "sales": "0.00",
        "orders": 0,
        "items": 0,
        "tax": "0.00",
        "discount": "0.00"
      },
      "posters": {
        "sales": "0.00",
        "orders": 0,
        "items": 0,
        "tax": "0.00",
        "discount": "0.00"
      }
    },
    "taxes": [
      {
        "id": 1,
        "rate_code": "VAT-5",
        "rate_id": "5",
        "label": "VAT 5%",
        "tax_total": "0.00",
        "shipping_tax_total": "0.00"
      },
      {
        "id": 2,
        "rate_code": "VAT-20",
        "rate_id": "6",
        "label": "VAT 20%",
        "tax_total": "0.00",
        "shipping_tax_total": "0.00"
      }
    ]
  }
]