getComplaintTypeOptions

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

Usage URL: https://hedo-pets.com/api/getComplaintTypeOptions.json?key=YOURAPIKEY

Query params

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

  • saleid | required

    integer

    Internal identifier of sale.

  • productid

    integer

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

  • lang

    string

    Language of result. ISO 2 Letter Language Codes ie

    Example: en, pl, cs

  • label

    string

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

  • value

    integer

    ID of complaint type

  • disabled

    boolean (1 = true, 0 = false)

    Whether complaint type can be selected for given parameters