Redeems a coupon.
Coupon redeemed.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
{- "couponId": "cpn_0YVCNKF81GD778N4YNVGDJK558",
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "additionalRestrictions": [
- {
- "type": "discounts-per-redemption",
- "quantity": 0
}
]
}
{- "id": "cpn_rdm_0YVCNKF81GD778N4YNVGDJK558",
- "couponId": "cpn_0YVCNKF81GD778N4YNVGDJK558",
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "additionalRestrictions": [
- {
- "type": "discounts-per-redemption",
- "quantity": 0
}
], - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "canceledTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}