| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

Partigi API: reviews update

Page history last edited by Álvaro Bautista 14 years, 8 months ago

Go back to Partigi API Documentation

 

reviews/update

Update a review of an item given its ID, only if the authenticated use is the owner of the review.

 

URL:

http://www.partigi.com/api/v1/reviews/update

 

Formats:

atom, json (more about JSON responses)

 

HTTP Methods:

POST, PUT

 

Authentication Mode:

read-write

 

Parameters:

Required:

  • id:  The identifier of the review to be modified

Optional:

  • text: The text of the review
  • rating: The rating given to the item by the user. Allowed values are between 1 and 5.
  • status: The status of the review (see available review status page). The default value is 0.

 

Response:

 

If there are not errors in the request, the review will be updated successfully, and the response will be the review in the specified format.

 

If there were any errors the response will be a an explanation of the error in plain text.

 

For more information, visit the page HTTP Response Codes and Errors

 

Go back to Partigi API Documentation

Comments (0)

You don't have permission to comment on this page.