---
title: "GET /api/app/issue/{id}"
method: GET
path: "/api/app/issue/{id}"
tags: ["Issue"]
---

# GET /api/app/issue/{id}

`GET /api/app/issue/{id}`

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

## Path parameters

- `id` string, uuid, required

## Response `200`

Success

- KhaasFoodIssuesDtosIssueDto
  - `id` string, uuid
  - `issueNumber` string, nullable
  - `status` 1 | 2 | 3 | 4 | 5
  - `urgency` 1 | 2 | 3 | 4
  - `saleChannel` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
  - `deadLine` string, date-time, nullable
  - `dueDate` string, date-time, nullable
  - `description` string, nullable
  - `invoiceNumber` string, nullable
  - `statusChanges` KhaasFoodEnumsIssuesIssueStatus[], nullable
  - `departmentChanges` string[], nullable
  - `histories` KhaasFoodIssuesDtosIssueHistoryDto[], nullable
    - `creationTime` string, date-time
    - `creatorId` string, uuid, nullable
    - `lastModificationTime` string, date-time, nullable
    - `lastModifierId` string, uuid, nullable
    - `id` string, uuid
    - `status` 1 | 2 | 3 | 4 | 5
    - `department` KhaasFoodIssuesDtosDepartmentDto
      - `id` string, uuid
      - `name` string, nullable
    - `creator` KhaasFoodUsersDtosUserDto
      - `id` string, uuid
      - `name` string, nullable
      - `userName` string, nullable
      - `email` string, nullable
  - `comments` KhaasFoodIssuesDtosIssueCommentDto[], nullable
    - `time` string, date-time
    - `department` string, nullable
    - `comment` string, nullable
    - `userName` string, nullable
    - `userEmail` string, nullable
  - `departmentId` string, uuid, nullable
  - `departmentName` string, nullable
  - `subCategoryId` string, uuid
  - `subCategory` KhaasFoodIssuesDtosIssueSubCategoryDto
    - `id` string, uuid
    - `name` string, nullable
    - `description` string, nullable
    - `isActive` boolean
    - `categoryId` string, uuid
    - `category` KhaasFoodIssuesDtosIssueCategoryDto
      - `id` string, uuid
      - `name` string, nullable
      - `description` string, nullable
      - `isActive` boolean
      - `isItSupport` boolean
      - `subCategories` KhaasFoodIssuesDtosIssueSubCategoryDto[], nullable
  - `saleId` string, uuid, nullable
  - `sale` 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
  - `customerId` string, uuid, nullable
  - `customerName` string, nullable
  - `customerPhone` string, nullable
  - `customer` KhaasFoodCustomersDTOsCustomersCustomerDto
    - `id` string, uuid
    - `creationTime` string, date-time
    - `creatorId` string, uuid, nullable
    - `lastModificationTime` string, date-time, nullable
    - `lastModifierId` string, uuid, nullable
    - `otherAmount` number, double
    - `totalDiscount` number, double
    - `productAmount` number, double
    - `totalPaid` number, double
    - `totalDue` number, double
    - `ordersCount` integer
    - `totalAmount` number, double
    - `membershipCardNo` string, nullable
    - `name` string, nullable
    - `occupation` string, nullable
    - `university` string, nullable
    - `company` string, nullable
    - `district` string, nullable
    - `phone` string, nullable
    - `email` string, nullable
    - `nationalId` string, nullable
    - `imageUrl` string, nullable
    - `point` integer
    - `remarks` string, nullable
    - `isActive` boolean
    - `isRestrictRedeem` boolean
    - `isOverMaxOrderLimitPerMonth` boolean
    - `maxOrderLimitPerMonth` integer, nullable
    - `addresses` KhaasFoodAddressesDTOsAddressDto[], nullable
      - `id` string, uuid
      - `creationTime` string, date-time
      - `creatorId` string, uuid, nullable
      - `lastModificationTime` string, date-time, nullable
      - `lastModifierId` string, uuid, nullable
      - `customerId` string, uuid, nullable
      - `contactName` string, nullable
      - `contactPhone` string, nullable
      - `streetAddress` string, nullable
      - `area` string, nullable
      - `thana` string, nullable
      - `postCode` string, nullable
      - `district` string, nullable
      - `country` string, nullable
      - `specialNote` string, nullable
      - `addressName` string, nullable
      - `isHome` boolean
      - `isOffice` boolean
      - `isDefault` boolean
      - `isActive` boolean
      - `isShowOnMobile` boolean
    - `kamUserName` string, nullable
    - `referralCode` string, nullable
    - `coupons` string[], nullable
  - `products` KhaasFoodIssuesDtosIssueProductDto[], nullable
    - `id` string, uuid
    - `name` string, nullable
    - `variationName` string, nullable
    - `parentName` string, nullable
    - `barcode` string, nullable
    - `productCode` string, nullable
  - `warehouseId` string, uuid, nullable
  - `warehouse` KhaasFoodWarehousesDtosWarehousesWarehouseDto
    - `name` string, nullable
    - `streetAddress` string, nullable
    - `area` string, nullable
    - `district` string, nullable
    - `isMain` boolean
    - `isActive` boolean
    - `warehouseType` 0 | 1 | 2 | 3 | 4 | 5 | 6
    - `syncOnAccounting` boolean
    - `id` string, uuid
    - `isUseInOnlineSale` boolean
    - `isUseInPosSale` boolean
    - `isUseInEComSale` boolean
    - `isUseInDealerSale` boolean
  - `videoAttachmentUrls` string[], nullable
  - `imageAttachmentsUrls` string[], nullable
  - `isCreatedByCustomer` boolean

## Other responses

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

## Changes

> 11 revisions in range; 1 not diffed.

- **2026-11-01** `664d574d3e4d`: 9 info
  - added the optional property `customer/addresses/items/isHome` to the response with the `200` status (media type: text/plain)
  - added the optional property `customer/addresses/items/isHome` to the response with the `200` status (media type: application/json)
  - added the optional property `customer/addresses/items/isHome` to the response with the `200` status (media type: text/json)
  - added the optional property `customer/addresses/items/isOffice` to the response with the `200` status (media type: text/plain)
  - …5 more

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/api/app/issue/:id/get.md)

---

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