Create up to 1.000 discount codes for a discount. The codes are generated based on the syntax provided.
Configure which environment the request will handle. If the provided credentials do not allow access to this specified environment, a 403 Forbidden response is returned.
Id of discount to associate the discount codes.
Request body.
Number of codes to generate, between 1 and 1.000. Call endpoint to generate more codes.
Specifies a syntax to build each code around. Example 'ABC-{code}' will generate codes like 'ABC-a1g2e3g4'.
Maximum amount of times this discount code. This is an overall limit, rather than a per-customer limit.
OK