Facilities

Get the facilities

list FacilityAndType

get
Authorizations
Query parameters
pageIndexnumber · int32Optional

Page number to return, starting with zero

pageSizenumber · int32Optional

Number of records per page (default 100)

orderByFieldstringOptional

Field name to order by (or comma separated names)

pageNoLimitstringOptional

If true don't limit page size (no pagination)

dependentLevelsnumber · int32Optional

Levels of dependent child records to include

typeDescriptionstringOptional
facilityIdstringOptional
facilityTypeIdstringOptional
parentFacilityIdstringOptional
ownerPartyIdstringOptional
defaultInventoryItemTypeIdstringOptional
facilityNamestringOptional
primaryFacilityGroupIdstringOptional
oldSquareFootagenumber · int64Optional
facilitySizenumberOptional
facilitySizeUomIdstringOptional
productStoreIdstringOptional
defaultDaysToShipnumber · int64Optional

In the absence of a product specific days to ship in ProductFacility, this will be used

openedDatestring · date-timeOptional
closedDatestring · date-timeOptional
descriptionstringOptional
defaultDimensionUomIdstringOptional

This field store the unit of measurement of dimension (length, width and height)

defaultWeightUomIdstringOptional
geoPointIdstringOptional
externalIdstringOptional

This field stores facility ID of the external system

openTimestringOptional
closeTimestringOptional
facilityTimeZonestringOptional
maximumOrderLimitnumber · int64Optional
postalCodestringOptional
parentTypeIdstringOptional
hasTablestringOptional
Responses
200
Success
application/json
get
GET /rest/s1/order-routing/facilities HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
[
  {
    "_entity": "co.hotwax.facility.FacilityAndType",
    "typeDescription": "text",
    "facilityId": "text",
    "facilityTypeId": "text",
    "parentFacilityId": "text",
    "ownerPartyId": "text",
    "defaultInventoryItemTypeId": "text",
    "facilityName": "text",
    "primaryFacilityGroupId": "text",
    "oldSquareFootage": 1,
    "facilitySize": 1,
    "facilitySizeUomId": "text",
    "productStoreId": "text",
    "defaultDaysToShip": 1,
    "openedDate": "2025-07-12T02:47:50.270Z",
    "closedDate": "2025-07-12T02:47:50.270Z",
    "description": "text",
    "defaultDimensionUomId": "text",
    "defaultWeightUomId": "text",
    "geoPointId": "text",
    "externalId": "text",
    "openTime": "text",
    "closeTime": "text",
    "facilityTimeZone": "text",
    "maximumOrderLimit": 1,
    "postalCode": "text",
    "parentTypeId": "text",
    "hasTable": "text"
  }
]

one FacilityAndType

get
Authorizations
Path parameters
facilityIdstringRequired
Responses
200
Success
application/json
get
GET /rest/s1/order-routing/facilities/{facilityId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "_entity": "co.hotwax.facility.FacilityAndType",
  "typeDescription": "text",
  "facilityId": "text",
  "facilityTypeId": "text",
  "parentFacilityId": "text",
  "ownerPartyId": "text",
  "defaultInventoryItemTypeId": "text",
  "facilityName": "text",
  "primaryFacilityGroupId": "text",
  "oldSquareFootage": 1,
  "facilitySize": 1,
  "facilitySizeUomId": "text",
  "productStoreId": "text",
  "defaultDaysToShip": 1,
  "openedDate": "2025-07-12T02:47:50.270Z",
  "closedDate": "2025-07-12T02:47:50.270Z",
  "description": "text",
  "defaultDimensionUomId": "text",
  "defaultWeightUomId": "text",
  "geoPointId": "text",
  "externalId": "text",
  "openTime": "text",
  "closeTime": "text",
  "facilityTimeZone": "text",
  "maximumOrderLimit": 1,
  "postalCode": "text",
  "parentTypeId": "text",
  "hasTable": "text"
}

Was this helpful?