Updates a DiscountCode object

Updates 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 object that needs to be updated

string
required

Code which user should use to apply discount

uri
required

Relation to Discount which assigned to this object

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

Flag which shows used this DiscountCode or not

Responses
200

Successful operation

204

Successful operation

400

Invalid ID supplied

404

DiscountCode not found

405

Validation exception

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