Facilities
Get the facilities
Page number to return, starting with zero
Number of records per page (default 100)
Field name to order by (or comma separated names)
If true don't limit page size (no pagination)
Levels of dependent child records to include
In the absence of a product specific days to ship in ProductFacility, this will be used
This field store the unit of measurement of dimension (length, width and height)
This field stores facility ID of the external system
Success
Authentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
GET /rest/s1/available-to-promise/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-08-08T00:41:48.579Z",
"closedDate": "2025-08-08T00:41:48.579Z",
"description": "text",
"defaultDimensionUomId": "text",
"defaultWeightUomId": "text",
"geoPointId": "text",
"externalId": "text",
"openTime": "text",
"closeTime": "text",
"facilityTimeZone": "text",
"maximumOrderLimit": 1,
"postalCode": "text",
"parentTypeId": "text",
"hasTable": "text"
}
]
org.apache.ofbiz.product.facility.Facility
Success
Authentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
POST /rest/s1/available-to-promise/facilities HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 700
{
"_entity": "org.apache.ofbiz.product.facility.Facility",
"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-08-08T00:41:48.579Z",
"closedDate": "2025-08-08T00:41:48.579Z",
"description": "text",
"defaultDimensionUomId": "text",
"defaultWeightUomId": "text",
"geoPointId": "text",
"externalId": "text",
"openTime": "text",
"closeTime": "text",
"facilityTimeZone": "text",
"maximumOrderLimit": 1,
"postalCode": "text",
"lastUpdatedStamp": "2025-08-08T00:41:48.579Z"
}
{
"_entity": "org.apache.ofbiz.product.facility.Facility.PK",
"facilityId": "text"
}
Success
Authentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
GET /rest/s1/available-to-promise/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-08-08T00:41:48.579Z",
"closedDate": "2025-08-08T00:41:48.579Z",
"description": "text",
"defaultDimensionUomId": "text",
"defaultWeightUomId": "text",
"geoPointId": "text",
"externalId": "text",
"openTime": "text",
"closeTime": "text",
"facilityTimeZone": "text",
"maximumOrderLimit": 1,
"postalCode": "text",
"parentTypeId": "text",
"hasTable": "text"
}
org.apache.ofbiz.product.facility.Facility
Success
Authentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
PUT /rest/s1/available-to-promise/facilities/{facilityId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 700
{
"_entity": "org.apache.ofbiz.product.facility.Facility",
"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-08-08T00:41:48.579Z",
"closedDate": "2025-08-08T00:41:48.579Z",
"description": "text",
"defaultDimensionUomId": "text",
"defaultWeightUomId": "text",
"geoPointId": "text",
"externalId": "text",
"openTime": "text",
"closeTime": "text",
"facilityTimeZone": "text",
"maximumOrderLimit": 1,
"postalCode": "text",
"lastUpdatedStamp": "2025-08-08T00:41:48.579Z"
}
{
"_entity": "org.apache.ofbiz.product.facility.Facility.PK",
"facilityId": "text"
}
Page number to return, starting with zero
Number of records per page (default 100)
Field name to order by (or comma separated names)
If true don't limit page size (no pagination)
Levels of dependent child records to include
Success
Authentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
GET /rest/s1/available-to-promise/facilities/orderCount HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
[
{
"_entity": "co.hotwax.facility.FacilityOrderCount",
"facilityId": "text",
"lastOrderCount": 1,
"entryDate": "2025-08-08",
"lastUpdatedStamp": "2025-08-08T00:41:48.579Z"
}
]
Was this helpful?