Thanks Nick, this solution worked! Even if a product doesn’t have variants, the API still requires that you use the variant.id.
Thanks Nick, this solution worked! Even if a product doesn’t have variants, the API still requires that you use the variant.id.