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

Get Started with Private App

Get Started with Private App

andreb
Shopify Partner
3 0 0

Hello guys,

 

I developed an private aplication with the shopify Rest API and python.

I tested the tool in a test shop that I had created, opened a shop, buy a plan, add some products ...

After two weeks shopify blocked this store, and i am scared thats the reason were my API requests.

I am only requested these both:

 

api_endpoint = f"https://{api_key}:{password}@{shopname}.myshopify.com/admin/api/2024-01/orders.json"

api_endpoint = f"https://{api_key}:{password}@{shopname}.myshopify.com/admin/api/2024-01/customers/{customer_id}.json"

I talked with a freelancer, and he told me that I need to host my aplication, is it right? 

Could that was the problem why they closed the shop?

 

I got successfull responses from my requests, newver errors...

 

Or is it possible that I need something like this here:

 

shop_url = "https://%s:%s@SHOP_NAME.myshopify.com/admin" % (API_KEY, PASSWORD)
shopify.ShopifyResource.set_site(shop_url)

 at first? Thats from the Shopify Doc...

 

And request like this:

 

   product = shopify.Product.find()

 

Replies 0 (0)