Why does createCustomer with userAvatar query yield errors?

umang-pancholi
Shopify Partner
20 0 0
query file.....

mutation{
    customerCreate(input: {
        email:"ewe@sd.cm",
        lastName:"dsdsdsds",
        phone:"+918787878781",
        note:"gid://shopify/Cart/c1-d9b2b375e8ed378d15a1c053651103aa",
        avatar: {
          originalSrc: "URL_TO_YOUR_IMAGE"
        }
    }) {
        customer {
            id
            lastName
            phone
            email
            note
        }
        userErrors {
            message
            field
        }
    }
  }
            umangpancholi_0-1703055666999.png

here avtar and image it both gives error it is not exist please fix this

Replies 0 (0)