Get Rate

This request returns the information of a single rate

Get Rate

GET https://api-sandbox.shiplemon.com/v1/rates/:id

This endpoint allows you to get the rate by id

Path Parameters

Name
Type
Description

id

string

Id of the rate To be able to get a rate by id you should first get rates An example id of a rate is: acs_2.48_0c4abcce-4546-48c7-a82c-56190628a734

{
    "status": "ok",
    "data": {
        "id": "dhl_dhlexpress-domesticexpressdoc_20531b76ce4943bb95c51509fc6e945d",
        "driver": "dhl",
        "provider": {
            "name": "DHL Express",
            "image": "https://shippo-static.s3.amazonaws.com/providers/200/DHL.png"
        },
        "service": {
            "name": "DOMESTIC EXPRESS DOC",
            "estimated_delivery_in_days": 1
        },
        "total_amount": 26.34,
        "currency": "EUR",
        "printing_required": true,
        "transportation": "road",
        "metadata": {
            "items": [
                {
                    "weight": 2000,
                    "height": 10,
                    "width": 30,
                    "length": 20,
                    "notes": "Nike air max",
                    "value": 10,
                    "currency": "EUR"
                },
                {
                    "weight": 2000,
                    "height": 10,
                    "width": 30,
                    "length": 20,
                    "notes": "Nike air max",
                    "value": 10,
                    "currency": "EUR"
                }
            ],
            "address_from": {
                "country": "GR",
                "zip": "14451"
            },
            "address_to": {
                "country": "GR",
                "zip": "14121"
            }
        }
    }
}

Specific examples per language

Example response

Last updated