InventoryLocations
Move Location
Move a location to a new parent
This endpoint allows moving LPN or TOTE locations to a new parent location.
STATIC locations cannot be moved.
Authorization
api_key x-access-token<token>
In: header
Path Parameters
location_id*string
The ID of the location to move
Request Body
application/json
The new parent location
The new parent location
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/shipos/locations/string/move" \ -H "Content-Type: application/json" \ -d '{ "parent_location_id": "string" }'{ "barcode": "string", "team_id": "string", "parent_location_name": "string", "parent_location_id": "string", "warehouse_name": "string", "warehouse_id": "string", "location_type_name": "string", "location_type_id": "string", "location_kind": "STATIC", "on_hand": 0.1, "flagged_for_review": true, "is_empty": true, "is_hospital": true, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "priority": 0.1, "sellable": true, "pickable": true, "name": "string", "id": "string", "product_stock": [ { "uom_label": "string", "uom_multiplier_to_eaches": 0, "uom_profile_id": "string", "location_kind": "STATIC", "location_pickable": true, "location_sellable": true, "parent_location_name": "string", "location_name": "string", "product_type": "STANDARD", "image_url": "string", "sku": "string", "name": "string", "warehouse_name": "string", "warehouse_id": "string", "team_id": "string", "merchant_team_id": "string", "fulfiller_team_id": "string", "location_id": "string", "product_id": "string", "created_at": "2019-08-24T14:15:22Z", "received_at": "2019-08-24T14:15:22Z", "expiration_date": "2019-08-24T14:15:22Z", "lot_code": "string", "updated_at": "2019-08-24T14:15:22Z", "on_hand": 0.1, "id": "string" } ], "child_locations": [ { "barcode": "string", "team_id": "string", "parent_location_name": "string", "parent_location_id": "string", "warehouse_name": "string", "warehouse_id": "string", "location_type_name": "string", "location_type_id": "string", "location_kind": "STATIC", "on_hand": 0.1, "flagged_for_review": true, "is_empty": true, "is_hospital": true, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "priority": 0.1, "sellable": true, "pickable": true, "name": "string", "id": "string", "product_stock": [ { "uom_label": "string", "uom_multiplier_to_eaches": 0, "uom_profile_id": "string", "location_kind": "STATIC", "location_pickable": true, "location_sellable": true, "parent_location_name": "string", "location_name": "string", "product_type": "STANDARD", "image_url": "string", "sku": "string", "name": "string", "warehouse_name": "string", "warehouse_id": "string", "team_id": "string", "merchant_team_id": "string", "fulfiller_team_id": "string", "location_id": "string", "product_id": "string", "created_at": "2019-08-24T14:15:22Z", "received_at": "2019-08-24T14:15:22Z", "expiration_date": "2019-08-24T14:15:22Z", "lot_code": "string", "updated_at": "2019-08-24T14:15:22Z", "on_hand": 0.1, "id": "string" } ] } ]}