Download the PHP package jason6688/fedex-rest without Composer
On this page you can find all versions of the php package jason6688/fedex-rest. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package fedex-rest
General Information
Fedex has offered a new Rest API that will replace the already obsolete WSDL and SOAP-based Web Services in the future. The goal of this library is to offer a convenient and easy to use wrapper to this service.
FedEx Rest API documentation https://developer.fedex.com/api/en-us/get-started.html
Todo
Services
- [ ] Ship API
- [ ] Track API
- [x] docs)
- [ ] Track Document
- [ ] Track Multiple Piece Shipment
- [ ] Send Notification
- [ ] Track By Tracking Control Number
- [ ] Track By References
- [x] docs)
- [x] Locations Search API
- [x] docs)
- [ ] Ground End of Day Close API
- [ ] Pickup Request API
- [ ] Postal Code Validation API
- [x] Rate Quotes API
- [ ] Service Availability API
Other
- [x] oAuth authorization
Usage
| Library Version | Fedex Rest Api Version |
|---|---|
| ^0.1.4 | v1 |
Installation
composer require jason/fedex-rest "^0.1"
Authorization
Example
Sample Response
Show Response
NOTE:
It is good practice to save/cache an access token for future use. A token is valid for one hour. You don't need to generate a new one for every request. The token must be renewed before it expires or after it has expired. Generating a new access token for each request will slow down the library.
Track API
Track by Tracking Number
Example
Sample Response
Show Response
Address Validation
Example
Create Shipment
Example(Payment TYPE IS THIRD_PARTY OR COLLECT)
Example(Payment TYPE IS SENDER)
Sample Response
Show Response
Cancel Shipment
Example
Sample Response
Show Response
Create Tag
Example
Sample Response
Show Response
Create Rates Request
Example
Sample Response
Show Response
Contribution
All versions of fedex-rest with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^5|^6|^7
nesbot/carbon Version ^1.21.0|^2.65.0