Get Products

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

KeyValue
X-API-Keyyour-api-key-here

🔐 The X-API-Key is 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

FieldDescription
successIndicates whether the request was successful
countTotal number of products returned
dataArray of product objects
product_idUnique WooCommerce product ID
skuProduct SKU
product_nameProduct title
typeProduct type (simple, variable, grouped, etc.)
statusProduct publish status

Error Responses

HTTP CodeReason
401Invalid or missing API key
403Insufficient permissions
500Internal 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.