Inventory V2

Get all warehouses

Returns all warehouses with their IDs, for use in stock operations.

get/v2/inventory/warehouses/list

Request

  • Base URL
    https://app.getswipe.in/api/partner
  • URL
    https://app.getswipe.in/api/partner/v2/inventory/warehouses/list
  • Auth
    HTTP bearer

Response

Success

successboolean

Success

errorsobject

Error details

error_codestring

Error Code

messagestring

Message

Example response

{
  "warehouses": [
    {
      "warehouse_id": 1,
      "name": "Main Warehouse"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.