getShipmentTypes

Method returns list of shipment types.

Usage URL: https://e-hedo.pl/api/getShipmentTypes.json?key=YOURAPIKEY

Query params

(put those in your URL, e.g. ?id=123)

  • id

    Internal identifier of shipment type. More than one value can be specified after comma (,) separator.

  • modified

    Return all shipment types modified after the modified date. That is highly recommended when you want to update your local database.
    Date format is yyyy-MM-dd

  • name

    Name of shipment type. Example: cover will return all shipment types that contains cover in the name

  • country | required

    Country iso code. Two letters format ie: de, pl, gb, us

  • weight

    Returns all shipment types that can carry specified weight. Integer value, in kg.

  • lang

    Language of result. ISO 2 Letter Language Codes ie: en, pl, cs

  • id

    Shipment type internal identifier.

  • modified

    When shipment type was last modified

  • name

    Shipment type name.

  • description

    Shipment type description.

  • logo

    File name of logo.

  • trackingurl

    URL of website where customers can track their package status.

  • maxweight

    Max allowable weight for this shipment type. Returns 0 if country code was not specified.

Example URL: https://e-hedo.pl/api/getShipmentTypes.json?key=YOURAPIKEY&lang=en&id=34,37

[
    {
        "id": 34,
        "modified": "2018-09-26 10:20:13",
        "name": "FEDEX (Express)",
        "description": "Ekspresowa dostawa \"od drzwi do drzwi\" dokument\u00f3w i towar\u00f3w podlegaj\u0105cych ocleniu o wadze do 68 kg z okre\u015blonym czasem dor\u0119czenia, obejmuj\u0105ca odpraw\u0119 celn\u0105.\n\nDor\u0119czanie przesy\u0142ek na terenie wi\u0119kszo\u015bci kraj\u00f3w Europy Zachodniej nast\u0119pnego dnia.",
        "logo": "no-image",
        "trackingurl": "https:\/\/www.fedex.com\/fedextrack\/?tracknumbers=[number]&locale=en_GB",
        "minorders": 0,
        "maxweight": 0
    },
    {
        "id": 37,
        "modified": "2018-09-28 12:10:44",
        "name": "InPost - Paczkomaty",
        "description": null,
        "logo": "https://core.e-hedo.pl\/image.php?name=575949e85f5d4d1382e11d5219848839-nowt.png",
        "trackingurl": "https:\/\/twoj.inpost.pl\/pl\/znajdz-przesylke?parcel=[number]",
        "minorders": 0,
        "maxweight": 0
    }
]
Example URL: https://e-hedo.pl/api/getShipmentTypes.xml?key=YOURAPIKEY&lang=en&id=34,37

<?xml version="1.0" encoding="utf-8"?>
<root>
	<item>
		<id>34</id>
		<modified>2018-09-26 10:20:13</modified>
		<name>FEDEX (Express)</name>
		<description>Ekspresowa dostawa &quot;od drzwi do drzwi&quot; dokumentów i towarów podlegających ocleniu o wadze do 68 kg z określonym czasem doręczenia, obejmująca odprawę celną.

Doręczanie przesyłek na terenie większości krajów Europy Zachodniej następnego dnia.</description>
		<logo>no-image</logo>
		<trackingurl>https://www.fedex.com/fedextrack/?tracknumbers=[number]&amp;locale=en_GB</trackingurl>
		<minorders>0</minorders>
		<maxweight>0</maxweight>
	</item>
	<item>
		<id>37</id>
		<modified>2018-09-28 12:10:44</modified>
		<name>InPost - Paczkomaty</name>
		<description></description>
		<logo>https://core.e-hedo.pl/image.php?name=575949e85f5d4d1382e11d5219848839-nowt.png</logo>
		<trackingurl>https://twoj.inpost.pl/pl/znajdz-przesylke?parcel=[number]</trackingurl>
		<minorders>0</minorders>
		<maxweight>0</maxweight>
	</item>
</root>