commerce
review

Create a review

post/commerce/{connection_id}/review

Request

  • Base URL: http://api.unified.to
  • URL: http://api.unified.to/commerce/{connection_id}/review
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

Query parameters

fieldsstring[]

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

Request body

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(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'PENDING' | 'APPROVED' | 'REJECTED' | 'SPAM'
is_verifiedboolean
is_featuredboolean
is_publicboolean
urlstring
rawunknown

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(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'PENDING' | 'APPROVED' | 'REJECTED' | 'SPAM'
is_verifiedboolean
is_featuredboolean
is_publicboolean
urlstring
rawunknown

Changes

No recorded changes to this operation across all 1 revision of this API.