getComplaintTypeOptions

Method returns list of available complaint reasons FOR specific product in sale.

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

Query params

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

  • saleid | required

    Internal identifier of sale.

  • productid

    Internal identifier of product.
    If 0 or empty—that means that complaint is about whole order.

  • lang

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

  • label | string

    Human-readable name of complaint type with reason for being disabled if applicable

  • value | string

    ID of complaint type

  • disabled | bool

    Whether complaint type can be selected for given parameters