ShipmentPackageRequest
Properties
| Name |
Type |
Description |
Notes |
| weight_in_grams |
int |
|
|
| package_format_identifier |
str |
<b>If you have a ChannelShipper account, you can also pass the name of any of your custom package formats instead of the values below.</b><br> Enum: 'undefined', 'letter', 'largeLetter', 'smallParcel', 'mediumParcel', 'largeParcel', 'parcel', 'documents' |
|
| custom_package_format_identifier |
str |
This field will be deprecated in the future. Please use 'packageFormatIdentifier' for custom package formats from ChannelShipper. |
[optional] |
| dimensions |
DimensionsRequest |
|
[optional] |
| contents |
List[ProductItemRequest] |
|
[optional] |
| commercial_invoice |
str |
Commercial invoice encoded as a base64 PDF string, under 2MB. |
[optional] |
| supporting_documents |
List[str] |
Optional supporting documents, each encoded as a base64 PDF string, under 2MB. |
[optional] |
| commercial_invoice_number |
str |
Commercial invoice number for this package. |
[optional] |
| commercial_invoice_date |
datetime |
Date of the commercial invoice for this package. If a commercial invoice is provided without a date, the current date is used. The current date is also used if the minimum value '0001-01-01' is supplied. |
[optional] |
Example
from click_and_drop_api.models.shipment_package_request import ShipmentPackageRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ShipmentPackageRequest from a JSON string
shipment_package_request_instance = ShipmentPackageRequest.from_json(json)
# print the JSON string representation of the object
print(ShipmentPackageRequest.to_json())
# convert the object into a dict
shipment_package_request_dict = shipment_package_request_instance.to_dict()
# create an instance of ShipmentPackageRequest from a dict
shipment_package_request_from_dict = ShipmentPackageRequest.from_dict(shipment_package_request_dict)
[Back to Model list] [Back to API list] [Back to README]