Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Shopify app showing incorrect time

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
253 23 38

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