-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request magento-commerce/devdocs#3038 from magento-l3/ACP2…
…E-993 ACP2E-993: [Documentation] user_errors is a field u can select to get error for addProductsToCart GraphQL Mutation
- Loading branch information
Showing
2 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
The `CartUserInputError` object contains information about errors that are specific to carts. | ||
|
||
| Attribute | Data Type | Description | | ||
|-----------|-------------------------|------------------------------------------------------------------------------------------------------------------------------| | ||
| `code` | CartUserInputErrorType! | A cart-specific error code. Possible values include `PRODUCT_NOT_FOUND`, `NOT_SALABLE`, `INSUFFICIENT_STOCK` and `UNDEFINED` | | ||
| `message` | String! | A localized error message | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters