shop.product.reviews.getTree

Returns product reviews tree.

Parameters

  • product_id GET

    Product id.

  • parent_id GET Optional

    Id of the review which should be considered as the tree root. If not specified then method returns the entire reviews tree.

  • depth GET Optional

    Number of tree levels which should be returned. If not specified, the entire reviews tree is returned.

  • access_token GET

    API auth token obtained during the API authorization.

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Sample call

https://demo1.webasyst.com/api.php/shop.product.reviews.getTree?

Error codes

  • invalid_request

    Invalid formed request. Additional information about the error is available in error_description parameter.

  • access_denied

    Access to the specified API method for the current token is denied.

  • invalid_method

    Unknown API method.