Get a gift
Changed onThis endpoint retrieves details of a given gift that was previously purchased.
get/gifts/{giftId}
Request
- Base URLhttps://mediastoreapi-sandbox.cleeng.com
- URLhttps://mediastoreapi-sandbox.cleeng.com/gifts/{giftId}
- AuthAPI key in header Authorization
Path parameters
giftIdinteger required
Gift identifier at Cleeng. It can be retrieved from the transaction list (targetId).
Response
200
Example response
{
"responseData": {
"id": 123456789,
"code": "AAAA-BBBB",
"offerId": "S772011221_PL",
"deliveryDetails": {
"personalNote": "Happy birthday",
"recipientEmail": "johndoe@test.com",
"deliveryDate": 1691193600
}
}
}Changes
- warning
deleted the
headerrequest parameterContent-Type - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
31-get-a-giftremoved and replaced withget-a-gift - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning