Get shipping fees from origin location
Shipment
Get shipping fees from origin location
GET
Get shipping fees from origin location
Returns the list of return service types available for a given origin (country + postal code) and parcel size/weight, with an estimated fee for each. Use this as the fee-preview companion to the other
/api/ServiceType/* lookups before committing to Create return shipment. There is no fee guarantee at preview time, but the same combination will normally produce the same fee on shipment creation.
This is the return catalogue with fees attached. For resend outbound services, this endpoint does not apply — start from Get available shipment service types for warehouse. Resend fees are determined at order-creation time, not previewable through this endpoint.
When to call
- To pick the cheapest return price for a parcel of known dimensions and weight.
- During integration testing, to verify which return services your account is wired up for in a given country.
Required parameters
fromCountryCode— required, lowercase ISO3 (e.g.usa,gbr). See Get all from countries for valid values.fromPostalCode— required, non-empty.weight,dimension1,dimension2,dimension3— all required and must all be> 0.limit— optional, capped at50. Defaults to no limit when omitted (the response is bounded by available services).
Response notes
- Each entry includes
serviceTypeCode,serviceType(display name),warehouseId(the warehouse receiving the return items),currencyCode, andfee. - The list is filtered to return services your account is authorised for at that origin. An empty response means no service fits the requested size/weight at that origin.
chargeableWeightis what the carrier will bill on, which may exceed actualweightdue to dimensional weight rounding.
Related
- Create return shipment — uses the chosen
serviceTypeCode. - Get all return service types — full list of return services without size/weight filtering.
- Get service types by origin and destination countries and Get service types by origin country and warehouse — narrower lookups without fee estimates.
- Get all countries and Get all from countries — valid country codes.
Authorizations
Your API key
Your API token — keep this private
Query Parameters
ISO3 origin country code
Origin postal code
Parcel weight
Length (longest dimension)
Width (second longest dimension)
Height (shortest dimension)
Maximum number of results
Required range:
0 <= x <= 50Response
Success
Shipping fee summary