Retrieve a review
GET/commerce/{connection_id}/review/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Review
Returns
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
item_idstring
Reference to the product being reviewed (reference to CommerceItem)
item_variant_idstring
Optional reference to specific variant if applicable (reference to CommerceCommerceItemvariant)
location_idstring
(reference to CommerceLocation)
ratingnumber
1-5 rating
titlestring
contentstring
author_namestring
author_emailstring
author_avatar_urlstring
author_locationstring
verified_purchaseboolean
helpful_votesnumber
unhelpful_votesnumber
status enum
Valid values:
"PENDING"
"APPROVED"
"REJECTED"
"SPAM"
is_verifiedboolean
is_featuredboolean
is_publicboolean
urlstring
const options = {
method: 'GET',
url: 'https://api.unified.to/commerce/5de520f96e439b002043d8dc/review/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know