The fetch endpoint allows you to retrieve comments related to a particular object or resource within the platform. By making a request to this endpoint, you can retrieve comments made by users or customers, providing valuable insights, feedback, and discussions related to the specific object.Payload#
The unique identifier of the object/resource for the comment.
The text content of the comment being added.
The category/type of the object (either 'product' or 'page').
Response#
Usage#
To fetch the customer's comment about a specific product or a specific page, the developer may call the fetch
method.Events#
This endpoint may trigger two events, the onFetch and onFetchedFailed events.onFetch#
This event is triggered when fetching a comment by the customer is done without having any errors coming back from the backend.onFetchedFailed#
This event is triggered when when fetching a new comment by the customer is not completed and an error has occurred. Modified at 2024-02-18 13:58:25