- Retrieve a coupon redemption
Coupon restriction types
Retrieve coupon redemptions
Redeem a coupon
Cancel a coupon redemption
Retrieve coupons
Create a coupon
Retrieve a coupon
Upsert a coupon
Specify a coupon expiration time
Coupon application removed
Coupon applied
Coupon expiration modified
Coupon expired
Coupon issued
Coupon modified
Coupon redeemed
Coupon redemption canceled
Retrieve a coupon redempt...
Retrieves a coupon redemption with a specified ID.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/coupons-redemptions/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/coupons-redemptions/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/coupons-redemptions/{id}
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/coupons-redemptions/{id}' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Coupon redemption retrieved.
ID of the customer resource.
Example:"cus_0YV7DDSDD1C8DA64KHH2W33CPF"
Additional coupon redemption restrictions.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Response
- discounts-per-redemption
- maximum-order-amount
- minimum-order-amount
- paid-by-time
- restrict-to-invoices
- restrict-to-plans
- restrict-to-products
- restrict-to-subscriptions
{ "id": "cpn_rdm_01HXC82EEPW6YD3MPWJY7151VR", "couponId": "cpn_0YVCNKF81GD778N4YNVGDJK558", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "additionalRestrictions": [ { … } ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "canceledTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }