input.id will not actually be deleted.input object contains the unique identifier (ID) for the cart that needs to be deleted.12345{ "input": { "id": "{{cartId}}" } }
12345mutation ($input: CartDeleteInput!) { removeCart(input: $input) { deletedId } }
1234567{ "data": { "removeCart": { "deletedId": "teWvPufPy8c2AcfkfBo9" } } }
1234567891011121314{ "errors": [ { "message": "Cart not found: someInvalidCartId", "path": [ "removeCart" ], "extensions": { "code": "CART_NOT_FOUND_ERROR" } } ], "data": null }