Skip to main content

Rates

What a Rate is

A Rate is a pricing/service result returned for a Shipment in the current request and available Account/carrier context. It is not a booking, reservation, purchased service, permanent quote, standalone public CRUD resource, or persisted selection.

Get Rates

There are two public paths to Rate results:

Packed is not a prerequisite for either path.

Select a Rate for Label purchase

Shipment
-> Rate results
-> client selects rateId
-> Label purchase request

The client selects a returned rateId and supplies it to the Label purchase request. Retain that value only as needed for the current workflow. Selecting a Rate is not documented as a mutation of Mailhub state.

See Labels for the bounded Label operation behavior. Use Select a Rate for the application-owned selection step.

Public Rate fields

FieldClassificationPublic meaning
idIDENTIFIERReturned Rate identifier. A selected returned id is supplied for the Label-purchase workflow.
ratePRICEReturned Rate price value.
currencyCURRENCYReturned currency value associated with rate.
carrierCARRIER_DISPLAYReturned carrier display value.
serviceCodeSERVICE_DISPLAYReturned service code value.
serviceNameSERVICE_DISPLAYReturned service display value.

For the complete Rate response schema, including all optional fields and types, see the API Reference.

serviceCode is provider-dependent. Do not hard-code or parse it, and do not build against a fixed list of values — the public contract does not define one. Recognize a service by its returned serviceName, and carry the returned id into the Label-purchase workflow.

Result interpretation

More than one Rate result can be returned. The client makes the selection for its own workflow.

Do not infer cheapest, best, recommended, or otherwise ranked meaning from the response order unless a future public contract explicitly defines one.

Validity and outcomes

The current public contract does not define a Rate validity period.

For V1, a successful response can contain rates: []. Inspect carrierResponses when it is present in the response, together with the public response envelope. This page does not assign a complete diagnostic meaning to that field.

For Create an Order with Rates, the documented 422 response can represent an invalid Order or a case where no carrier could rate the Shipment.

See Rate Errors for the documented error guidance.