Development discussions around Shopify APIs
using api, we called:
https://hidden:hiden@kbright-sg.myshopify.com/admin/orders.json to retrieve orders
and we found many orders that return line_items.sku empty string.
but other orders works fine. when we check the sku in the product page, its the sku exists
Hi @jamestan,
An order's line item is a snapshot of the variant as it was at the time of purchase. If there's no SKU value on a line item, it meant the associated variant had no SKU at the time of purchase.
Hope that helps!
Andrew | 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 the Shopify Help Center or the Shopify Blog
hi thank you for clarification , i suspect it too
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