Skip to content

Instantly share code, notes, and snippets.

@newswim
Last active August 3, 2017 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newswim/a99b09a13e80c262d61915f0f28a51b1 to your computer and use it in GitHub Desktop.
Save newswim/a99b09a13e80c262d61915f0f28a51b1 to your computer and use it in GitHub Desktop.
Deep Delete - readme

Start-up

  • Clone this repo
  • yarn or npm install
  • Create a file config/secrets.json -- Only the first 4 fields are required
{
  "api_key" : "",
  "shopName" : "",
  "password" : "",
  "accessToken" : "",
  "autoLimit" : "",
  "timeout" : ""
}
  • Obtain you API Key by generating API credentials
  • Shop name is the part before .shopify.com, ie. my-shop
  • Password -- Also generated when you create a new private app
  • Access Token -- Not needed if you use API Key / Password, only when using OAuth 2.0
  • Auto Limit -- can be boolean (default is false), or an object, ex. {"calls": 4, "interval": 1000} where "calls" is the number per "interval" in milliseconds.
    • monitor this value by calling shopify.callLimits
  • Timeout --
  • run npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment