| 
View
 

Partigi API: reviews update

This version was saved 15 years, 5 months ago View current version     Page history
Saved by Fernando Blat
on July 14, 2009 at 12:41:43 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/create

 

Formats:

atom (success)

xml (error)

 

HTTP Methods:

POST

 

Requires Authentication:

true

 

Parameters:

Required:

  • review_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.