Anchor to cartClonecart
mutationcart Clone
Creates a clone of the specified cart with all personally identifiable information removed.
Anchor to Arguments
Arguments
- cartId (ID!)
- Anchor to cartIdcart•ID!
Id required The ID of the cart to clone.
Was this section helpful?
- cart (Cart)
- userErrors ([CartUserError!]!)
- warnings ([CartWarning!]!)
- Anchor to cartcart•Cart
The newly created cart without PII. This is a different cart from the source.
- Anchor to userErrorsuser•[Cart
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
- Anchor to warningswarnings•[Cart
Warning!]! non-null A list of warnings that occurred during the mutation.
Was this section helpful?