variant_id in line_items is null

Highlighted
Shopify Partner
2 0 1

For some orders variant_id returned (as part of line_items) when we visit the url /admin/orders/order_id.json is null. In such cases how do we fulfill the order.

To fulfill the order we need location id.

From varaint_id, we get the invntory_item_id and from inventory_item_id we get the location id

https://www.linkedin.com/in/gisha-james-85b640100
0 Likes