Node.js module for Shopify API OAuth2 authentication and REST requests. Version 1.11.1 provides support for public and private Shopify apps, handling OAuth token exchange, signature verification, and CRUD operations. It is an older, unmaintained library with minimal updates since 2016. Compared to alternatives like shopify-api-node or @shopify/shopify-api, it lacks TypeScript support, modern API features, and active maintenance.
npm install shopify-node-apiVerified import paths — ran on the pinned version, not inferred.
Shows OAuth flow: initialize, build auth URL, exchange token for permanent access.
Always pass a valid config object: 'new shopifyAPI({...})'Manually set 'config.access_token = data.access_token' after callback
Use '@shopify/shopify-api' instead for up-to-date security
Generate a cryptographically random nonce for each auth request
Always check 'err' parameter in callbacks; wrap in try-catch
const Shopify = new shopifyAPI({ shop: '...', shopify_api_key: '...' });Use 'new shopifyAPI()' instead of 'shopifyAPI()'
No dependency data recorded yet.