GET / Couriers API now returns courier's origin countries

Upon user request we have updated the response for GET / Couriers API response to return not just the couriers slug, name, phone, other_name, required_fields, we also prove the origin countries service_from_country_iso3 (ISO-3166 three-letter codes) where the couriers ship from.

Example - delhivery

service_from_country_iso3 is IND meaning it ships from India.

{
    "slug": "delhivery",
    "name": "Delhivery",
    "phone": "+91 (124) 6719500",
    "other_name": "Gharpay",
    "web_url": "http://www.delhivery.com/",
    "required_fields": [],
    "default_language": "en",
    "support_languages": [
        "en"
    ],
    "service_from_country_iso3": [
        "IND"
    ]
},

Example - fedex

service_from_country_iso3 is empty meaning it supports all countries worldwide.

{
    "slug": "fedex",
    "name": "FedEx",
    "phone": "+1 800 247 4747",
    "other_name": "Federal Express",
    "web_url": "http://www.fedex.com/",
    "required_fields": [],
    "default_language": "en",
    "support_languages": [
        "en"
    ],
    "service_from_country_iso3": []
},

Andrew Chan

Read more posts by this author.

Subscribe to AfterShip Blog

Get the latest posts delivered right to your inbox.

or subscribe via RSS with Feedly!