Skip to main content
POST
Location - Create

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
warehouse_id
string
required

Warehouse ID to create the location in

Example:

"507f1f77bcf86cd799439011"

name
string
required

Location name

Example:

"Shelf A-1"

Response

Location created successfully

_id
string
required

Location ID

Example:

"507f1f77bcf86cd799439011"

success
boolean
required

Whether the operation succeeded

warehouse_id
string
required

Parent warehouse ID

Example:

"507f1f77bcf86cd799439011"

name
string
required

Location name

note
string

Additional note, e.g. if location already existed