location

Location - Get All

Changed on

Retrieve all locations for a specific warehouse.

get/location/get_all

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/location/get_all
  • Auth
    HTTP bearer

Query parameters

warehouse_idstring required

Warehouse ID to get all locations for

Example:507f1f77bcf86cd799439011

Response

All locations in the warehouse with their inventory items

Example response

{
  "locations": [
    {
      "_id": "507f1f77bcf86cd799439011",
      "warehouse_id": "507f1f77bcf86cd799439011",
      "items": [
        {
          "item_id": "507f1f77bcf86cd799439011"
        }
      ]
    }
  ]
}

Changes

    • breaking

      the query request parameter warehouse_id became required

    • info

      api operation id get_location_get_all was added

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status