mutation { updateItem(id: "3", input: {name: "Item3", price: 20}) { name price updatedAt } } correctly uses id as string and input as an object with multiple fields.
Step 2: Verify requested return fields
mutation { updateItem(id: "3", input: {name: "Item3", price: 20}) { name price updatedAt } } requests name, price, and updatedAt fields, matching the requirement.
Step 3: Check for type correctness
id is string, price is number inside input, which is valid.
Final Answer:
mutation { updateItem(id: "3", input: {name: "Item3", price: 20}) { name price updatedAt } } -> Option A