You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parcel Type is required for creating a shipment while rating a parcel, which varies as per Carrier selection. ParcelType have categories like Package, Envelopes, Paks, Boxes, Tube, etc.
[optional]
parcel_id
str
It indicates parcelId chosen in the request if was provided
[optional]
rate_type_id
str
Its value can be CONTRACT_RATES, COMMERCIAL or COMMERCIAL_BASE for USPS and COMMERCIAL for other carriers depending on the Pitney Bowes contract/subscription
[optional]
service_id
str
The unique identifier given to the carrier specific service.
This provides a carrier-service based special or extra sevice.
[optional]
total_carrier_charge
float
The total amount payable to the carrier, including special service fees, surcharges, and any international taxes and duties.
[optional]
is_hazmat
bool
It indicated if isHazmat is supported by the service
[optional]
Example
fromshipping.models.single_rate_response_rates_innerimportSingleRateResponseRatesInner# TODO update the JSON string belowjson="{}"# create an instance of SingleRateResponseRatesInner from a JSON stringsingle_rate_response_rates_inner_instance=SingleRateResponseRatesInner.from_json(json)
# print the JSON string representation of the objectprint(SingleRateResponseRatesInner.to_json())
# convert the object into a dictsingle_rate_response_rates_inner_dict=single_rate_response_rates_inner_instance.to_dict()
# create an instance of SingleRateResponseRatesInner from a dictsingle_rate_response_rates_inner_from_dict=SingleRateResponseRatesInner.from_dict(single_rate_response_rates_inner_dict)