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

Added error coverage for createProductReview mutation #8468

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/guides/v2.4/graphql/mutations/create-product-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,13 @@ Attribute | Data Type | Description
### ProductReview attributes {#ProductReview}

{% include graphql/product-review.md %}

## Errors

Error | Description
--- | ---
`Field nickname of required type String! was not provided.` | The required attribute `nickname` is missing.
`Field sku of required type String! was not provided.` | The required attribute `sku` is missing.
`Field summary of required type String! was not provided.` | The required attribute `summary` is missing.
`Field text of required type String! was not provided.` | The required attribute `text` is missing.
`Field ratings of required type ProductReviewRatingInput! was not provided.` | The required attribute `ratings` is missing.