Coupon webhook request body resource.
Returns any 2xx status to indicate that the data received.
{- "couponId": "string",
- "eventType": "coupon-expiration-modified",
- "_embedded": {
- "coupon": {
- "id": "cpn_0YVCNKF81GD778N4YNVGDJK558",
- "discount": {
- "amount": 0.01,
- "currency": "USD",
- "type": "fixed",
- "context": "items"
}, - "restrictions": [
- {
- "type": "discounts-per-redemption",
- "quantity": 0
}
], - "redemptionsCount": 0,
- "status": "draft",
- "description": "string",
- "issuedTime": "2019-08-24T14:15:22Z",
- "expiredTime": "2019-08-24T14:15:22Z",
- "revision": 0,
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}
}, - "_links": [
- {
- "href": "string",
- "rel": "coupon"
}
]
}