---
title: "GET /api/app/sales/sale/{orderNumber}"
method: GET
path: "/api/app/sales/sale/{orderNumber}"
tags: ["Sales"]
---

# GET /api/app/sales/sale/{orderNumber}

`GET /api/app/sales/sale/{orderNumber}`

## 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/sale/{orderNumber}`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Path parameters

- `orderNumber` string, required

## Response `200`

Success

- KhaasFoodSalesDTOsSaleDataDto
  - `id` string, uuid
  - `customerId` string, uuid, nullable
  - `deliveryDate` string, date-time
  - `creationTime` string, date-time
  - `lastModificationTime` string, date-time, nullable
  - `deliverymanId` string, nullable
  - `deliverymanName` string, nullable
  - `deliverymanPhone` string, nullable
  - `orderState` integer
  - `saleFrom` integer
  - `customerName` string, nullable
  - `customerPhone` string, nullable
  - `remarks` string, nullable
  - `orderNumber` string, nullable
  - `orderReferenceNumber` string, nullable
  - `payableTotalAmount` number, double
  - `dueAmount` number, double
  - `isDealerSale` boolean
  - `dealerId` string, uuid, nullable
  - `dealerName` string, nullable
  - `dealerPhone` string, nullable
  - `isDistributorrSale` boolean
  - `distributorId` string, uuid, nullable
  - `distributorName` string, nullable
  - `distributorPhone` string, nullable
  - `distributorCode` string, nullable
  - `distributorDistrict` string, nullable
  - `distributorThana` string, nullable
  - `searchDateTime` string, date-time
  - `hasGiftOrDamage` boolean
  - `wareHouseId` string, uuid
  - `isMainWarehouse` boolean
  - `isReturn` boolean
  - `returnNote` string, nullable
  - `returnReason` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
  - `originalSaleId` string, uuid, nullable
  - `originalSaleOrderNumber` string, nullable
  - `isReturned` boolean
  - `returnOrderState` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

## 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)
