get_coupon_usage
Retrieve coupon usage details for a specific promotion and coupon code, including associated payments sorted by most recent, with pagination support.
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 |