Schema Documentation
writeReview
Description
The writeReview mutation
Response
Returns a WriteReviewPayload
Arguments
Name | Description |
---|---|
input - WriteReviewInput! | Input for the writeReview mutation |
Example
Query
mutation writeReview($input: WriteReviewInput!){ writeReview(input: $input){ clientMutationIdratingreview { ...CommentFragment } }}
Variables
{"input":WriteReviewInput}
Response
{"data":{"writeReview":{"clientMutationId":"abc123","rating":123.45,"review":Comment}}}