learnshopify.dev/Workspace
ai output review

Review the drafted mutation and make the call.

Prompt given to AI
“Write a Shopify Admin GraphQL mutation that saves tasting notes to a coffee.brew_notes metafield on a product.”
AI Output (liquid)
mutation {
  metafieldsSet(metafields: [
    {
      ownerId: "gid://shopify/Product/8442291749090"
      namespace: "coffee"
      key: "brew_notes"
      type: "string"
      value: "Floral, bergamot, stone fruit"
    }
  ]) {
    metafields {
      id
    }
  }
}
Your code review call:
0 / 1 task solved
northwind-coffee.com
Live Storefront