Create a Stock Location
POST
/api/v1/stock-locations
acceptstringGenerated from available response content types
Site-IdstringSpark Layer Site ID
bodyobject
200Successful response
defaultError Response
curl --request POST \
--url /api/v1/stock-locations \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'site-id: jones-climbing' \
--data '{
"name": "Stock Warehouse 1",
"external_id": "warehouse-1"
}'