Retrieve Facility

Retrieve a facility by a given id.

SecurityAPIKeyHeader
Request
path Parameters
facility_id
required
string (Facility Id)
query Parameters
include
Array of strings (FacilityIncludeQueryOptionEnum)

Include child entities that are not returned by default

Items Enum: "DOCKS" "DOCK_COUNT" "CONTACT_COUNT" "LOAD_TYPE_COUNT" "POINT_OF_CONTACTS"
Responses
200

Successful Response

Response Schema: application/json
name
required
string (Name)
location_type
required
string (LocationTypes)

An enumeration.

Enum: "AIRPORT" "BUSINESS_WITH_DOCK_OR_FORKLIFT" "BUSINESS_WITHOUT_DOCK_OR_FORKLIFT" "COMMERCIAL_FARM_RANCH_MARINA" "CONSTRUCTION_SITE" "GOVERNMENT_LOCATION" "MILITARY_BASE" "OTHER_SECURED_OR_LIMITED_ACCESS_LOCATION" "RELIGIOUS_INSTITUTION" "RESIDENCE_HOME_BUSINESS" "RESTAURANT_HOTEL_GOLF_COURSE_PARK" "SCHOOL_COLLEGE" "SELF_MINI_STORAGE_FACILITY" "TERMINAL" "TRADE_SHOW_CONVENTION_CENTER"
required
object (FacilityAddress)
facility_services
required
Array of strings (FacilityServices)
Items Enum: "RESTROOMS" "OVERNIGHT_PARKING" "INTERIOR_PARKING" "EXTERIOR_PARKING" "LOUNGE_AREA" "WIFI" "FOOD" "SECURITY" "SPANISH"
external_reference
string (External Reference) <= 255 characters
notes
string (Notes)
carrier_instructions
string (Carrier Instructions)
disclaimers
string (Disclaimers)
appointment_lead_time_duration
required
string <duration> (Appointment Lead Time Duration)
late_appointment_threshold_duration
required
string <duration> (Late Appointment Threshold Duration)
first_appointment_start_time
string <time> (First Appointment Start Time)
last_appointment_end_time
string <time> (Last Appointment End Time)
exclude_dock_assignment_from_appointment_scheduling
required
boolean (Exclude Dock Assignment From Appointment Scheduling)
appointment_approval_required
boolean (Appointment Approval Required)
Default: false

Whether appointments at this facility require approval before being scheduled

appointment_required_document_types
Array of strings (AppointmentDocumentTypeEnum)
Default: []

Document types an external (cross-tenant) scheduler must provide before an appointment at this facility can be booked. A type counts as provided when a matching document is attached to the appointment, its shipment or its orders. Empty means no requirement. OTHER is not allowed.

Items Enum: "BOL" "PACKING_SLIPS" "DELIVERY_RECEIPT" "PURCHASE_ORDER" "OTHER"
enhanced_dock_rules
boolean (Enhanced Dock Rules)
Default: false

Turn on Enhanced Dock Rules to enable more granular rules including for Product Categories and References.

allow_self_scheduling_time_requests
boolean (Allow Self Scheduling Time Requests)
Default: true

Whether self schedulers may request a time the facility does not offer. When false, their time requests are refused with 403. Managed carrier scheduling and the facility's own users are not affected.

id
required
string (Id)
created_at
required
string <date-time> (Created At)
updated_at
required
string <date-time> (Updated At)
dock_count
integer (Dock Count)

Number of Docks at the Facility.

contact_count
integer (Contact Count)

Number of Contacts at the Facility.

load_type_count
integer (Load Type Count)

Number of LoadTypes at the Facility.

Array of objects (Docks)

Child docks

company_name
string (Company Name)

Name of the company that owns the Facility. Always returned, and supported as a filter and sort field (e.g. company_name.icontains=%acme%, sort=company_name). Null when the name has not been resolved from the owning company yet.

Array of objects (Point Of Contacts)

The Facility's points of contact, identical to what GET /facilities/{facilityId}/point-of-contacts returns. Requires include=POINT_OF_CONTACTS.

400

Validation Error

get/facilities/{facility_id}
Request samples
Response samples
application/json
{
  • "name": "string",
  • "location_type": "AIRPORT",
  • "address": {
    },
  • "facility_services": [
    ],
  • "external_reference": "string",
  • "notes": "string",
  • "carrier_instructions": "string",
  • "disclaimers": "string",
  • "appointment_lead_time_duration": "P1DT23H30M4.000000S",
  • "late_appointment_threshold_duration": "P1DT23H30M4.000000S",
  • "first_appointment_start_time": "14:15:22Z",
  • "last_appointment_end_time": "14:15:22Z",
  • "exclude_dock_assignment_from_appointment_scheduling": true,
  • "appointment_approval_required": false,
  • "appointment_required_document_types": [ ],
  • "enhanced_dock_rules": false,
  • "allow_self_scheduling_time_requests": true,
  • "id": "string",
  • "created_at": "2019-08-24T14:15:22Z",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "dock_count": 0,
  • "contact_count": 0,
  • "load_type_count": 0,
  • "docks": [
    ],
  • "company_name": "string",
  • "point_of_contacts": [
    ]
}
Copyright © Shipwell 2025. All right reserved.