Get Gift Details
This endpoint provides the details of the gifted product, along with any related entities, such as images and texts associated with the gift.The get gift details endpoint has been implemented in the Gifting Web Component , and It's all setup to save developer's time and effort. Payload#
The id of the product to be gifted.
Response#
product.getGiftDetails.success
Data is available when the success is true
Usage#
To perform the action of providing the details of the gifted product, the developer may call the method getGiftDetails()
as follows.Events#
This endpoint may trigger two events, the onGiftFetched and onGiftFetchFailed events.onGiftFetched#
This event is triggered when the action of providing the details of the gifted product is done without having any errors coming back from the backend.onGiftFetchFailed#
This event is triggered when the action of providing the details of the gifted product is not completed and an error has occurred. Modified at 2025-03-04 12:54:02