Multipiece Rates

The operation is used for rateshop and to get specific rate based on serviceId for Multipiece.

SecuritybearerAuth
Request
query Parameters
includeDeliveryCommitment
boolean
Default: true

When set to true (default), the response includes delivery commitment information. Set to false to exclude delivery commitment details from the response.

header Parameters
X-PB-Developer-Partner-Id
string

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

Request Body schema: application/json
One of:
object

Details of the sender's address.

Array of objects

Details of each parcel within the multi-piece shipment.

carrierAccounts
Array of strings

A list of identifiers for the carrier accounts used for shipping.

object

Details of the recipient's address.

Responses
200

The Multipiece Rates created successfully.

400

Invalid request.

401

The request could not be authorized.

500

The request could not be completed due to an internal error.

post/api/v1/multipiece/rates
Request samples
application/json
{
  • "fromAddress": {
    },
  • "multiPieceParcels": [
    ],
  • "carrierAccounts": [
    ],
  • "toAddress": {
    }
}
Response samples
application/json
{
  • "fromAddress": {
    },
  • "toAddress": {
    },
  • "serviceId": "NDA",
  • "rates": [
    ],
  • "errors": [
    ]
}