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

magento/devdocs#: Add createEmptyCart mutation API errors #5881

Merged
merged 3 commits into from
Nov 4, 2019
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
7 changes: 7 additions & 0 deletions guides/v2.3/graphql/mutations/create-empty-cart.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,10 @@ Attribute | Data Type | Description
## Output attributes

The `createEmptyCart` mutation returns the cart ID.

## Errors

Error | Description
--- | ---
`Cart with ID "XXX" already exists.` | The specified cart ID was previously used to create a cart.
`Cart ID length should to be 32 symbols.` | The cart ID is not the required length.