Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Merged
Changes from 1 commit
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
1 change: 1 addition & 0 deletions src/guides/v2.4/graphql/mutations/add-products-to-cart.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ Attribute | Data Type | Description

Code | Error | Description
--- | --- | ---
`CART_ID_INVALID` | `Could not find a cart with ID` | A requested cart id is invalid.
`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.
`NOT_SALABLE` | `Product that you are trying to add is not available.` | A requested product is not available
`INSUFFICIENT_STOCK` | `This product is out of stock` | A requested product is out of stock
Expand Down