---
title: "GET /api/app/sales/download-csv"
method: GET
path: "/api/app/sales/download-csv"
tags: ["Sales"]
---

# GET /api/app/sales/download-csv

`GET /api/app/sales/download-csv`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/app/sales/download-csv`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Query parameters

- `WarehouseId` string, uuid
- `IsActive` boolean
- `OrderState` integer
- `SaleFrom` integer
- `SearchState` integer
- `StartTime` string, date-time
- `EndTime` string, date-time
- `IsDealerSale` boolean
- `IsEcomSale` boolean
- `IsDistributorSale` boolean
- `IsDemand` boolean
- `IsTagSale` boolean
- `TagKeyword` string
- `IsSearchByProduct` boolean
- `Keyword` string
- `IsDueOnly` boolean
- `IsOfficeSupplySale` boolean
- `IsReturn` boolean
- `Sorting` string
- `SkipCount` integer
- `MaxResultCount` integer

## Response `200`

Success

- string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
