Create Discount Codes

Creates a new discount code for an existing discount configuration

šŸ”’

Required scope: DiscountCode_Create

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Unique ID of a discount configuration

Body Params
codes
array of strings
required
length ≤ 1000

List of codes to add to the discount.

Codes cannot be:

  • Only whitespace
  • Be longer than 32 characters
  • Already exist for any discount
codes*
Response
200

Successful response

Language
Credentials
OAuth2
Missing 1 required scope
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!