DeltaX Client REST HTTP API
  1. route
DeltaX Client REST HTTP API
  • Webhook Integration Documentation
  • trip
    • Get Trip by ID
      GET
    • Update Trip
      PUT
    • Create Incidence
      POST
    • List Trips
      GET
  • route
    • List Routes
      GET
    • Get Route by ID
      GET
    • List Warehouses
      GET
    • Get Warehouse by ID
      GET
    • List Window Availability
      GET
  • company
    • List Transport Companies
      GET
    • Get Transport Company by ID
      GET
  • fleet
    • List Transport Units
      GET
    • Get Transport Unit by ID
      GET
    • List Truckers
      GET
    • Get Trucker by ID
      GET
    • List Dollies
      GET
    • Get Dolly by ID
      GET
  • rates
    • List Rates
      GET
  • Schemas
    • Schemas
      • 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
    • 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
  1. route

Get Warehouse by ID

Production server
https://fmsapi.deltax.la/clients
Production server
https://fmsapi.deltax.la/clients
GET
/warehouse/{warehouseId}
Retrieve detailed warehouse information including location, address, postal details, coordinates, geofences, and operational time windows with real-time availability status by I2 warehouse code

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Responses

🟢200OK
application/json
Warehouse has been successfully retrieved
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🔴500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://fmsapi.deltax.la/clients/warehouse/2070603000' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "message": "Warehouse retrieved successfully",
    "data": {
        "_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
                    },
                    {
                        "lng": -99.061,
                        "lat": 19.6075
                    },
                    {
                        "lng": -99.0605,
                        "lat": 19.607
                    }
                ]
            },
            {
                "_id": "507f1f77bcf86cd799439021",
                "name": "Loading Dock",
                "type": "dock",
                "points": [
                    {
                        "lng": -99.0612,
                        "lat": 19.6078
                    },
                    {
                        "lng": -99.0615,
                        "lat": 19.608
                    },
                    {
                        "lng": -99.061,
                        "lat": 19.6075
                    }
                ]
            }
        ],
        "spaces": [
            {
                "_id": "507f1f77bcf86cd799439017",
                "order": 1,
                "operationType": [
                    "TRADICIONAL",
                    "MODERNO",
                    "EXPORTACIÓN",
                    "CONCESIONARIOS",
                    "BOTE"
                ]
            }
        ],
        "windows": [
            {
                "_id": "507f1f77bcf86cd799439022",
                "order": 1,
                "weekDay": [
                    "Monday",
                    "Tuesday",
                    "Wednesday",
                    "Thursday",
                    "Friday"
                ],
                "startTimeWindowOne": "08:00",
                "endTimeWindowOne": "12:00",
                "startTimeWindowTwo": "14:00",
                "endTimeWindowTwo": "18:00",
                "repetition": "weekly",
                "typeFleet": [
                    "Full",
                    "Sencillo"
                ],
                "typeOfTrucks": [
                    "Caja seca",
                    "Encortinado"
                ],
                "totalCapacity": 10,
                "dryBoxCapacity": 12,
                "isAvailable": true
            },
            {
                "_id": "507f1f77bcf86cd799439023",
                "order": 2,
                "weekDay": [
                    "Saturday"
                ],
                "startTimeWindowOne": "08:00",
                "endTimeWindowOne": "12:00",
                "repetition": "weekly",
                "typeFleet": [
                    "Full"
                ],
                "typeOfTrucks": [
                    "Caja seca"
                ],
                "totalCapacity": 10,
                "dryBoxCapacity": 15,
                "isAvailable": false
            }
        ]
    }
}
Modified at 2025-12-11 14:35:21
Previous
List Warehouses
Next
List Window Availability
Built with