The Get Products API retrieves all WooCommerce products along with their basic details.
This endpoint is commonly used by external systems (WMS, POS, ERP) to map product IDs and SKUs before performing inventory, pricing, or location-based operations.
Endpoint
GET
/mulopimfwc/v1/products
Headers
| Key | Value |
|---|---|
| X-API-Key | your-api-key-here |
🔐 The
X-API-Keyis required for authentication. Requests without a valid API key will be rejected. Please set up the API first by following the documentation.
Request Parameters
None
Success Response
HTTP 200 OK
{
"success": true,
"count": 2,
"data": [
{
"product_id": 123,
"sku": "PROD-001",
"product_name": "Sample Product",
"type": "simple",
"status": "publish"
},
{
"product_id": 456,
"sku": "PROD-002",
"product_name": "Another Product",
"type": "variable",
"status": "publish"
}
]
}
Response Fields
| Field | Description |
|---|---|
| success | Indicates whether the request was successful |
| count | Total number of products returned |
| data | Array of product objects |
| product_id | Unique WooCommerce product ID |
| sku | Product SKU |
| product_name | Product title |
| type | Product type (simple, variable, grouped, etc.) |
| status | Product publish status |
Error Responses
| HTTP Code | Reason |
|---|---|
| 401 | Invalid or missing API key |
| 403 | Insufficient permissions |
| 500 | Internal server error |
Usage Notes
- This endpoint returns all products, regardless of location availability.
- Use the returned product_id or SKU for:
- Inventory sync
- Price updates
- Location-based stock management
- Variable products return only the parent product. Variations are handled separately in inventory endpoints.