1. Response
DeltaX API Docs
  • Webhook Integration Documentation
  • trip
    • Get Trip by ID
    • Update Trip
    • Revert Trip
    • Create Incidence
    • List Trips
  • route
    • List Routes
    • Get Route by ID
    • List Warehouses
    • Get Warehouse by ID
    • List Service Slots
    • Create Service Slot
  • 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
    • Register Webhook Callback
    • List Webhook Callback Registrations
    • Update Webhook Callback Registration
    • Delete 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
    • WebhookRegistrationUpdate
    • RoutesListResponse
    • Route
    • WindowAvailabilityResponse
    • CreateServiceSlotRequest
    • CreateServiceSlotResponse
    • ServiceSlot
    • DolliesListResponse
    • Dolly
    • DollyResponse
    • TruckersListResponse
    • Trucker
    • TruckerResponse
    • TransportUnitsListResponse
    • TransportUnit
    • TransportUnitResponse
    • TransportCompaniesListResponse
    • TransportCompany
    • TransportCompanyResponse
    • WarehousesListResponse
    • Warehouse
    • WarehouseResponse
    • RouteResponse
    • TripsListResponse
    • Trip
    • PaginationInfo
    • TripResponse
    • WindowAvailability
    • IncidenceCreateResponse
    • ClientIncidence
    • TripUpdateResponse
    • TripRevert
    • TripRevertResponse
    • ClientTripUpdate
    • CallbackRegistrationUpdateResponse
    • CallbackRegistrationDeleteResponse
    • WebhookRegistration
    • CallbackRegistrationsListResponse
  1. Response

WarehousesListSuccess

{
    "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",
                        "operationType": [
                            {
                                "operationTypeCode": "TP04",
                                "operationTypeName": "Tradicional"
                            },
                            {
                                "operationTypeCode": "TP01",
                                "operationTypeName": "Moderno"
                            }
                        ],
                        "firstWindowStartTime": "08:00",
                        "firstWindowEndTime": "12:00",
                        "firstWindowTime": "08:00-12:00",
                        "secondWindowStartTime": "14:00",
                        "secondWindowEndTime": "18:00",
                        "secondWindowTime": "14:00-18:00",
                        "serviceTimeHr": 0.5,
                        "weekDays": [
                            "monday",
                            "tuesday",
                            "wednesday",
                            "thursday",
                            "friday"
                        ],
                        "fleetTypes": [
                            "Full",
                            "Sencillo"
                        ],
                        "vehicleTypes": [
                            "Caja seca",
                            "Encortinado"
                        ],
                        "totalCapacity": 10,
                        "dryBoxCapacity": 5,
                        "dedicatedCapacity": 3,
                        "parallelSlotCapacity": 1,
                        "totalSlots": 0,
                        "validFromDate": "2024-01-15T00:00:00.000Z",
                        "validToDate": "2024-12-31T23:59:59.999Z",
                        "transportCompanies": [
                            {
                                "companyId": "6902240558ede69a6099ac11",
                                "name": "TRANSER",
                                "code": "00404033"
                            },
                            {
                                "companyId": "6902246958ede69a6099ac19",
                                "name": "ADP SA",
                                "code": "00411212"
                            }
                        ]
                    }
                ]
            }
        ],
        "pagination": {
            "page": 1,
            "size": 20,
            "totalWarehouses": 45,
            "totalPages": 3,
            "hasNextPage": true,
            "hasPreviousPage": false
        }
    }
}
Built with