Advanced Options
Many carriers support "Advanced Options", such as the ability to ship alcohol, bill to the receiving party, request money on delivery, or many others. You will need to see the supported options from each carrier by using the List Carrier Advanced Options.
Advanced Options Object
Option | Name | Default Value | Description |
---|---|---|---|
Additional Handling | additional_handling | null | Indicates the package requires special handling. |
Bill To Party | bill_to_party | null | Determines which party is paying for shipping costs. If null , shipping costs will be billed to the connected carrier account. recipient - Required for FedEx Ground Collect. third_party - Bill to an account that is not connected to ShipEngine. When billing to a third party, you may not see rates returned from ShipEngine API. This field must be used in conjunction with the bill_to_country_code , bill_to_postal_code , and bill_to_account fields. |
Bill To Account | bill_to_account | null | The account number that will be charged shipping costs when bill_to_party is third_party . |
Bill To Postal Code | bill_to_postal_code | null | The Postal Code associated with the bill_to_account . This will be validated by FedEx. |
Bill To Country Code | bill_to_country_code | null | The two-letter country code associated with the bill_to_account as it corresponds to ISO 3166-1 alpha-2. |
Canada Delivered Duty | canada_delivered_duty | null | Indicates that the shipper is pre-paying duties for USPS shipments to Canada. sender_prepay |
Contains Alcohol | contains_alcohol | false | Indicates if the shipment contains alcohol. |
Delivered Duty Paid | delivered_duty_paid | false | Indicates that the shipper is pre-paying duty for the shipment. |
Non Machinable | non_machinable | false | Indicates that the package cannot be processed through FedEx sorting machines. |
Saturday Delivery | saturday_delivery | false | Indicates that the carrier should charge for delivery on Saturday for services that do not otherwise include Saturday Delivery. |
Dry Ice | dry_ice | false | Indicates the shipment includes Dry Ice. |
Dry Ice Weight | dry_ice_weight | see weight object below | |
FedEx Freight | fedex_freight | null | Object to provide details for FedEx Freight services. shipper_load_and_count - String required by FedEx for Freight shipments.booking_confirmation - String required by FedEx for Freight shipments. |
Third Party Consignee | third-party-consignee | null | Hides Consignee-specific information on the commercial invoice for international shipments. |
Ancillary Endorsements Option | ancillary_endorsements_option | null | Indicate the endorsement, if not specified on the carrier account. AddressServiceRequested - Request Address Correction when possible. If undeliverable, return to sender. ForwardingServiceRequested - Request forwarding when possible. ChangeServiceRequested - - Request Address Correction when possible. If undeliverable, either the new address or the reason a shipment is undeliverable is returned. ReturnServiceRequested - Provides address correction services and always returns the piece. |
Freight Class | freight_class | null | See our UPS Ground Freight article. |
Custom Field 1 | custom_field1 | null | This is a memo field and does not impact the carrier functionality. |
Custom Field 2 | custom_field2 | null | This is a memo field and does not impact the carrier functionality. |
Custom Field 3 | custom_field3 | null | This is a memo field and does not impact the carrier functionality. |
Collect On Delivery | collect_on_delivery | null | See Collect on Delivery Collect on Delivery. |
Return Pickup Attempts | return_pickup_attempts | null | Overrides the default number of attempts a supporting carrier will make to deliver a package. Valid values are 1 and 3 . |
Dangerous Goods Category | dangerous_goods_category | null | See our Dangerous Goods article for details about how to ship dangerous goods that are normally restricted from mail, like Lithium Ion Batteries. This is currently supported for:
|
Weight Object
Property | Description |
---|---|
unit | enumerated string, required |
value | decimal, required |
Example
POST /v1/labels
For this example, we're going to send Amanda Miller some wine. Since we're shipping alcohol, we're also going to have to use a special Delivery Confirmation as well. We'll be using UPS as the carrier, since they support adult_signature
and alcohol delivery.
We added the dictionary shipment.advanced_options
and string shipment.confirmation
:
Example Request
Example Response
Next Step: Ship It!
You can now print your label and ship it! Your label can be found by navigating to label_download.href
.