Add a new DiscountCode

Add a new DiscountCode

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

DiscountCode object that needs to be added

string
required

Code which user should use to apply discount

uri
required

Relation to Discount which assigned to this object

integer
enum
required

Type of DiscountCode: (0: Multiple time use, 1: One time use)

Discount Code Types:

  • 0 - DISCOUNT_CODE_TYPE_MULTIPLE
  • 1 - DISCOUNT_CODE_TYPE_SINGLE
Allowed:
boolean

Flag which shows used this DiscountCode or not

string

Callback URL for when asynchronous override process completes

Responses
201

Successful operation

202

Request accepted

302

Request processing

400

Invalid input

403

Establishment has insufficient permissions

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!