Menu
List Active Coupon Redemptions
List the coupon redemptions that are active on an account
GET
/accounts/{account_id}/coupon_redemptions/activeUse it in a workflow
- Add a step and choose the Recurly connector.
- Pick the List Active Coupon Redemptions action (under coupon_redemption).
- Fill in the fields below, then reference the result from later steps as
{{listActiveCouponRedemptions.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{listActiveCouponRedemptions.response.data.<field>}}.
{
"object": "string",
"has_more": false,
"next": "string",
"data": [
{
"id": "string",
"object": "string",
"uuid": "string",
"account": {
"id": "string",
"object": "string",
"code": "string",
"email": "name@example.com",
"first_name": "string",
"last_name": "string",
"company": "string",
"parent_account_id": "string",
"bill_to": "string",
"dunning_campaign_id": "string"
},
"subscription_id": "string",
"coupon": {
"id": "string",
"object": "string",
"code": "string",
"name": "string",
"state": "expired",
"max_redemptions": 0,
"max_redemptions_per_account": 0,
"unique_coupon_codes_count": 0,
"unique_code_template": "string",
"unique_coupon_code": {},
"duration": "forever",
"temporal_amount": 0
},
"state": "active",
"remaining_duration": {
"type": "forever",
"expires_at": "2025-01-01T00:00:00Z",
"redemptions_remaining": 0
},
"currency": "string",
"discounted": 0,
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}
]
}
Need more? See the Recurly guide for connection setup and behaviour shared by every action.
Was this page helpful?