cURL
curl --request POST \ --url https://api.skulabs.com/location/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "warehouse_id": "507f1f77bcf86cd799439011", "name": "Shelf A-1" } '
{ "_id": "507f1f77bcf86cd799439011", "success": true, "warehouse_id": "507f1f77bcf86cd799439011", "name": "<string>", "note": "<string>" }
Create a new location within a warehouse (e.g. bin, shelf, or zone).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Warehouse ID to create the location in
"507f1f77bcf86cd799439011"
Location name
"Shelf A-1"
Location created successfully
Location ID
Whether the operation succeeded
Parent warehouse ID
Additional note, e.g. if location already existed