| Name |
Type |
Description |
Notes |
| date_of_shipment |
str |
This defines the date of the Shipment in the format YYYY:MM:DD.,required for future shipment rating |
[optional] |
| from_address |
RateShopFromAddress |
|
|
| parcel |
RateShopParcel |
|
|
| carrier_accounts |
List[str] |
This provide one or more carrier accounts Ids for rate shop. It can be referred from `Get Carrier Accounts` API |
|
| parcel_type |
str |
Parcel Type required for rating, it's value can be referred from response of `Get Parcel Types` API |
|
| parcel_id |
str |
>-Parcel Id is optional and required to be given in case of branded parcels which have brandedDimension and/or brandedWeight. If parcel has brandedDimension, in that case user need not to pass dimensionUnit and dimension details(length, width and height) in the parcel object. And if brandedWeight is also available for the parcel then in that case weightUnit and weight need not to be passed in parcel object |
[optional] |
| service_id |
str |
Service to be used for rating, it can be referred from response of `Get Services` API |
|
| special_services |
List[SpecialService] |
Special services to be used for rating, it can be referred from response of `Get Special Services` API |
[optional] |
| to_address |
SingleRateToAddress |
|
|
| is_hazmat |
bool |
isHazmat if set to true,only services which support Hazardous material shipment would be visible in the response |
[optional] |
from shipping.models.get_rates_request import GetRatesRequest
# TODO update the JSON string below
json = "{}"
# create an instance of GetRatesRequest from a JSON string
get_rates_request_instance = GetRatesRequest.from_json(json)
# print the JSON string representation of the object
print(GetRatesRequest.to_json())
# convert the object into a dict
get_rates_request_dict = get_rates_request_instance.to_dict()
# create an instance of GetRatesRequest from a dict
get_rates_request_from_dict = GetRatesRequest.from_dict(get_rates_request_dict)
[Back to Model list] [Back to API list] [Back to README]