Venddor IO offers a dedicated API interface for managing reviews and comments, enabling businesses to engage with their customer feedback effectively. The following guide walks through the various functionalities available.
URL: http://example.com/api/2.0/discussions/
Purpose: Retrieve or submit general reviews and comments.
Supported Methods: GET, POST
URL: http://example.com/api/2.0/discussions/:id
Purpose: Interact with a specific review or comment.
Supported Methods: GET, PUT, DELETE
URL: http://example.com/api/2.0/products/:p_id/discussions/
Purpose: Fetch or submit reviews and comments tied to a particular product.
URL: http://example.com/api/2.0/products/:p_id/discussions/:id
Purpose: Access or modify a particular review or comment associated with a specific product.
Supported Methods: GET, PUT, DELETE
For easy retrieval and viewing of reviews and comments, Venddor IO provides pagination and filtering capabilities. The table below outlines the available parameters:
| Parameter | Default Value | Description |
|---|---|---|
| page | 1 | Display reviews and comments from the defined page number. |
| items_per_page | 10 | Set the number of reviews and comments per page. |
| sort_by | timestamp | Sort feedback based on criteria like name, ip_address, timestamp, or status. |
| ... | ... | ... |
| object_type | Filter feedback by their related object. E.g., P for product, C for category, A for a page, etc. | |
| ... | ... | ... |
http://example.com/api/2.0/discussions?items_per_page=20http://example.com/api/2.0/discussions?items_per_page=20http://example.com/api/2.0/products/167/discussionsReviews and comments in Venddor IO are characterized by various attributes or fields. Mandatory fields are highlighted with an asterisk (*).
| Field Name | Description | Default Value | Supported Values |
|---|---|---|---|
| Field details would be listed here | |||