Update an existing buy X get Y discount code.
The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your admin user credentials.
Request body for creating a buy X get Y discount code.
Used to determine which discount code we are editing. Can use either this or the code field.
Used to determine which discount code we are editing. Can use either this or the id field.
The amount of the discount. For percentage discounts, this is the percentage value with up to two decimal places, e.g., 12.34 = 12.34%.
An object containing maximum discounts that can be applied to an order using this code. Keyed by currency code.