Project

General

Profile

Feedback


Get Feedback List

This method gets a list of feedback you received or posted.

Request

Method URI
GET /feedback

* Parameters

Parameter Name Value Optional Description
direction String Y The direction of the feedback to get. Acceptable values are:
- "out": Gets posted feedback.
- "in": Gets received feedback. (default)

* Request body

Do not supply a request body with this method.
 

Response

If successful, this method returns a list of feedback resource as "data" in the response body.

Example

  • GET /feedback
    • Retrieves a list of feedback you received
  • GET /feedback?direction=out
    • Retrieves a list of feedback you posted

Get Feedback

This method gets a specified feedback.

Request

Method URI
GET /feedback/{feedback_id}

* Parameters

Parameter Name Value Optional Description
feedback_id Integer N The ID of the feedback to get

* Request body

Do not supply a request body with this method.
 

Response

If successful, this method returns feedback resource as "data" in the response body.

Example

  • GET /feedback/1234
    • Retrieves a specific feedback with feedback ID #1234

Post Feedback

This method posts a new feedback about the transaction.

Request

Method URI
POST /feedback

* Parameters

Do not supply a request parameter with this method.

* Request body

In the request body, supply feedback resource. The feedback resource object should include:
  • order_id
  • rating
  • comment
     

Response

If successful, this method returns feedback resource as "data" in the response body.

Example

  • POST /feedback
    • Creates a new feedback

Reply Feedback

This method creates a reply to the specified feedback you received.

Request

Method URI
POST /feedback/{feedback_id}/reply

* Parameters

Parameter Name Value Optional Description
feedback_id Integer N The ID of the feedback to post a reply

* Request body

In the request body, supply feedback resource. The feedback resource object should include:
  • reply
     

Response

If successful, this method returns an empty "data".

Example

  • POST /feedback/1234/reply
    • Creates a new reply for feedback #1234

Add picture from clipboard (Maximum size: 24.4 MB)