get https://api.sandbox.cleeng.com/3.1/gifts/
This endpoint retrieves details of a given gift that was previously purchased.
Response description
Response | Type | Description |
---|---|---|
id | integer | The identifier of a gift. Example: 123456789. |
code | string | A gift code. Min length: 9, max length: 9. Example: 1A2B-3C4D. |
offerId | string | The identifier of a Cleeng offer. Example: S123123123_US. |
deliveryDetails | object | Gift delivery details: |
- recipientEmail | string | - The email address of the person reciving a gift (recipient). |
- personalNote | string | - A personalized message for the person who receives a gift (recipient). Max length: 255 characters. Example: "Happy Birthday!" |
- deliveryDate | integer | - A date when a gift should be delivered to the recipient (in UNIX timestamp format). |
sentAt | integer | Time when the gift code was sent to the recipient (in UNIX timestamp format). null if the gift has not been sent. |
redeemedAt | integer | Time when the gift code was redeemed by the person who received it (recipient) (in UNIX timestamp format). null if the gift has not been redeemed. |