GraphQL Create / Update product with stock information

Thanks this got me working now..

mutation {
  productCreate(input: {
         title:"Test Product 2",
         vendor:"AEG",
         options: ["Size", "Color"],
         variants: [
            {
            options: ["S", "Rainbow"]
                   inventoryItem: {tracked: true},              
            inventoryQuantities: [
     				 {
       			 availableQuantity: 3,
      		   locationId: "gid://shopify/Location/62087659605"
            }]
            }
          
        ]
		}
  ) {
    product {
      id
    }
    userErrors {
      field
      message
    }
  }
}