Connect WooCommerce
Connect a WooCommerce store with the Nasam plugin from the WooCommerce Marketplace, or with a REST API key you create yourself.
Before you start
- A WordPress admin account on your store.
- A store served over
https. - Permalinks set to anything but «Plain». WooCommerce's REST API needs pretty permalinks. Change them in «Settings» → «Permalinks» if they are «Plain».
Steps
- The plugin (recommended)
- From Nasam
In WooCommerce
- From the WooCommerce Marketplace, install «Nasam for WooCommerce».
- In your WordPress admin, open «WooCommerce» → «Nasam».
- Click «Connect to Nasam».
- Approve the access WooCommerce asks for: read and write on products, orders and stock.
Nasam creates your account and emails a sign-in link to the store admin's email.
Billing. One plan, USD 499 a year, with a 14-day free trial. WooCommerce.com bills it, and you cancel it from your WooCommerce.com account.
In WooCommerce
- Open «WooCommerce».
- Choose «Settings».
- Choose «Advanced».
- Choose «REST API».
- Click «Add key».
- In «User», choose an admin user.
- In «Permissions», choose «Read/Write».
- Click «Generate API key».
- Copy the two values: Consumer key and Consumer secret. WooCommerce shows the secret only once.
In Nasam
From «Sales Channels» → «Connect Channel» → WooCommerce, enter «Store address», Consumer key and Consumer secret, then «Next». Choose how WooCommerce takes part in your stock, then «Connect & Link Products».
What syncs
| What | How |
|---|---|
| Products and variations | Each variation has its own SKU. A variation without its own SKU syncs too |
| Stock | Only items with «Manage stock» on. When Nasam writes an item's stock, it turns «Manage stock» on for it |
| Prices | Regular and sale price, with the sale's start and end dates |
| Orders | Nasam polls for them |
Order statuses:
| In WooCommerce | In Nasam |
|---|---|
| Processing, On hold | New order |
| Completed | Delivered |
| Cancelled | Cancelled |
| Refunded | Returned |
| Pending payment, Failed | Not imported |
Common problems
| Message | Fix |
|---|---|
| «The store's REST API doesn't answer at /wp-json» | In WordPress, open «Settings» → «Permalinks», choose anything but «Plain», save, then connect again |
| «We couldn't reach a WooCommerce store at this address over https» | Check the store address, that WooCommerce is active and that the store is served over https. If a firewall limits requests, reach out and we send you Nasam's address |
| «This key can only read» | Create a new key with «Read/Write» for an admin user, then connect with it |
| «WooCommerce did not accept this key» | Check both values were copied whole and the key was not revoked |
The channel shows as disconnected and sync stopped
You disconnected the plugin, or deleted the key under «REST API». Connect again from «WooCommerce» → «Nasam» → «Connect to Nasam», or with a new key from «Sales Channels».
My server strips the Authorization header
You need to do nothing: Nasam falls back to another way of authenticating on its own.
Next step
The Nasam team is with you, whatever the question: WhatsApp +966 55 009 0039 or general@nasam.co. And we set up your marketplace accounts with you, step by step. The consultation is free.