Focuses on API authentication, access scopes, and permission management.
I tried to get product information with this code.
url = f"https://{SHOPIFY_API_KEY}:{SHOPIFY_PASSWORD}@{SHOP_NAME}.myshopify.com/admin/api/2023-10/products.json"
I used shopify api key and secret key from my private app.
And I activated all rights.
I don't know what's wrong, I just get this message.
{'errors': '[API] Invalid API key or access token (unrecognized login or wrong password)'}
Can you help me?
Hi Alex,
are you using python? To authenticate, you need to include the access token in the headers, like it's described here: REST Admin API reference (shopify.dev).
Alternatively, you can use the python api client: Shopify/shopify_python_api: ShopifyAPI library allows Python developers to programmatically access t...
All the best,
Michael