Update a gift
This endpoint gives possibility to update delivery details of a given gift that was previously purchased.
patch/gifts/{giftId}
Request
- Base URLhttps://api.sandbox.cleeng.com/3.1
- URLhttps://api.sandbox.cleeng.com/3.1/gifts/{giftId}
- AuthAPI key in header X-Publisher-Token
Path parameters
giftIdinteger required
Gift identifier at Cleeng. It can be retrieved from the transaction list (targetId).
Headers
Content-Typestring
Request body
Response
200
Example response
{
"id": 123456789,
"code": "AAAA-BBBB",
"offerId": "S123123123_PL",
"deliveryDetails": {
"personalNote": "Happy birthday",
"recipientEmail": "johndoe@test.com",
"deliveryDate": 1691193600
}
}Changes
No recorded changes to this operation across all 1 revision of this API.