UpdateDiscountCouponCode

Updating the discount code with the given identifier.

Input parameters

  1. _session_hash (string)

    Required. Session identifier (received during login - doLogin)

  2. id (integer)

    Discount code identifier.

  3. code (string)

    Required. Code

  4. discount (double)

    Required. Discount in percent

  5. valid_usage (integer)

    Number of uses, 0 means no limit

  6. valid_from (dateTime)

    Valid from

  7. valid_to (dateTime)

    Valid to

Output data

  1. _update (boolean)
  2. Update status.