Heads up for anyone reading this thread later I also reached out to Shopify, and here’s how they responded:
I am building an ecommerce store on Webflow and hoping to use Shopify as my ecommerce platform. I need to export the "product-component-XXX" and the "id:[XXX]" numbers. Right now, I can only retrieve them from the Buy Button code generator…which is clearly not a good solution!
These fields are not included in the standard product export, so how do I retrieve them?
I spoke to some of our developers about your question, and they mentioned that while you cannot get Product IDs via the CSV Export you should be able to extract them using our API. API development is out of a support guru’s skillset but we have help documents on this page on API development which may help you get the ball rolling. If that sort of development is too challenging then you may want to look to our Hire an expert platform, they may be able to assist you better with your migration.
One thing I found was by adding .json to the end of a product URL in the Admin, the Product and Variant IDs can be found.
To export several in one go, you could also look to the app Product & Variant ID’s. Otherwise finding an Expert to help you would be the best course.