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.
Hey Andrew,
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
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
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023