Discussing APIs and development related to customers, discounts, and order management.
using api, we called:
https://hidden:email@example.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
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!
To learn more visit the Shopify Help Center or the Community Blog.
hi thank you for clarification , i suspect it too