curl --request POST \
--url http://localhost:3000/v1/products/{id}/relocate \
--header 'Content-Type: application/json' \
--data '
{
"target_slot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"success": true,
"relocated_count": 123,
"target_slot": {
"id": "<string>",
"location_code": "<string>"
}
}Moves all active inventory items for a product to a different warehouse slot.
curl --request POST \
--url http://localhost:3000/v1/products/{id}/relocate \
--header 'Content-Type: application/json' \
--data '
{
"target_slot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"success": true,
"relocated_count": 123,
"target_slot": {
"id": "<string>",
"location_code": "<string>"
}
}