Resandhi

Products from Shopify

If you sell on Shopify, the agent can read your products straight from your store. Prices, variants, images and stock stay in sync on their own: edit a product in Shopify and the change comes across within seconds, ready for you to publish.

What you need

You create a small custom app in your own Shopify admin. It takes about two minutes, and nothing goes through Shopify's app review.

Steps

  1. In your Shopify admin, go to Settings, then Apps and sales channels, then Develop apps, and click Create an app. Call it "Resandhi".
  2. Click Configure Admin API scopes. Tick read_products and read_inventory. Nothing else is needed.
  3. Click Install app, then copy the Admin API access token. It starts with shpat_. Shopify shows it only once, so copy it straight away.
  4. On the same page, copy the API secret key. We use it to check that product updates really came from Shopify.
  5. In Resandhi, open Connections, find Shopify under Your products, and click Connect.
  6. Paste your shop address (it looks like your-shop.myshopify.com), the token and the secret key.

Optional: change stock and prices from WhatsApp

If you also tick write_products and write_inventory in step 2, you can change stock and prices by messaging your own shop number. For example:

  • SAR-001 out of stock sets it to zero in Shopify.
  • SAR-001 stock is 12 sets it to 12.
  • price of SAR-001 is 4500 changes the price in Shopify.

Each one asks you to confirm before it does anything, and the change is made in your Shopify admin, not only in Resandhi. Leave these two permissions off and everything else works exactly the same. See Owner commands.

A few things are worth knowing:

  • Shopify has no "in stock, amount unknown". If Shopify counts a product's stock, putting it back needs a number. So SAR-001 back in stock on its own will ask you how many. Marking something out of stock never needs a number.
  • If you stock an item at more than one location, choose which location this connection uses in the settings. Without that we can mark it out of stock everywhere, but we will not guess where to put twelve of something.
  • If a product has inventory tracking turned off, there is no number to change, and we tell you so rather than turning tracking on for you.

Good to know

  • Draft products stay out. If you have not published a product in Shopify, the agent will not offer it. You can change this in the settings, but the default is the safe one.
  • Stock numbers are only quoted when Shopify counts them. If inventory tracking is off for a product, the agent says it is available but never gives a number.
  • Prices are read from Shopify, never calculated. What a customer is quoted is what your product page says.
  • Formatting in descriptions is removed. Product descriptions come across as plain text.
  • By default the agent uses your stock total across all locations. You can pick a single location in the settings.

What we do not ask for

We do not ask for read_orders or read_customers. Orders taken by the agent live in Resandhi. They are not written back into your Shopify admin.

Keeping changes safe

Product changes from Shopify arrive in your draft first. Press Publish when you want customers to see them. See Getting started.