POST:inventory_locations/relocate.json
Commerce APIPOST:inventory_locations/relocate.json

POST:inventory_locations/relocate.json

Description

Relocate inventory location inventory to another inventory location.

Permission bit: "inventory_locations.relocate"

Topic: Inventory Locations

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

InventoryLocationRelocate

{
  "from_inventory_location_id": "il_EQzGqWoY",
  "to_inventory_location_id": "il_EQzGqWoY"
}

Response Body

ForeignShardedTask

Response Body Type

Loading module