A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello,
I am working on next js which is useing headless Shopify and Js Buy SDK for checkout and adding line items to checkout. We want to give subscription option to user. For that i read and come to know that we need to use grapql. So using graphql have fetched products with subscription plans. Now problem is i have "integer product ids" and also "interger plan ids", Can i use integer product ids and how i can add plans to checkout
addLineItems product(integer) also have varient id(integer) and plan id(integer)
Or any alternative to achive it.