Fulfillment do not filtered by created_at_max using page_info

Solved
Highlighted
Shopify Partner
3 0 1

Hellom, when I send request to get all fulfillments to the order and filter them by created_at_max it work okey. But if I add limit and go though the pagination using page_info it won't filter my fulfillments by created_at_max, it will return all fulfillments.

 

Using created_at_min works as expected in all cases.

 

For example 

1) This request returns 4 fulfillments as expected. 

https://mz-web.myshopify.com/admin/api/2020-01/orders/2100831486030/fulfillments.json?created_at_max...

 

2) If I add limit and it works as expected

https://mz-web.myshopify.com/admin/api/2020-01/orders/2100831486030/fulfillments.json?created_at_max...

 

3) But using page_info parameter from step 2 won't filter fulfillments by created_at_max. It should return only 1 fulfillment instead of 2.

https://mz-web.myshopify.com/admin/api/2020-01/orders/2100831486030/fulfillments.json?limit=3&page_i...

 

Looks like a bug.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
624 96 114

Hey @mz_m1 ,

 

Thanks for bringing this up. This seems to be a known issue that is still under investigation. I will provide you with updates when I can

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

1 Like
Highlighted

Success.

Shopify Staff
Shopify Staff
624 96 114

Hey @mz_m1 ,

 

As of yesterday, this issue has been resolved. However feel free to let me know if you are still experiencing this problem. 

 

Thanks again for reporting this!

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

1 Like