Get coupon details
Path parameters
Coupon ID
Response
Coupon details
Example response
{
"id": "cou_7n42DGM5Tflk9n8mt7Fhc7",
"plan_ids": [
"plan_7n42DGM5Tflk9n8mt7Fhc7"
]
}Changes
Changed in 5 of the 54 revisions of this API.527
- ▲
the response property
descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
descriptionbecame optional for the status200response-property-became-optional
- ○
added the optional property
archived_atto the response with the200statusresponse-optional-property-added
- ○
added the required property
created_atto the response with the200statusresponse-required-property-added
- ○
added the required property
plan_idsto the response with the200statusresponse-required-property-added
- ○
added the required property
redemption_countto the response with the200statusresponse-required-property-added
- ▲
- ▲
the
discount/oneOf[FixedDiscount]/amountresponse's property type/format changed fromstring/decimaltostring/for status200response-property-type-changed
- ▲
the
discount/oneOf[PercentageDiscount]/percentageresponse's property type/format changed fromstring/decimaltostring/for status200response-property-type-changed
- ○
response discriminator property name changed for
discountresponse property fromdiscriminatortotypefor the response status200response-property-discriminator-property-name-changed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
TOO_MANY_REQUESTSenum value to thecoderesponse property for the response status401response-property-enum-value-added
- ●
added the new
TOO_MANY_REQUESTSenum value to thecoderesponse property for the response status404response-property-enum-value-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ●
- ○
endpoint added
endpoint-added
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 274 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲