Feedback

All endpoints related to Feedback

Supported Endpoints

  • getAllFeedback(): Returns a list of all the feedback received.

  • getFeedback(id): Retrieves a feedback by the entered ID.

  • replyFeedback(id, replyMessage): Responds to a given feedback by the entered ID.


getAllFeedback()

Usage
const Sellapp = require("sellapp-node");
const API = new Sellapp.API("YOUR_API_KEY");

API.feedback.getAllFeedback().then((res) => {
    console.log(res)
});

getFeedback()

Usage
const Sellapp = require("sellapp-node");
const API = new Sellapp.API("YOUR_API_KEY");

API.feedback.getFeedback("666").then((res) => {
    console.log(res)
})


replyFeedback()

Usage
const Sellapp = require("sellapp-node");
const API = new Sellapp.API("YOUR_API_KEY");

API.feedback.replyFeedback("666", "Thanks for the positive feedback!").then((res) => {
    console.log(res); // blacklisting the said user with the string "evil user" as description
});

Last updated