REST API - Abandoned card line items product id - not exist in products

thedevelooper
New Member
5 0 0

 

I run some requests below by order;

1st) GET /admin/api/2021-04/checkouts.json - for abandoned carts -> i extract product id list from line_items

2nd) GET /admin/api/2021-04/products.json?ids=id1,id2 etc..

When i compare them some products cannot be found ? Why is that anybody knows ?

0 Likes
florinanghel
Shopify Partner
132 17 24

Could it be that some of the products got deleted in the meantime?

0 Likes
thedevelooper
New Member
5 0 0

That fast ! i dont think so. But if shopify can add the handle field from product response into abandoned cart checkouts line items. That 'd be best shot !

0 Likes