Coupon Create

Create a new coupon

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
codestringRequired1-32 characters
valuedoubleRequired
typeenumRequired
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
500
Internal Server Error