1. route
DeltaX API Docs
  • Webhook Integration Documentation
  • trip
    • Get Trip by ID
      GET
    • Update Trip
      PUT
    • Revert Trip
      POST
    • Create Incidence
      POST
    • List Trips
      GET
  • route
    • List Routes
      GET
    • Get Route by ID
      GET
    • List Warehouses
      GET
    • Get Warehouse by ID
      GET
    • List Service Slots
      GET
    • Create Service Slot
      POST
  • 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
  • webhook
    • Register Webhook Callback
      GET
    • List Webhook Callback Registrations
      GET
    • Update Webhook Callback Registration
      PUT
    • Delete Webhook Callback Registration
      DELETE
  • 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. route

Create Service Slot

Prod Env
https://fmsapi.deltax.la/clients
Prod Env
https://fmsapi.deltax.la/clients
POST
/serviceSlot
Create a new service slot (additional loading/unloading window) for a warehouse without requiring a pre-existing window configuration rule. The created slot is initialized with status available and can later be assigned to a trip through normal scheduling flows.
This endpoint mirrors the internal createAbServiceSlot functionality and supports both singular and multi-value inputs for operationType, fleetType, vehicleTypes and dedicated. Supplying transportCompanyIds (or its alias transportCompanies) explicitly restricts the slot to those carriers; otherwise the dedicated flag drives the default Dedicado / No dedicado carrier list.
Identification of the warehouse: provide either storehouseId (Mongo ObjectId) or storehouseCodeI2 (TMS I2 code).
Time / timezone handling: startDay/endDay are YYYY-MM-DD and startTime/endTime are 24h HH:MM. They are interpreted in the warehouse's local timezone (read from the storehouse document) and stored as UTC Dates.
Derived fields:
supportedChannelTypes is derived from the supplied operation types.
supportedExpeditionTypes is derived from the supplied vehicle types.
operationTypeColor is derived from the company's operationType group tags.
Country-specific allowed values: the valid operationType and vehicleType values depend on the country.
Tipo de operación (operationType):
MX: Tradicional, Moderno, Exportación, Concesionarios, Bote, Envase nuevo
PE: Tradicional
CO: Tradicional
Tipo de vehículo (vehicleType):
MX: Encortinado, Caja seca
PE: Parihuelero, Full Truck, Full Pro
CO: SIDER, SUPER SIDER, JUMBO SIDER, JUMBO SIDER PET, SIDER CAMA BAJA, MAXI SIDER, MAXI SIDER PET, SP, SIDER PRO LT, CAMP NOU, SIDER PRO LT PET, SIDER PRO

Request

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

Body Params application/jsonRequired

Examples

Responses

🟢201CreateServiceSlotSuccess
application/json
Bodyapplication/json

🟠400BadRequest
🟠401Unauthenticated
🟠403Unauthorized
🟠404NotFound
🔴500InternalServerError
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://fmsapi.deltax.la/clients/serviceSlot?country=MX' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "storehouseCodeI2": "2070603000",
    "startDay": "2024-01-15",
    "startTime": "08:00",
    "endDay": "2024-01-15",
    "endTime": "08:30"
}'
Response Response Example
201 - Success
Success — slot created without explicit transport companies
{"message":"Slot de servicio creado exitosamente","data":{"_id":"507f1f77bcf86cd799439500","storehouseId":"507f1f77bcf86cd799439018","storehouseCode":"WH001","storehouseName":"MAIN DISTRIBUTION CENTER","storehouseI2Code":"2070603000","storehouseSapCode":"WH001","timeZone":"-06:00","startDate":"2024-01-15T14:00:00.000Z","startDay":"2024-01-15","startTime":"08:00","endDate":"2024-01-15T14:30:00.000Z","endDay":"2024-01-15","endTime":"08:30","timeRange":"08:00-08:30","statusCode":"available","statusName":"Disponible","operationType":"Tradicional","fleetType":"Full","vehicleType":"CAJA SECA","dedicated":"No dedicado","supportedChannelTypes":["traditional"],"supportedExpeditionTypes":["O3","X6","Z3","O4","Z0","Z4","ZH","ZZ"]}}
Modified at 2026-07-10 16:46:05
Previous
List Service Slots
Next
List Transport Companies
Built with