Coupon Update

Update a coupon

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired

Request

This endpoint expects an object.
codestringOptional1-32 characters
valuedoubleOptional
typeenumOptional
Allowed values:
max_usesdoubleOptionalDefaults to 1
is_activebooleanOptionalDefaults to false

Response

Successful response
successboolean

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error