Best place to store php api calls on server

Shopify Partner
11 0 1

I am pretty new to Shopify so please excuse me if this question is simple.

I have created a simple PHP CURL script to update product information. Where is the best place to actually save this script on the server?

Usually I would have a separate folder structure with any such scripts in.

Thank you

0 Likes
Highlighted
Shopify Partner
11 0 1

Any feedback on this would be appreciated - is there a folder on the Shopify server where I can upload a PHP code and run via cron?

 

I have run the my API calls from a separate external server. Despite slowing down the calls to avoid the 2 call a second limit, and also calling from cron (to avoid timeout errors), the script still stops after about 400 products are uploaded.

 

I need to get it working, and hope that from a Shopify server it will work better.

Thank you

 

0 Likes