GetDiscountCouponCodeList

Retrieves a list of discount codes.

Input Parameters

  1. _session_hash (string)
  2. Required. Session identifier (obtained during login - doLogin)

  3. _offset (integer)
  4. Required. Specifies the offset of the results.

  5. _limit (integer)
  6. Required. Specifies the number of results in the query.

  7. _modified_from (dateTime)
  8. Specifies the modification date from which the results will be displayed. Time in unixtime format.

  9. _modified_to (dateTime)
  10. Specifies the modification date to which the results will be displayed. Time in unixtime format.

Output Data

  1. id (integer)

    Discount code identifier.

  2. code (string)

    Required. Code

  3. discount (double)

    Required. Discount in percent

  4. valid_usage (integer)

    Number of uses, 0 means no limit

  5. valid_from (dateTime)

    Valid from

  6. valid_to (dateTime)

    Valid to

  7. used (integer)

    Number of uses