API Documentation
Review Ingestion API
Description
This document outlines the requirements for sending a review from an external source (ie. a Review Collector) to ReviewHub via API integration.
Endpoint
Contact Wholescale for specific endpoints and API keys.
Request
Headers
Header | Required | Description |
---|---|---|
Content-Type | Yes | application/json |
API-Key | Yes | Unique to each client |
Body Parameters
Parameter | Type | Required | Description |
---|---|---|---|
| string | Yes | First name of the user |
| string | Yes | Last name of the user |
| string | Yes | Email address of the user |
| string | No | Phone number of the user |
| integer | Yes | IP address of the user |
| string | Yes | Shopify Product ID |
| string | Yes | Partner name |
| array | Yes | Attributes used to validate reviews according to your parameters, in most cases order number. |
| object | Yes | Review details for the product |
Review Object
Parameter | Type | Required | Description |
---|---|---|---|
| integer | Yes | Star rating (1-5) |
| string | Yes | Title of the review |
| string | Yes | Description of the review |