Get Started with Private App

Topic summary

A developer created a private Shopify app using the REST API and Python, testing it on a development store with a paid plan and sample products. After two weeks, Shopify blocked the store, and the developer suspects their API requests may have triggered the closure.

API Usage:

  • Only made requests to two endpoints: orders.json and customers/{customer_id}/orders.json
  • Received successful responses without errors
  • Used basic authentication with API key and password in the URL format

Key Questions:

  • Whether the API requests caused the store closure
  • If the authentication method from Shopify documentation is correct
  • Whether the private app needs to be hosted (as suggested by a freelancer)

The discussion remains open with no resolution, seeking clarification on proper private app setup and potential reasons for the store being blocked.

Summarized with AI on November 6. AI used: claude-sonnet-4-5-20250929.

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()