Provide enough information in response to creating a consignment to allow a user to create their own label.
Information that has been added:
The response type was incorrectly defined in the spec and did not match actually what was being returned. The api specification has been updated from application/json to text/plain in the endpoint:
/v1/carriers/{carrierName}/customers/{customerId}/consignments/{consignmentId}/cancellationrequests
pickupAddress and deliveryAddress are now mandatory but also removed address portion, just lat\lon are required.
{ "lon": 172.572266, "lat": -43.531668 }
Added secondary address line to address object for consignments
Lengthened the following fields to 80 characters:
The contact field in the consignment is no longer mandatory
The TrackingEvent eventTypes were inconsistent in some had values and others had codes, the values are as follows
No split delivery can be requested when creating a consignment, a new property noSplitDelivery has been added. This defaults to false.
Phone number validation regex patterns are now consistent and have a minimum and maximum length.
Was previously used to specify both the itemReference and the part number, now the part number is automatically assigned so it now performs a single role as such:
The tracking events can now be queried for a consignment, two endpoints are available, the tracking-events endpoint will return all the events for a consignment item between two optional dates. The attachments endpoint will return an image for a tracking event.
/v1/carriers/{carrierName}/customers/{customerId}/consignments/{consignmentId}/items/{consignmentItemId}/tracking-events /v1/carriers/{carrierName}/customers/{customerId}/consignments/{consignmentId}/items/{consignmentItemId}/tracking-events/at
The pagination details returned as part of a collection have been changed from:
"limit": 10,
"size": 10,
"skip": 0
"totalItems": 1435,
"pageSize": 10,
"page": 2
/v1/addressFuzzy
/v1/addressMatch
/v1/addressAutocomplete
/v1/addresses/{addressId}
The 3 different search methods are supported, each returns a collection of addresses strings and an AddressRight Id. The /v1/addresses/{addressId} can be used to exchange the Id for an address object which can be used in rating and consignments.
pickup-requests/address