---
title: "GET /api/app/customers/my-orders/{customerId}"
method: GET
path: "/api/app/customers/my-orders/{customerId}"
tags: ["Customers"]
---

# GET /api/app/customers/my-orders/{customerId}

`GET /api/app/customers/my-orders/{customerId}`

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

## Path parameters

- `customerId` string, uuid, required

## Query parameters

- `PageSize` integer
- `PageIndex` integer

## Response `200`

Success

- KhaasFoodCustomersDTOsCustomerOrderDto[]
  - `orderId` string, uuid
  - `orderReferenceNumber` string, nullable
  - `customerId` string, uuid
  - `wcCustomerId` integer, nullable
  - `total` number, double
  - `subTotal` number, double
  - `paidAmount` number, double
  - `discount` number, double
  - `deliveryCharge` number, double
  - `orderDate` string, date-time
  - `deliveryDate` string, date-time
  - `status` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
  - `statusName` string, nullable
  - `lineItems` KhaasFoodCustomersDTOsCustomerOrderLineItemDto[], nullable
    - `productName` string, nullable
    - `quantity` number, double
    - `price` number, double
    - `total` number, double

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