inventory

Move Inventory

Move inventory from one location to another location in the same warehouse.

put/inventory/move

Request

  • Base URL: https://app.zenventory.com/rest
  • URL: https://app.zenventory.com/rest/inventory/move
  • Auth: none declared

Request body

warehouseIdinteger

Id of the warehouse the inventory is in. If no warehouse parameters are given, then the user's current warehouse will be used.

warehouseNamestring

Name of the warehouse the inventory is in. If no warehouse parameters are given, then the user's current warehouse will be used.

originLocationIdinteger required

Id of the location the inventory is being moved from.

originLocationNamestring required

Name of the location the inventory is being moved from. Ignored if originLocationId is provided.

notestring

A note about the inventory moves.

Response

Success

hasErrorsboolean

True if any destinations had at least one error.

Example response

{
  "hasErrors": true,
  "successfulDestinations": {
    "1": {
      "error": null,
      "successfulItems": {
        "0": true
      },
      "failedItems": []
    }
  },
  "failedDestinations": {
    "0": {
      "error": null,
      "successfulItems": {
        "0": true
      },
      "failedItems": {
        "1": {
          "code": "invalid_parameter",
          "message": "Quantity exceeds movable quantity at location.",
          "parameter": "quantity"
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.