v1

latestOpenAPI 3.0.32026-07-13149852.3 MB
warehouse

Warehouse - Create

Create a new warehouse with name and address details.

post/warehouse/create

Request body

namestring required

Warehouse name

typestring

Warehouse type

Example request

{
  "name": "Main Warehouse"
}

Response

Warehouse created

successboolean required

Whether the operation succeeded

_idstring required

ID of the created resource

Example response

{
  "_id": "507f1f77bcf86cd799439011"
}