true, // QSF logs 'testMode' => false, 'location' => 'https://ws.fedex.com:443/web-services', 'locationTest' => 'https://wsbeta.fedex.com:443/web-services/rate', 'shippingAccountNumber' => '343367554', 'billingAccountNumber' => '343367554', 'meterNumber' => '104427268', 'userCredentialKey' => 'vP3AOaGu5UDaQVuM', 'userCredentialPassword' => 'TD6EDqE3UvSyWTpd7hS7Ii60H', 'versionInfo' => [ 'ServiceId' => 'crs', 'Major' => '13', 'Intermediate' => '0', 'Minor' => '0', ], 'rateRequestTypes' => 'ACCOUNT', //LIST, ACCOUNT /* * INDIVIDUAL_PACKAGES: Specify details about a single piece shipment rate request. * Currently,only one occurrence is supported. * * PACKAGE_SUMMARY: Specify details about a multiple-package shipment (MPS) rate request. * Use this to rate a total piece and total weight shipment. * * PACKAGE_GROUPS: Specify details about a group of packages and the total number of packages in the entire shipment. * The maximum number of packages in one rate request is 200. */ 'packageDetail' => 'INDIVIDUAL_PACKAGES', // INDIVIDUAL_PACKAGES, PACKAGE_GROUPS, or PACKAGE_SUMMARY. /* * The default Maximum Package Weight for FedEx is 150 lbs. */ 'packageWeightLimit' => 150, // Valid values: 0.1 - 150.0 /* Weight Units * * Must be LBS for a U.S. Domestic Express rate quote. * * LB = Pounds, KG = Kilograms */ 'weightUnits' => 'LB', /* Dimensions Units * * Only applicable if the package type is YOURPACKAGING. * * The valid unit of measure codes for the package dimensions: * IN – Inches * CM – Centimeters * * U.S. Domestic Express must be in inches. */ 'dimensionsUnits' => 'IN', 'totalInsuredValueCurrency' => 'USD', /* Payment Payor type * * Defaults to SENDER. * If value other than SENDER is used, NO rates will still be returned. */ 'payorType' => 'SENDER', /* Service Codes (by Country) * * EUROPE_FIRST_INTERNATIONAL_PRIORITY - FedEx Europe First Priority®, * FEDEX_1_DAY_FREIGHT - FedEx 1 Day Freight®, * FEDEX_2_DAY_FREIGHT - FedEx 2 Day Freight®, * FEDEX_3_DAY_FREIGHT - FedEx 3 Day Freight®, * FEDEX_2_DAY - FedEx 2 Day®, * FEDEX_EXPRESS_SAVER - FedEx Express Saver®, * FEDEX_GROUND - FedEx Ground®, * FIRST_OVERNIGHT - FedEx First Overnight®, * GROUND_HOME_DELIVERY - FedEx Home Delivery®, * INTERNATIONAL_ECONOMY - FedEx International Economy®, * INTERNATIONAL_ECONOMY_FREIGHT - FedEx Intl Economy Freight®, * INTERNATIONAL_FIRST - FedEx International First®, * INTERNATIONAL_GROUND - FedEx International Ground®, * INTERNATIONAL_PRIORITY - FedEx International Priority®, * INTERNATIONAL_PRIORITY_FREIGHT - FedEx Intl Priority Freight®, * PRIORITY_OVERNIGHT - FedEx Priority Overnight®, * SMART_POST - FedEx Smart Post®, * STANDARD_OVERNIGHT - FedEx Standard Overnight®, * FEDEX_FREIGHT - FedEx Freight®, * FEDEX_NATIONAL_FREIGHT - FedEx National Freight®, */ 'serviceCodes' => [ 'FEDEX_GROUND' => 'FedEx Ground®', 'GROUND_HOME_DELIVERY' => 'FedEx Home Delivery®', 'FEDEX_EXPRESS_SAVER' => 'FedEx Express Saver®', 'FEDEX_2_DAY' => 'FedEx 2Day®', 'STANDARD_OVERNIGHT' => 'FedEx Standard Overnight®', ], /* Dropoff Types * * Only REGULARPICKUP, REQUESTCOURIER, and * STATION are allowed with International freight shipping. * This element does not dispatch a courier. * * | If you have a high volume of shipments, * | it can be cost effective to make arrangements with FedEx for regular pickups. * | * | REGULAR_PICKUP - Regular Pickup, * * | You must call and request a FedEx courier to pick-up shipments. * | * | REQUEST_COURIER - Request Courier, * * | You must drop off shipments at your nearby FedEx drop box. * | * | DROP_BOX - Drop Box, * * | You must drop off shipments at your local FedEx business service center. * | * | BUSINESS_SERVICE_CENTER - Business Service Center, * * | You must drop off shipments at your local FedEx station. * | * | STATION - Station */ 'dropoffType' => 'REGULAR_PICKUP', /* Packaging Types * * If value entered in this element is FEDEXENVELOPE, * FEDEX10KGBOX, or FEDEX25KGBOX, an MPS rate * quote is not allowed. * * FEDEX_ENVELOPE - FedEx Envelope, | Related Service Codes: * FEDEX_PAK - FedEx Pak, | Within US: FEDEX_EXPRESS_SAVER, FEDEX_2_DAY, * | STANDARD_OVERNIGHT, PRIORITY_OVERNIGHT, FIRST_OVERNIGHT) * | From US: INTERNATIONAL_FIRST, INTERNATIONAL_ECONOMY, * | INTERNATIONAL_PRIORITY * * FEDEX_BOX - FedEx Box, | Related Service Codes: * FEDEX_TUBE - FedEx Tube, | Within US: FEDEX_2_DAY, STANDARD_OVERNIGHT, PRIORITY_OVERNIGHT, * | FIRST_OVERNIGHT, FEDEX_FREIGHT, FEDEX_1_DAY_FREIGHT, FEDEX_2_DAY_FREIGHT, * | FEDEX_3_DAY_FREIGHT, FEDEX_NATIONAL_FREIGHT * | From US: INTERNATIONAL_FIRST, INTERNATIONAL_ECONOMY, INTERNATIONAL_PRIORITY * * FEDEX_10KG_BOX - FedEx 10kg Box, | Related Service Codes: * FEDEX_25KG_BOX - FedEx 25kg Box, | Within US: NONE, * | From US: INTERNATIONAL_PRIORITY * * YOUR_PACKAGING - Your Packaging | Related Service Codes: * | Within US: FEDEX_GROUND, GROUND_HOME_DELIVERY, SMART_POST, * | FEDEX_EXPRESS_SAVER, FEDEX_2_DAY, STANDARD_OVERNIGHT, PRIORITY_OVERNIGHT, * | FIRST_OVERNIGHT, FEDEX_FREIGHT, FEDEX_1_DAY_FREIGHT, * | FEDEX_2_DAY_FREIGHT, FEDEX_3_DAY_FREIGHT, FEDEX_NATIONAL_FREIGHT * | From US: INTERNATIONAL_FIRST, INTERNATIONAL_ECONOMY, * | INTERNATIONAL_PRIORITY, INTERNATIONAL_GROUND, FEDEX_FREIGHT, * | FEDEX_1_DAY_FREIGHT, FEDEX_2_DAY_FREIGHT, FEDEX_3_DAY_FREIGHT, * | FEDEX_NATIONAL_FREIGHT, INTERNATIONAL_ECONOMY_FREIGHT, * | INTERNATIONAL_PRIORITY_FREIGHT */ 'packagingType' => 'YOUR_PACKAGING', /* * CURL options */ 'CURLOPT_HEADER' => false, 'CURLOPT_POST' => true, 'CURLOPT_TIMEOUT' => 60, 'CURLOPT_RETURNTRANSFER' => true, 'CURLOPT_SSL_VERIFYPEER' => false, /* * Default Options */ 'defaultShipperCountry' => 'US', 'defaultShipToCountry' => 'US', ];