| 
View
 

Partigi API: reviews update

This version was saved 14 years, 10 months ago View current version     Page history
Saved by Fernando Blat
on February 7, 2010 at 6:29:36 pm
 

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 (success)

xml (error)

 

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 should be updated successfully, and the response will be the review in atom format.

 

But if there are errors the response will be a XML format response with the HTTP status error code corresponding to that error and some fields explaining the error.

 

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.