Schema Documentation
WriteReviewPayload
Description
The payload for the writeReview mutation.
Fields
Field Name | Description |
---|---|
clientMutationId - String | If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. |
rating - Float | The product rating of the review that was created |
review - Comment | The product review that was created |
Example
{"clientMutationId":"xyz789","rating":123.45,"review":Comment}