# Product review insertion Importing product reviews with option to backdate them Endpoint: POST /api/reviews/products Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Header parameters: - `Content-Type` (string, required) ## Request fields (application/json): - `data` (object, required) - `data.productGuid` (any, required) Product guid related to review. - `data.date` (string,null) Review creation date. - `data.fullName` (string,null) full name (can be null) - `data.email` (string) email address - `data.description` (null,string) - `data.rating` (integer, required) Number from 1 to 5 representing starts of review's rating. - `data.customerGuid` (null,string) Customer guid related to review. Can be null. - `data.orderCode` (null,string) Order code related to review. Can be null. - `data.ipAddress` (string,null) IP address of the client who made the review - `data.reaction` (object) - `data.reaction.reactionCreated` (string,null) Date of creation of reaction. Can be null. - `data.reaction.reactionFullName` (null,string) - `data.reaction.reactionEmail` (null,string) - `data.reaction.reactionText` (null,string) ## Response 201 fields (application/json): - `data` (object, required) - `data.guid` (string, required) - `data.date` (string,null, required) Review creation date. - `data.orderCode` (null,string, required) Order code related to review. Can be null. - `data.rating` (integer, required) Number from 1 to 5 representing starts of review's rating. - `data.productName` (string, required) Product name related to review. - `data.productGuid` (any, required) Product guid related to review. - `data.description` (null,string, required) - `data.fullName` (null,string, required) Fullname of review's author. Can be null. - `data.email` (null,string, required) Email of the review author. If it's a registered customer and the review email is empty, it's filled with the customer's main account email. Can be null. - `data.ipAddress` (string,null) IP address of the client who made the review. Can be null. - `data.customerGuid` (null,string, required) Customer guid related to review. Can be null. - `data.authorized` (boolean, required) - `data.visible` (boolean, required) - `data.reaction` (object, required) - `data.reaction.reactionCreated` (string,null, required) Date of creation of reaction. Can be null. - `data.reaction.reactionFullName` (null,string, required) - `data.reaction.reactionEmail` (null,string, required) - `data.reaction.reactionText` (null,string, required) - `data.updated` (string,null, required) Timestamp whenever the rating is changed - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 403 fields (application/json): - `data` (object,null) - `errors` (array,null) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 404 fields (application/json): - `data` (object,null) - `errors` (array,null) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 422 fields (application/json): - `data` (object,null) - `errors` (array) - `errors.errorCode` (string) - `errors.message` (string) - `errors.instance` (string)