List all Offers that you linked to a Card.
Headers
Name | Value |
---|---|
Authorization | Bearer {JWT} |
URL parameters
Key | Required | Comment |
---|---|---|
id | Yes | Integer. The Card ID. |
Response
Name | Value |
---|---|
clos | JSON array. Each element is a JSON object. |
clos[].card_offer | JSON object |
clos[].card_offer.id | integer |
clos[].card_offer.card_id | integer |
clos[].card_offer.offer_id | integer |
clos[].card_offer.created_at | string. Timestamp in format YYYYMMDDhhmmss |
clos[].card_offer.redeemed | boolean |
clos[].card_offer.redeemed_at | string. Timestamp in format YYYYMMDDhhmmss |
clos[].offer | JSON object |
clos[].offer.id | integer |
clos[].offer.name | string |
clos[].offer.start_date | string. Timestamp in format YYYYMMDDhhmmss |
clos[].offer.description | JSON array |
clos[].offer.merchant_id | integer |
clos[].offer.offer_type | string |