---
title: "/test/:create-warehouse"
method: POST
path: "/api/backend/clientwarehouse/create/"
---

# /test/:create-warehouse

`POST /api/backend/clientwarehouse/create/`

## Headers

- `Authorization` string, required
- `Content-Type` string, required
- `Accept` string

## Request body

- object
  - `phone` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Associated phone number in Numeric or in Masking format with the warehouse</p>
  - `city` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">City of the pickup location</p>
  - `name` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Name of the warehouse with which the warehouse gets created in delhivery system</p>
  - `pin` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Pin code of the pickup location</p>
  - `address` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Associated pickup location address</p>
  - `country` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Country associated</p>
  - `email` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Associated email address</p>
  - `registered_name` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Ideally this name should be same as the name mentioned in the above field</p>
  - `return_address` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Address where shipment need to be returned</p>
  - `return_pin` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Return Pin Code</p>
  - `return_city` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">City where shipment need to be returned</p>
  - `return_state` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">State of the Return location</p>
  - `return_country` string, required — <p style="font-size:15px;font-family:Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;color: #001a00;text-align:justify;">Country where shipment need to be returned</p>

## Response `200`

200

- object
  - `data` object
    - `working_hours` unknown
    - `name` string
    - `pincode` integer
    - `type_of_clientwarehouse` unknown
    - `phone` string
    - `client` string
    - `address` string
    - `active` boolean
    - `message` string
    - `largest_vehicle_constraint` unknown
  - `success` boolean
  - `error` string

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/delhivery/apis/warehouse-management-api.md) · [All operations](https://skmtc.dev/delhivery/apis/warehouse-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/delhivery/warehouse-management-api/revisions/41909a158c72/schema)
