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

Commit 36a43d3

Browse files
Update add-products-to-cart.md (#8355)
* Update add-products-to-cart.md Cart Id Invalid Error message. * Update add-products-to-cart.md Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
1 parent 9a16695 commit 36a43d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/guides/v2.4/graphql/mutations/add-products-to-cart.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ Attribute | Data Type | Description
365365

366366
Code | Error | Description
367367
--- | --- | ---
368+
`CART_ID_INVALID` | `Could not find a cart with ID` | The specified cart ID is invalid.
368369
`PRODUCT_NOT_FOUND` | `Could not find a product with SKU "XXX"` | A product with the SKU specified in the argument `data`.`sku` does not exist.
369370
`NOT_SALABLE` | `Product that you are trying to add is not available.` | A requested product is not available
370-
`INSUFFICIENT_STOCK` | `This product is out of stock` | A requested product is out of stock
371-
`UNDEFINED` | `UNDEFINED` | An error message is not matched with any code
371+
`INSUFFICIENT_STOCK` | `This product is out of stock` | The requested product is out of stock
372+
`UNDEFINED` | `UNDEFINED` | The error message does not match any error code

0 commit comments

Comments
 (0)