This endpoint retrieves details of a given gift that was previously purchased.

get/gifts/{giftId}

Request

  • Base URL
    https://mediastoreapi-sandbox.cleeng.com
  • URL
    https://mediastoreapi-sandbox.cleeng.com/gifts/{giftId}
  • Auth
    API 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 header request parameter Content-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-gift removed and replaced with get-a-gift

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status