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
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023