Retrieve Shipping method transit times

GET {{baseUrl}}/insights/shipping-methods/transit-times?shipping_method_code=<string>&shipping_method_code=<string>&from_country=<string>&to_country=<string>&start_date=<date>&end_date=<date>

This endpoint retrieves the average transit time of a parcel per selected shipping method and carrier code. You can filter the results by origin and destination country, as well as start and end dates.

Request Params

KeyDatatypeRequiredDescription
shipping_method_codestring(Required) selection of shipping methods
shipping_method_codestring(Required) selection of shipping methods
from_countrystringorigin country
to_countrystringdestination country
start_datestringfirst delivery start date
end_datestringfirst delivery end date

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;transit_times&quot;:[{&quot;user_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;shipping_method_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;total_parcels&quot;:&quot;\u003cinteger\u003e&quot;,&quot;transit_time&quot;:&quot;\u003cnumber\u003e&quot;,&quot;carrier_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;from_country&quot;:&quot;\u003cstring\u003e&quot;,&quot;to_country&quot;:&quot;\u003cstring\u003e&quot;,&quot;start_date&quot;:&quot;\u003cdate\u003e&quot;,&quot;end_date&quot;:&quot;\u003cdate\u003e&quot;},{&quot;user_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;shipping_method_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;total_parcels&quot;:&quot;\u003cinteger\u003e&quot;,&quot;transit_time&quot;:&quot;\u003cnumber\u003e&quot;,&quot;carrier_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;from_country&quot;:&quot;\u003cstring\u003e&quot;,&quot;to_country&quot;:&quot;\u003cstring\u003e&quot;,&quot;start_date&quot;:&quot;\u003cdate\u003e&quot;,&quot;end_date&quot;:&quot;\u003cdate\u003e&quot;}]}