Get Locations

API & Webhooks Integration
Updated Nov 8, 20261 min read

GET /locations PRO lists your stores with their ID, slug, name and description. Use it first, so you know which IDs or slugs to send in updates.

All routes are PRO. Send your key in the X-API-Key header. A WordPress user with the right to manage WooCommerce, for example signing in with an application password, also works. Get the key from our guide to the API key and webhook secret.

Request

curl -H "X-API-Key: YOUR_KEY" "https://example.com/wp-json/mulopimfwc/v1/locations"

It has no parameters, and returns every store in one response.

Response

{
  "success": true,
  "count": 2,
  "data": [
    { "id": 5, "slug": "main-store", "name": "Main Store", "description": "" },
    { "id": 6, "slug": "london", "name": "London Store", "description": "Covent Garden" }
  ]
}

It includes inactive stores too, so check the list before you send updates. You can have as many stores as you like.

Errors use the WordPress format: {"code":"...","message":"...","data":{"status":400}}. A wrong or missing key always returns 403, with the code rest_forbidden.