All sections
The REST API PRO lets another system, such as a warehouse system, a till (POS) or an ERP, read and change your stock and prices per store. It uses ordinary web requests, so most tools can connect to it. The free plugin has no API.
The basics
- Base address:
https://example.com/wp-json/mulopimfwc/v1, shown on the settings screen as API Base URL. - Key: send it in the
X-API-Keyheader. - Webhook: one route also accepts the webhook secret, in
X-Webhook-Secret.

The routes
| Method and route | What it does | Guide |
|---|---|---|
GET /locations | Lists your stores. | Get locations |
GET /products | Lists products. | Get products |
GET /inventory/export | Exports stock and prices per store. | JSON export, CSV export |
POST /inventory/update | Changes one product at one store. | Single update |
POST /inventory/bulk-sync | Changes many at once. | Bulk sync |
POST /webhook/inventory-update | Lets another system push stock. | Webhook |
A full OpenAPI 3 description is linked on the settings screen as “OpenAPI 3 specification (JSON)”.
The fields you can send
| Field | What it is |
|---|---|
product_id or sku | The product. For a variable product, use the variation’s ID or SKU, not the parent’s. |
location_id or location_slug | The store. |
stock | The stock at that store. |
regular_price, sale_price | Prices at that store. |
backorders | Whether that store allows backorders. |
disabled | Turns the product off at that store. |
assigned | Adds or removes the product from that store. |
A good way to start
- Create an API key.
- Call
GET /locationsto get your store IDs or slugs. - Call
GET /inventory/exportto get product and variation IDs. - Try a single update on a staging copy of your site.
- Move on to bulk sync or the webhook.
A bulk request can hold up to 1000 items. If more than half are invalid, nothing is changed, so a bad file cannot damage your stock.
Errors use the WordPress format: {"code":"...","message":"...","data":{"status":400}}. A wrong or missing key always returns 403, with the code rest_forbidden.
Common errors
| Status | Usual cause |
|---|---|
| 403 | Wrong header name, or a wrong, revoked or missing key. |
| 400 | A product or store was not found, or a value is not valid. |
| 404 | A wrong address. Check /wp-json/mulopimfwc/v1/. |
To see webhook requests, tick Log Webhooks while you troubleshoot. Logs are under WooCommerce > Status > Logs.
