DeltaX Client REST HTTP API
    • Webhook Integration Documentation
    • trip
      • Get Trip by ID
      • Update Trip
      • Create Incidence
      • List Trips
    • route
      • List Routes
      • Get Route by ID
      • List Warehouses
      • Get Warehouse by ID
      • List Window Availability
    • company
      • List Transport Companies
      • Get Transport Company by ID
    • fleet
      • List Transport Units
      • Get Transport Unit by ID
      • List Truckers
      • Get Trucker by ID
      • List Dollies
      • Get Dolly by ID
    • rates
      • List Rates
    • webhook
      • List Webhook Callback Registrations
      • Update Webhook Callback Registration
    • Schemas
      • Schemas
      • Response
        • Success
        • SuccessCreated
        • InternalServerError
        • BadRequest
        • NotFound
        • Unauthenticated
        • TripUpdateSuccess
        • IncidenceCreateSuccess
        • TripSuccess
        • TripsListSuccess
        • RouteSuccess
        • RoutesListSuccess
        • WarehouseSuccess
        • WarehousesListSuccess
        • TransportCompanySuccess
        • TransportCompaniesListSuccess
        • TransportUnitSuccess
        • TransportUnitsListSuccess
        • TruckerSuccess
        • TruckersListSuccess
        • DollySuccess
        • DolliesListSuccess
        • WindowAvailabilitySuccess
        • Unauthorized
      • IncidenceCreate
      • TripUpdate
      • TripUpdateResponse
      • ClientTripUpdate
      • ClientIncidence
      • IncidenceCreateResponse
      • Trip
      • TripResponse
      • TripsListResponse
      • PaginationInfo
      • Route
      • RouteResponse
      • RoutesListResponse
      • Warehouse
      • WarehouseResponse
      • WarehousesListResponse
      • TransportCompany
      • TransportCompanyResponse
      • TransportCompaniesListResponse
      • TransportUnit
      • TransportUnitResponse
      • TransportUnitsListResponse
      • Trucker
      • TruckerResponse
      • TruckersListResponse
      • Dolly
      • DollyResponse
      • DolliesListResponse
      • WindowAvailability
      • WindowAvailabilityResponse
      • WebhookRegistration
      • WebhookRegistrationUpdate
      • CallbackRegistrationsListResponse
      • CallbackRegistrationUpdateResponse

    WarehousesListResponse

    Response containing list of warehouses with pagination information

    {
        "message": "Warehouses retrieved successfully",
        "data": {
            "warehouses": [
                {
                    "_id": "507f1f77bcf86cd799439018",
                    "I2Code": "2070603000",
                    "sapCode": "WH001",
                    "name": "MAIN DISTRIBUTION CENTER",
                    "countryName": "Mexico",
                    "stateCode": "MX",
                    "stateName": "Mexico",
                    "municipalityCode": "015",
                    "municipalityName": "Ecatepec de Morelos",
                    "localityCode": "0001",
                    "localityName": "Ecatepec de Morelos",
                    "colonyCode": "0001",
                    "colonyName": "Centro",
                    "postalCode": "55000",
                    "address": "Av. Central 123",
                    "street": "Av. Central",
                    "externalNumber": "123",
                    "internalNumber": "A",
                    "lng": -99.0608,
                    "lat": 19.6073,
                    "geofences": [
                        {
                            "_id": "507f1f77bcf86cd799439020",
                            "name": "Main Entrance",
                            "type": "entry",
                            "points": [
                                {
                                    "lng": -99.0608,
                                    "lat": 19.6073
                                }
                            ]
                        }
                    ],
                    "windows": [
                        {
                            "_id": "507f1f77bcf86cd799439021",
                            "order": 1,
                            "weekDay": [
                                "Monday"
                            ],
                            "startTime": "08:00",
                            "endTime": "17:00",
                            "durationMins": 540,
                            "repetition": "weekly",
                            "simpleLoad": true,
                            "simpleLoadCount": 5,
                            "simpleUnLoad": true,
                            "simpleUnLoadCount": 3,
                            "simpleLoadUnLoad": false,
                            "simpleLoadUnLoadCount": 0,
                            "simpleExpeditionTypes": "TRUCK",
                            "fullLoad": true,
                            "fullLoadCount": 2,
                            "fullUnLoad": true,
                            "fullUnLoadCount": 2,
                            "fullLoadUnLoad": true,
                            "fullLoadUnLoadCount": 1,
                            "fullExpeditionTypes": "FULL_TRUCK",
                            "isAvailable": true
                        }
                    ]
                }
            ],
            "pagination": {
                "page": 1,
                "size": 20,
                "totalWarehouses": 45,
                "totalPages": 3,
                "hasNextPage": true,
                "hasPreviousPage": false
            }
        }
    }
    Built with