The operation fetches all created Shipments. If query parameters are not provided, it will default endDate as current date, page as 1 and size as 10.
List of shipments.
Invalid request.
The request could not be authorized.
The request could not be completed due to an internal error.
{- "pageInfo": {
- "total": 78,
- "pages": 8,
- "page": 1
}, - "data": [
- {
- "correlationId": "5471c111c60e4b1f9410a434caf3fbd2",
- "fromAddress": {
- "addressLine1": "27 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "cityTown": "Woodbridge",
- "company": "ABC Company",
- "countryCode": "CA",
- "email": "rec1@yopmail.com",
- "name": "TestRec",
- "phone": "8377777777",
- "postalCode": "L4L 3P6",
- "residential": false,
- "stateProvince": "ON"
}, - "parcel": {
- "length": 2,
- "width": 1,
- "height": 1,
- "dimUnit": "IN",
- "weightUnit": "OZ",
- "weight": 1
}, - "metadata": [
- {
- "name": "costAccountName",
- "value": "test"
}
], - "parcelId": "B1092",
- "parcelTrackingNumber": "EP863905659US",
- "rate": {
- "baseCharge": 53.07,
- "carrier": "USPS",
- "currencyCode": "USD",
- "parcelType": "LGENV",
- "rateTypeId": "CONTRACT_RATES",
- "serviceId": "EMI",
- "specialServices": [
- {
- "fee": 0,
- "inputParameters": [
- {
- "name": "INPUT_VALUE",
- "value": "10"
}
], - "specialServiceId": "Ins"
}
], - "totalCarrierCharge": 53.07
}, - "service": "EMI",
- "shipmentId": "XXXX2200579576496921",
- "shipmentOptions": {
- "addToManifest": true,
- "printCustomMessage": "Print Message 1",
- "receiptOption": "RECEIPT_WITH_INSTRUCTIONS",
- "printDepartment": "department",
- "printInvoiceNumber": "invoicenumber",
- "printPONumber": "ponumber",
- "shipperId": "1234567890",
- "minimalAddressValidation": true,
- "bookingConfirmationNumber": "XXXX56789812",
- "billingWeight": "128.0"
}, - "status": "COMPLETE",
- "toAddress": {
- "addressLine1": "27 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "cityTown": "Shelton",
- "company": "Pitney Bowes Inc.",
- "countryCode": "US",
- "email": "sender1@yopmail.com",
- "name": "Paucal",
- "phone": "9888777777",
- "postalCode": "06484-4361",
- "residential": false,
- "stateProvince": "CT"
}, - "altReturnAddress": {
- "addressLine1": "27 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "company": "PB",
- "email": "user@email.com",
- "residential": true,
- "cityTown": "Shelton",
- "countryCode": "US",
- "name": "User Name",
- "phone": "203-555-1213",
- "postalCode": "06484",
- "stateProvince": "CT"
}
}
]
}