GET /v1/coupons/{couponId}
GET
/v1/coupons/{couponId}Authorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
couponIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Responses
200
Success
dataobjectrequiredShow propertiesHide properties
couponIdstringrequiredmin length 1
codestringrequiredmin length 1
namestringrequiredmin length 1
statusstringrequiredAllowed:
activeterminateddiscountTypestringrequiredAllowed:
fixed_amountpercentagedurationstringrequiredAllowed:
oncerepeatingforeverreusablebooleanrequiredtargetsobjectrequiredShow propertiesHide properties
priceIdsstring[] | nullShow propertiesHide properties
Any of:
string[]
Array of
stringstringnull
nullmeterIdsstring[] | nullShow propertiesHide properties
Any of:
string[]
Array of
stringstringnull
nullmetadataobjectrequiredcreatedAtstringrequiredmin length 1
descriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullamountnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullcurrencystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpercentagenumber | nullShow propertiesHide properties
Any of:
number
numbernull
nulldurationInBillingPeriodsnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullexpiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullterminatedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1