---
title: "POST /api/app/addresses"
method: POST
path: "/api/app/addresses"
tags: ["Addresses"]
---

# POST /api/app/addresses

`POST /api/app/addresses`

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

## Request body

- KhaasFoodAddressesDTOsAddressCreateUpdateInputDto
  - `addressName` string, nullable
  - `isHome` boolean
  - `isOffice` boolean
  - `isDefault` boolean
  - `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
  - `customerId` string, uuid, required
  - `isActive` boolean
  - `isShowOnMobile` boolean

## Response `200`

Success

- KhaasFoodAddressesDTOsAddressDto
  - `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

## 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`: 14 info
  - added the new optional request property `isHome` (media type: application/json-patch+json)
  - added the new optional request property `isHome` (media type: application/json)
  - added the new optional request property `isHome` (media type: text/json)
  - added the new optional request property `isHome` (media type: application/*+json)
  - …10 more

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/api/app/addresses/post.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)
