getComplaints

Method returns list of contractor's complaints.

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

Query params

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

  • id

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

  • modified

    Return all complaints 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 complaint. Example: 12 will return all shipments that contains 12 in the name

  • saleid

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

  • productid

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

  • complaintstatusid

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

  • complaintreasonid

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

  • lang

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

  • id | integer

    Internal identifier of complaint.

  • created | datetime

    When created.

  • modified | datetime

    When last modified.

  • name | string

    Name of complaint

  • description | string

    Description of complaint.

  • fkproduct | integer

    Internal identifier of product. If 0 - then it's about whole sale.

  • productname | string

    Name of product.

  • qty | integer

    Quantity of product.

  • fksale | integer

    Internal identifier of sale.

  • orderno | string

    Order number

  • invoiceno | string

    Invoice number

  • fkcomplaintstatus | integer

    Internal identifier of complaint status.

  • complaintstatusname | string

    Name of complaint status.

  • fkcomplainttype | integer

    Internal identifier of complaint type.

  • complainttypename | string

    Name of complaint type.

  • pictures | string[]

    URLs of attached pictures.

Example URL: https://e-hedo.pl/api/getComplaints.json?key=YOURAPIKEY&lang=en&modified=2016-12-14

Example URL: https://e-hedo.pl/api/getComplaints.xml?key=YOURAPIKEY&lang=en&modified=2016-12-14