GoFor
Overview
GoFor Corporation is a Canada multinational company that deals with package delivery services. Known for carbon-free delivery, it expands its services to Canada and US.
Onboarding of a GoFor Carrier Account
In order to create a GoFor carrier account, the user needs to possess the following prerequisites:
- Security Credentials in the form of a Username and Password
In order to set up a GoFor carrier account, an API request is initiated, encompassing all the necessary information. Here is an example of the request.
GoFor Sample Request
{
"carrierID": "GOFOR",
"description": "Gofor by API",
"carrierAccountType": "Shipping",
"provisioningType": "API",
"parameters": {
"username": "xxxx@xxxx.com",
"password": "xxxx"
}
}
If the request to establish the GoFor carrier account is approved, the resulting response will resemble the Sample Response provided below.
GoFor Sample Response
{
"carrierAccountID": "xxxxxxxx",
"description": "Gofor by API",
"carrierID": "GOFOR",
"parameters": {
"username": "xxxx@xxxx.com"
},
"carrierAccountType": "Shipping",
"provisioningType": "API"
}
API Operations for Shipping with GoFor
The APIs integrate with GoFor through the following operations:
Operations | Method | Resource Path |
---|---|---|
Add a Carrier Account | POST | /api/v1/carrierAccounts/carrier=GOFOR |
Rate a Parcel | POST | /api/v1/rates |
Create a Shipping Label | POST | /api/v2/shipments |
Reprint a Label | POST | /api/v2/shipments/reprint |
Void a Label | POST | /api/v2/shipments/cancel |
Get Tracking Information | GET | /api/v1/tracking/{{trackingNumber}} |
Metadata
Metadata provides information about GoFor carrier services, including origin and destination countries, supported carrier services, supported package types, and supported special services. Users can select specific origin and destination countries from the provided dropdown menu to dynamically view relevant metadata specific to those countries.