A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
I'm new to the Shopify API and am trying to collect the order information from my shop using python.
API_KEY = 'XXXXXXXXXX'
API_SECRET_KEY = 'ZZZZZZZ'
API_PASSWORD = 'YYYYYYY'
HOSTNAME = 'MYDOMAIN.myshopify.com'
VERSION = '2022-07'
RESOURCE = 'orders'
url = f'https://{API_KEY}:{API_PASSWORD}@{HOSTNAME}/admin/api/{VERSION}/{RESOURCE}.json'
r = requests.get(url)
print( r.json() )
{'errors': 'Not Found'}