---
title: "Creates a new user addresses"
method: POST
path: "/api/v1/addresses"
tags: ["address"]
---

# Creates a new user addresses

`POST /api/v1/addresses`

Creates a new user addresses. Does nothing if address already exists.

## Request body

- AddAddressReq
  - `id` string — Order identifier
  - `number` string — house of flat number
  - `residency` string — Socieity or building name
  - `street` string — street name
  - `city` string — city name
  - `state` string — state name
  - `country` string — country name
  - `pincode` string — postal code
  - `userId` string

## Response `200`

For successful fetch.

- Address
  - `id` string — Order identifier
  - `number` string — house of flat number
  - `residency` string — Socieity or building name
  - `street` string — street name
  - `city` string — city name
  - `state` string — state name
  - `country` string — country name
  - `pincode` string — postal code

---

[API](https://skmtc.dev/packtpublishing/apis/sample-ecommerce-app.md) · [All operations](https://skmtc.dev/packtpublishing/apis/sample-ecommerce-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/packtpublishing/sample-ecommerce-app/revisions/51a26ae44206/schema)
