Main issue: Recent Shopify API changes mean newly generated credentials (e.g., prefixes shpss) don’t work with integrations expecting old private app passwords (prefix shppa), leading to “invalid API / Username credentials.”
Context/update: Shopify deprecated Basic HTTP authentication in January 2022, so using API key/password in the URL or Basic Auth header is no longer supported for Admin API.
Solution provided: Switch to Admin API access tokens (prefix shpat) and include them in requests via the X-Shopify-Access-Token header.
Example: GET https://{shop}.myshopify.com/admin/api/2022-01/products.json
Headers: Content-Type: application/json; X-Shopify-Access-Token: {Master_API_access_token}
Note: The master API access token is revealed once; store it securely.
Outcome: Implementing the X-Shopify-Access-Token with shpat resolved the integration errors reported.
Action items:
Migrate integrations from Basic Auth (shppa) to token-based auth (shpat).
Ensure requests target a valid Admin API version.
Status: Resolved with a clear migration path. Links and a code snippet are central to understanding the fix.
Summarized with AI on February 20.
AI used: gpt-5.
I think there’s a recent update on Shopify API for custom App. How can I stick to old version in order to be able to generate API key that begin with **“**shppa” for example API password: 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.
Recently, the API key the system is generating starts with “shpss” e.g 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 which is not working for my integration.
You simply need to edit the header and use the master API Access token shpat(which is revealed once) and then add -H 'X-Shopify-Access-Token to the header.