...
Expand | ||
---|---|---|
| ||
Once a geo-coordinate has been obtained the services available to the address can be retrieved from the services endpoint /v1/services. |
Expand | ||
---|---|---|
| ||
The geo-coordinate can also be used to retrieve the service locations in proximity using /v1/service-locations. This endpoint allows filtering by the type of Service Location and specifying a radius from the geo-coordinate. If no radius is provided it will return all service locations. |
Expand | ||
---|---|---|
| ||
With a valid geo-coordinate for the address the rate for a consignment can be determined using /v1/carriers/{carrierName}/customers/{customerId}/rates. |
Expand | ||
---|---|---|
| ||
A consignment can be created with a POST to /v1/carriers/{carrierName}/customers/{customerId}/consignments. The response will include the identifiers for each item, barcode strings for each consignment item, and the calculated cost. This request can also be used to create a label in which case the response will include a link to retrieve the barcode. |
Expand | ||
---|---|---|
| ||
A list of consignments can be fetched using a GET from /v1/carriers/{carrierName}/customers/{customerId}/consignments A single item can be retrieved from /v1/carriers/{carrierName}/customers/{customerId}/consignments/{consignmentId} |
Expand | ||
---|---|---|
| ||
A request to cancel a consignment can be made with a POST to /v1/carriers/{carrierName}/customers/{customerId}/consignments/{consignmentId}/CancellationRequests At this time, this will record a request to cancel which will be manually handled. |
Expand | ||
---|---|---|
| ||
A consignment can be created with a POST to /v1/carriers/{carrierName}/customers/{customerId}/pickup-location-pickup-requests This post will identify the pickup location using the issued PIN identifier. |
Expand | ||
---|---|---|
| ||
If a label needs to be reprinted for an existing consignment place a GET request to /v1/carriers/{carrierName}/customers/{customerId}/consignments/{consignmentId}/labels |