Warehouses

Warehouses are storage centers where companies can set as predefined locations. Companies can use warehouse depots as pickup and delivery locations.

Warehouses serve as a shortcut while creating tasks since they have location information set. Parameters: (latitude, longitude, physical address)

Warehouse Management

Fetching all warehouses

Endpoint GET /warehouse/list

  • Fetches all warehouses belonging to the company.

Schema

Response

{
  "errFlag" // Error code. (int)
  "errMsg" // Error message. (string)
  "warehouses" [ // Warehouse list. (array)
    "id" // Warehouse id represented in the client's platform. (string)
    "name" // Warehouse name. (string)
    "company_id" // Company id that owns the warehouse. (string)
    "location" // Warehouse location information. (string) (json) {
      "lat" // Location latitude. (double)
      "lng" // Location longitude. (double)
      "address" // Location physical address. (string)
    }
    "lat" // Warehouse location latitude. (double)
    "lng" // Warehouse location longitude. (double)
  ]
}

Example

curl
-X GET
-u '**APIKeyId**:**APISecretId*'
"https://api.shippify.co/warehouse/list"

Payload

{
  "errFlag": 0,
  "warehouses": [
    {
      "id": 29,
      "name": "Av Quito",
      "id_company": 2,
      "location": "{\"address\":\"Avenida Quito, Guayaquil, Guayas, Ecuador\",\"lat\":\"-2.19761\",\"lng\":\"-79.8917601\",\"country\":\"EC\"}",
      "lat": -2.19761,
      "lng": -79.8918
    },
    {
      "id": 32,
      "name": "Alborada V Etapa",
      "id_company": 2,
      "location": "{\"address\":\"Alborada V, Guayaquil, Guayas, Ecuador\",\"lat\":\"-2.1365745\",\"lng\":\"-79.89618000000002\",\"country\":\"EC\"}",
      "lat": -2.13657,
      "lng": -79.8962
    }  
  ]
}

results matching ""

    No results matching ""