Home / Help

Shopify OAuth install flow: connect your store and pull inventory levels

This is the install step: you authorize Restoc on Shopify, and Restoc reads your products, your current inventory levels at each Shopify location, and your sales quantities and dates from 60 days before install onwards. Connecting is not the same as watching, so the last move is giving one SKU a lead time and a velocity window.

What this covers and when you need it

You need this page once, at the start, and again if you ever reconnect a store. The install is a standard Shopify OAuth flow: Restoc asks Shopify for read access to your products, inventory and orders, Shopify asks you to approve it, and Restoc then pulls your catalogue, your stock levels per location and your recent sales.

Two things are worth knowing before you start.

  • Restoc is a web app. There is no mobile app and no browser extension, so do this in a browser.
  • The install reads. Connecting a store does not change anything in it.

Connect your store, step by step

  1. Sign in to Restoc in a browser

    Sign-in is email and password. Starting the free trial needs no card: every plan carries a 30-day free trial, so you can connect, sync and set reorder points before anything is billed.

  2. Start the install for your .myshopify.com store

    Restoc hands you to Shopify's own authorization screen. The domain that ties the connection to the right shop is the .myshopify.com one, not your custom shop domain, so check it reads exactly as Shopify has it.

  3. Approve the read access on Shopify

    Shopify issues an Admin API access token, plus the refresh token that renews it. Both stay server-side and are never shown back to you. A token granted at install is cleared once Shopify refuses it.

  4. Let the first sync read your catalogue and your sales

    Restoc reads your tracked SKUs with their titles, SKU codes and barcodes, the unit cost and selling price Shopify holds, your Shopify locations, and how much of each SKU is available at each one. It also reads sales quantities and dates per SKU from 60 days before install onwards, with the Shopify order reference and location, so a velocity window has history behind it from day one.

  5. Check your SKU and location count against your plan

    Tracked SKU caps are enforced at sync time: 200 on Starter, 1,000 on Growth, 2,000 on Pro. Locations follow the same shape, 1, 3 and 10. A banner shows your current usage against your limit, so a catalogue larger than the cap is visible rather than quietly truncated.

  6. Give one SKU a lead time and a velocity window

    Restoc computes a reorder point from a SKU's sales velocity and the lead time you enter, over a window of 7, 14 or 30 days. Save both on one SKU and Restoc starts watching that SKU around the clock. That is the install finished.

How your numbers update after install

Two mechanisms keep the figures current, and they do different jobs.

  • Webhooks. Shopify signs and sends updates as orders are placed and inventory levels change. Restoc verifies the signature and records the quantity, the date and the location against the SKU.
  • The scheduled sync job. It re-reads your catalogue and your stock per location. New products, renamed variants and corrected stock land on a sync pass.

Restoc also keeps sync bookkeeping: when your store last synced, whether its stock came from Shopify or from sample data, how much of your catalogue it read, and any sync error. Read that record before you trust a number on screen. It is the one place a stalled or partial sync shows.

Your store timezone is read on every sync too, so the daily reorder list arrives at the hour you picked in your own working day.

What to do next, or if it did not work

Next: set lead times across the catalogue, by vendor or from a spreadsheet, then point alerts at an email address, or at a Slack webhook on Growth and above.

If the install did not finish, work through these in order.

  • Check the store domain you entered. It must be the .myshopify.com domain. If you connected the wrong one, email the team and say which store you meant.
  • Check the sync record on your store screen. If it says part of your catalogue was read, you are likely at your plan's tracked SKU cap.
  • Confirm you approved the access Shopify asked for. A declined authorization leaves Restoc with no token and nothing to read.

Restoc records which setup steps your account has reached, account created, store connected, first sync, first lead time saved, and when it reached each. That is what support reads to see where a connection stopped.

Still stuck, or your stock looks wrong after a sync? Email support@restocapp.com and include the store domain you were connecting.

Questions

How much sales history comes across at install?

Sales quantities and dates per SKU from 60 days before install onwards, with the Shopify order reference and the location. That is enough history for a 7, 14 or 30 day velocity window to mean something on your first day. If your figures live outside Shopify, 30-day totals can come from a CSV you import instead.

What exactly does Restoc read from my store?

Products and variants with their SKU codes and barcodes, the unit cost and selling price Shopify holds, current stock per Shopify location, your locations, your store timezone, bundle definitions, and sales quantities and dates per SKU from 60 days before install onwards. No customer names, addresses or payment details are stored.

Can I install Restoc from my phone?

You can open the web app in a phone browser, but Restoc is a web app only: there is no mobile app and no browser extension. The install itself is simplest on a larger screen.

Where is my Shopify access token kept?

Server-side, alongside the refresh token that renews it, and it is never shown back to you. Tokens granted at install are cleared once Shopify refuses them.

Does connecting a store start a charge?

No. Every plan starts with a 30-day free trial and no card. Starter is $9 a month, Growth $19 and Pro $29, billed on your Shopify invoice, with annual versions at $90, $190 and $290 a year.

My catalogue is bigger than my plan's SKU cap. What happens?

The cap is enforced server-side at sync time, so Restoc tracks up to it and shows your usage against the limit rather than guessing which SKUs matter. A larger plan raises it: 200 on Starter, 1,000 on Growth, 2,000 on Pro.

Why is the dashboard showing stock but no reorder point?

Because the reorder point needs two inputs from you: the lead time for that SKU and the velocity window to average its sales over. Save both and the number appears, along with days of inventory remaining and the SKU's reorder status.

Do I have to reinstall if I add a new product in Shopify?

No, you never authorize again. New products arrive when the scheduled sync next reads your catalogue, up to your plan's tracked SKU cap. If one has not appeared, check the sync record on your store screen and email the team.

Install Restoc on your store

Three tiers from $9 a month, up to 2,000 tracked SKUs. The free trial covers a full weekly reorder cycle before the first charge.