getComplaintStatuses

Method returns list of available complaint statuses.

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

Query params

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

  • lang

    string

    Language of result. ISO 2 Letter Language Codes ie

    Example: en, pl, cs

  • id

    integer

    Internal identifier of complaint status.

  • name

    string

    Name of complaint status.

Example URL: https://e-hedo.pl/api/getComplaintStatuses.json?key=YOURAPIKEY&lang=en

[
    {
        "id": 1,
        "name": "Reported"
    },
    {
        "id": 2,
        "name": "In progress"
    },
    {
        "id": 3,
        "name": "Waiting for product return"
    },
    {
        "id": 4,
        "name": "Waiting for signed correction"
    },
    {
        "id": 5,
        "name": "Cancelled"
    },
    {
        "id": 6,
        "name": "Closed"
    },
    {
        "id": 7,
        "name": "Zlecenie przelewu "
    },
    {
        "id": 8,
        "name": "Wys\u0142ane Poczt\u0105 Polsk\u0105 do Klienta "
    },
    {
        "id": 9,
        "name": "Do\u0142\u0105czy\u0107 do zam\u00f3wienia"
    }
]
Example URL: https://e-hedo.pl/api/getComplaintStatuses.xml?key=YOURAPIKEY&lang=en

<?xml version="1.0" encoding="utf-8"?>
<root>
	<item>
		<id>1</id>
		<name>Reported</name>
	</item>
	<item>
		<id>2</id>
		<name>In progress</name>
	</item>
	<item>
		<id>3</id>
		<name>Waiting for product return</name>
	</item>
	<item>
		<id>4</id>
		<name>Waiting for signed correction</name>
	</item>
	<item>
		<id>5</id>
		<name>Cancelled</name>
	</item>
	<item>
		<id>6</id>
		<name>Closed</name>
	</item>
	<item>
		<id>7</id>
		<name>Zlecenie przelewu </name>
	</item>
	<item>
		<id>8</id>
		<name>Wysłane Pocztą Polską do Klienta </name>
	</item>
	<item>
		<id>9</id>
		<name>Dołączyć do zamówienia</name>
	</item>
</root>