Skip to main content
POST
/
v1
/
products
/
{id}
/
relocate
Relocate all inventory items for a product to a new 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>"
  }
}

Path Parameters

id
string
required

Product UUID or taxonomy ID

Body

application/json
target_slot_id
string<uuid>
required

Response

Inventory relocated

success
boolean
required
relocated_count
number
required
target_slot
object
required