When creating a FedEx International return shipping label with FedEx a 'return reason' must be specified. Here is how EasyPost users can utilize a shipment option called 'return_service' to specify the desired return reason.
- The shipment must before be identified as a return shipment. This can be done by setting the
is_return
value totrue
on the shipment (See returns documentation here). - Assign one of the following string values to the `return_service` shipment option (See options)
- EXHIBITION_TRADE_SHOW
- FAULTY_ITEM
- FOR_REPAIR
- ITEM_FOR_LOAN
- OTHER
- REJECTED
- TRIAL
- If no
return_service
is specified in the request by the user, EasyPost will default to useOTHER
.
Example:
"shipment":{
"options": { "return_service": "FOR_REPAIR", }
is_return:true,
...
}