Skip to main content
Required scopes: shipping_write

Arguments

Preferred carrier. Null clears the preference.
String
Preferred service from the carrier, as rates return it, such as PriorityMailReturn. Null uses the carrier’s cheapest eligible rate. An unknown service, or a service with no carrier, fails with BAD_USER_INPUT (400).

Returns

The carrier and service preferred for return labels created during outbound fulfillment. With no preference, Redo tries the original shipment’s carrier, then the cheapest eligible rate.

Example