curl --request POST \
--url https://api.skulabs.com/location/add_item \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "507f1f77bcf86cd799439011",
"item_id": "507f1f77bcf86cd799439011",
"on_hand": 10,
"alert": 5
}
'{
"success": true
}Assign an item to a warehouse location.
curl --request POST \
--url https://api.skulabs.com/location/add_item \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "507f1f77bcf86cd799439011",
"item_id": "507f1f77bcf86cd799439011",
"on_hand": 10,
"alert": 5
}
'{
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Item added to location successfully
Whether the operation succeeded