Development discussions around Shopify APIs
I saw an old post about this that was marked closed, but I don't see an actual answer in the post: https://ecommerce.shopify.com/c/shopify-discussion/t/variant-id-missing-for-back-end-sales-front-end...
When I call the API via the Ruby SDK, and try to fetch order information, all order created via the "Draft" functionality are missing key information, product_id, variant_id, and sku are the most critical for our purposes.
Is this a known issue? Why doesn't this info come back? I can look up product info by munging the title into another cumbersome query, but it doesn't seem ideal.
Let me know if more details are required.
Can you confirm that the Draft Order didn't have custom line items which would result in an order that includes line items with no variant ID, product ID, or SKU?
Jordan | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023