Skip to navigation

AddProductReviewError

UNION
Error coming from submitting a product review.

Possible types

CustomerAlreadyReviewedProductErrorCustomerAlreadyReviewedProductErrorRequired
An error resulting from a customer submitting multiple reviews to the same product.
OR
NotAuthorizedToAddProductReviewErrorNotAuthorizedToAddProductReviewErrorRequired
The not authorized to add product review error.
OR
ProductIdNotFoundErrorProductIdNotFoundErrorRequired
Product ID did not map to any existing products.
OR
InvalidInputFieldsErrorInvalidInputFieldsErrorRequired
Validation errors dealing with input parameters supplied to an rpc call.
OR
UnexpectedAddReviewErrorUnexpectedAddReviewErrorRequired
Catch all error type for any unexpected responses from the AddProductReview mutation rpc.