Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 87f1980

Browse files
authored
Merge pull request #8468 from sathiyaaa/createProductReview-mutation-errors-coverage
Added error coverage for createProductReview mutation
2 parents 75ff5c2 + 8d0c3cd commit 87f1980

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/guides/v2.4/graphql/mutations/create-product-review.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,13 @@ Attribute | Data Type | Description
118118
### ProductReview attributes {#ProductReview}
119119

120120
{% include graphql/product-review.md %}
121+
122+
## Errors
123+
124+
Error | Description
125+
--- | ---
126+
`Field nickname of required type String! was not provided.` | The required attribute `nickname` is missing.
127+
`Field sku of required type String! was not provided.` | The required attribute `sku` is missing.
128+
`Field summary of required type String! was not provided.` | The required attribute `summary` is missing.
129+
`Field text of required type String! was not provided.` | The required attribute `text` is missing.
130+
`Field ratings of required type ProductReviewRatingInput! was not provided.` | The required attribute `ratings` is missing.

0 commit comments

Comments
 (0)