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).
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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Location created successfully