The operation creates Multipiece Shipments. Shipments with multiple parcels sent to the same destination can be grouped together in a multipiece shipment.
UPS, FedEx, DHL Express, Suprmsys, Purolator, and Apple Express are supported for Multipiece Shipments.
Maximum Parcels Allowed per Carrier:
For UPS- multipiece shipment with Envelopes (having parcel Type as LTR) is not supported.
For FedEx Multipiece, all parcels must be of same packaging type while creating multipiece shipment
USPS does not support multi-piece parcels in a single shipment at this time.
The Multipiece Shipment created successfully.
Invalid request.
The request could not be authorized.
The request could not be completed due to an internal error.
{- "size": "DOC_4X8",
- "format": "PDF",
- "type": "SHIPPING_LABEL",
- "contentType": "URL",
- "fromAddress": {
- "addressLine1": "27 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "cityTown": "Stamford",
- "company": "PB",
- "email": "testuser@gmail.com",
- "countryCode": "US",
- "name": "Paul Wright",
- "phone": "203-555-1213",
- "postalCode": "06905",
- "stateProvince": "CT",
- "residential": true
}, - "carrierAccountId": "4J67bLB62BG",
- "serviceId": "NDA",
- "shipmentOptions": {
- "printCustomMessage": "custom message",
- "printDepartment": "DepartmentABC",
- "printInvoiceNumber": "NV2345",
- "printPONumber": "PO4567",
- "minimalAddressValidation": false
}, - "carrierPayments": [
- {
- "accountNumber": "602684342",
- "countryCode": "US",
- "party": "BILL_THIRD_PARTY",
- "postalCode": "30305",
- "typeOfCharge": "TRANSPORTATION_CHARGES"
}
], - "metadata": [
- {
- "name": "costAccountName",
- "value": "cost account 123"
}
], - "multiPieceParcels": [
- {
- "parcelType": "PKG",
- "parcel": {
- "weight": 10,
- "weightUnit": "OZ",
- "width": 10,
- "length": 10,
- "height": 10,
- "dimUnit": "IN"
}, - "parcelShipmentOptions": {
- "printCustomMessage": "custom message 1",
- "printDepartment": "Department 1",
- "printInvoiceNumber": "invoice number 1",
- "printPONumber": "ponumber 1"
}
}, - {
- "parcelType": "PKG",
- "parcel": {
- "weight": 8,
- "weightUnit": "OZ",
- "width": 8,
- "length": 8,
- "height": 8,
- "dimUnit": "IN"
}
}
], - "toAddress": {
- "addressLine1": "28 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "cityTown": "Stamford",
- "countryCode": "US",
- "name": "Receiver name",
- "phone": "203-555-1213",
- "company": "PB",
- "email": "testuser@gmail.com",
- "postalCode": "06905",
- "stateProvince": "CT",
- "residential": true
}, - "altReturnAddress": {
- "addressLine1": "29 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"
}, - "additionalAddresses": [
- {
- "address": {
- "residential": false,
- "phone": "732-443-1007",
- "countryCode": "US",
- "postalCode": "08810-1411",
- "cityTown": "DAYTON",
- "name": "Warehouse Manager",
- "stateProvince": "NJ",
- "addressLine1": "2270 US HIGHWAY 130"
}, - "addressType": "BROKER"
}
]
}
{- "correlationId": "00da5e928af44bcc9e5c092163e036f9",
- "labelLayout": [
- {
- "contentType": "URL",
- "fileFormat": "PDF",
- "size": "DOC_8X11",
- "type": "SHIPPING_LABEL"
}
], - "fromAddress": {
- "addressLine1": "27 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "cityTown": "Stamford",
- "company": "PB",
- "email": "testuser@gmail.com",
- "countryCode": "US",
- "name": "Paul Wright",
- "phone": "203-555-1213",
- "postalCode": "06905",
- "stateProvince": "CT",
- "residential": true
}, - "multiPieceRates": [
- {
- "totalCarrierCharge": 217.11,
- "carrier": "UPS",
- "currencyCode": "USD",
- "deliveryCommitment": {
- "estimatedDeliveryDateTime": "2024-12-17 13:30:00",
- "guarantee": "full"
}, - "rateTypeId": "commercial",
- "serviceId": "NDA",
- "serviceName": "NDA",
- "multiPieceParcels": [
- {
- "parcelType": "PKG",
- "parcel": {
- "length": 10,
- "height": 10,
- "width": 10,
- "dimUnit": "IN",
- "weightUnit": "OZ",
- "weight": 10
}, - "parcelRate": {
- "baseCharge": 88.67,
- "surcharges": [
- {
- "fee": null,
- "name": null
}
]
}, - "parcelTrackingNumber": "UPS2200619919802570P0",
- "parcelShipmentOptions": [
- {
- "parcelType": "PKG",
- "parcel": {
- "weight": 10,
- "weightUnit": "OZ",
- "width": 10,
- "length": 10,
- "height": 10,
- "dimUnit": "IN"
}, - "parcelShipmentOptions": {
- "printCustomMessage": "custom message 1",
- "printDepartment": "Department 1",
- "printInvoiceNumber": "invoice number 1",
- "printPONumber": "ponumber 1"
}
}, - {
- "parcelType": "PKG",
- "parcel": {
- "weight": 8,
- "weightUnit": "OZ",
- "width": 8,
- "length": 8,
- "height": 8,
- "dimUnit": "IN"
}
}
]
}
], - "surcharges": [
- {
- "fee": 11.3,
- "name": "RESIDENTIAL"
}
]
}
], - "parcelTrackingNumber": "UPS2200619919802570P0",
- "shipmentId": "UPS2200619919802570",
- "shipmentOptions": {
- "printCustomMessage": "custom message",
- "printDepartment": "DepartmentABC",
- "printInvoiceNumber": "NV2345",
- "printPONumber": "PO4567",
- "billingWeight": "128.0"
}, - "carrierPayments": [
- {
- "accountNumber": "602684342",
- "countryCode": "US",
- "party": "BILL_THIRD_PARTY"
}
], - "toAddress": {
- "addressLine1": "28 Waterview Dr",
- "addressLine2": "near abc street",
- "addressLine3": "near xyz street",
- "cityTown": "Stamford",
- "countryCode": "US",
- "name": "Recipient Name",
- "phone": "203-555-1213",
- "company": "PB",
- "email": "recipient@yopmail.com",
- "postalCode": "06905",
- "stateProvince": "CT",
- "residential": true
}, - "altReturnAddress": {
- "addressLine1": "29 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"
}, - "additionalAddresses": [
- {
- "address": {
- "residential": false,
- "phone": "732-443-1007",
- "countryCode": "US",
- "postalCode": "08810-1411",
- "cityTown": "DAYTON",
- "name": "Warehouse Manager",
- "stateProvince": "NJ",
- "addressLine1": "2270 US HIGHWAY 130"
}, - "addressType": "BROKER"
}
]
}