Updates details of a DiscountCode object

Updates details of a DiscountCode object specified by ID

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

ID of DiscountCode to update

Body Params

DiscountCode data that needs to be changed

string

Code which user should use to apply discount

uri

URI of this resource

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
required

Flag which shows used this DiscountCode or not

Responses

400

Invalid ID supplied

403

Establishment has insufficient permissions

404

DiscountCode not found

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json