| 
View
 

Partigi API: reviews update

This version was saved 14 years, 10 months ago View current version     Page history
Saved by Álvaro Bautista
on February 12, 2010 at 11:21:20 am
 

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 created 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.