Rate
Shipping rate offered by the carrier for the shipment
- fromType:
_address requiredProperties: 11The origin address
- toType:
_address requiredProperties: 11The destination address
- parcelType: nullableProperties: 7
The dimensions and weight of the package. Business rule:
parcelandparcelsMUST NOT both be present. - parcelsType:Properties: 7
Array of parcels. Business rule:
parcelandparcelsMUST NOT both be present. - optionsType: nullableProperties: 35
Additional shipment options.
Notes (enforced by server/business logic, not schema):
-
If
carrier_accountsandserviceare both present andoptions.create_and_buyis not explicitly false, the server treatscreate_and_buyas true. create_and_buyandcreate_and_buy_cheapestare mutually exclusive.
-
If
- isType: boolean | null
_return Set true to create as a return.
- carrierType: string | null
Carrier to use for the shipment. If both
carrierandcarrier_accountsare omitted, all carriers are considered. - carrierType: array of string | null
_accounts List of specific carrier account IDs to use when rating or buying a shipment. If both
carrierandcarrier_accountsare omitted, all carriers are considered.