FROM CACHE - en_header

Shopify app showing incorrect time

DropshipAgent
Tourist
4 0 2

Hello!

I have a sourcing app for Shopify. The time zone in the app is set for India and our devs are unable to change it. Is this something that's changed in Shopify settings or manual API on our end?

Also, our app is only able to pull 50 orders at a time from Shopify. Our devs say they are unable to pull more than 50 orders because Shopify won't let them. Is that true? Is there a max # of orders Shopify allows apps to download? 


Please let me know, 

Thank you!

Replies 3 (3)
DropshipAgent
Tourist
4 0 2

bump

DropshipAgent
Tourist
4 0 2

bump

hardik355
Shopify Partner
209 20 28

Hi  

First your time issue it's depend on time zone. so if you want correct time. Fetch time zone using api call Like 

ShopifyAPI::Shop.current.iana_timezone end

and then convert time. you will get correct time.

Second order only fifty i think shopify order api you will get 250 record per api call please check this link. https://shopify.dev/api/admin/rest/reference/orders/order#index. also here attached image.

 

Screenshot-from-2021-07-29-11-41-00.png

 

 

If helpful then please Like and Accept Solution.
Shopify theme and app developer.
Skype: live:hardikradadiya355
Thanks

If helpful then please Like and Accept Solution.
For App Development and Design changes Hire Me.
Skype: live:hardikradadiya355
Thanks