GetDiscountCouponCode

Retrieves information about a discount code.

Input parameters

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

  3. id (integer)
  4. Required. Discount code identifier.

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