Updating the discount code with the given identifier.
_session_hash
(string)
Required. Session identifier (received during login - doLogin)
id
(integer)
Discount code identifier.
code
(string)
Required. Code
discount
(double)
Required. Discount in percent
valid_usage
(integer)
Number of uses, 0 means no limit
valid_from
(dateTime)
Valid from
valid_to
(dateTime)
Valid to
_update
(boolean)Update status.