get_coupon_usage
Get paginated coupon usage details with associated payments for a promotion ID and coupon code, sorted by most recent payment.
Instructions
🟢 READ-ONLY · Promotions · GET /v2/promotions/{pid}/coupons/{cid}/usage
Get coupon usage
Returns information about the coupon specified by the provided promotion id and coupon code. More specifically, the coupon usage details are listed along with the asocciated payments.The payments are in sorted order, with the most recently created payment appearing first, and the list is paginated, with a limit of 50 payments per page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | Coupon code | |
| pid | Yes | Promotion Id | |
| page | No | Filter by the page number. In case page number is higher than the maximum one, the results of last page will be returned |