Pickup Get Service Center Facilities Example Request

POST {{base_url}}/api/pickup/:version/servicecenterlocations

This HTTP POST request returns UPS Facility location information by providing a DestinationAddress and OriginAddress to define a shipping lane.

Request Body

{"PickupGetServiceCenterFacilitiesRequest"=>{"PickupPiece"=>{"ServiceCode"=>"096", "ContainerCode"=>"03"}, "DestinationAddress"=>{"City"=>"Allendale", "StateProvince"=>"NJ", "PostalCode"=>"07401", "CountryCode"=>"US"}, "OriginAddress"=>{"City"=>"LONDON", "PostalCode"=>"W84PL", "CountryCode"=>"GB"}, "Locale"=>"en_HK"}}

HEADERS

KeyDatatypeRequiredDescription
transIdnullAn identifier unique to the request. Length 32
transactionSrcstringAn identifier unique to the request. Length 32
Content-Typestring

RESPONSES

status: OK

{"PickupGetServiceCenterFacilitiesResponse":{"Response":{"ResponseStatus":{"Code":"1","Description":"Success"}},"ServiceCenterLocation":{"DropOffFacilities":{"Address":{"AddressLine":"5356 GEORGIA HWY 85, SUITE 100","City":"FOREST PARK","CountryCode":"US","PostalCode":"30297","StateProvince":"GA"},"FacilityTime":{"DayOfWeek":[{"CloseHours":"2100","Day":"Monday","LastDrop":"1930","OpenHours":"0600"},{"CloseHours":"0200","Day":"Tuesday","LastDrop":"1930","OpenHours":"0630"},{"CloseHours":"0200","Day":"Wednesday","LastDrop":"1930","OpenHours":"0630"},{"CloseHours":"0200","Day":"Thursday","LastDrop":"1930","OpenHours":"0630"},{"CloseHours":"0200","Day":"Friday","LastDrop":"1930","OpenHours":"0630"},{"CloseHours":"1000","Day":"Saturday","LastDrop":"1000","OpenHours":"0800"}]},"Name":"ATLANTA","Phone":"8004238848","SLIC":"0973","Timezone":"America/New_York","Type":"FRT"}}}}