Skip to main content

API Reference

Stock Check API

The Stock Check endpoint allows you to query the real-time availability of a specific SKU. Unlike the product catalog, this endpoint bypasses all caches to provide the exact current stock level in our warehouse complex.

Get Stock Level

GET/wp-json/wc/v3/stock/{sku}

Path Parameters

ParameterTypeDescription
skustringThe unique Stock Keeping Unit identifier (e.g., SRV-XEON-2U).

Response Schema (JSON)

{
"sku": "SRV-XEON-2U-001",
"name": "Dell PowerEdge R740",
"available": 17,
"status": "instock",
"warehouse_location": "JHB-A12",
"next_shipment": "2023-11-15",
"last_updated": "2023-10-25T14:30:00Z"
}
⚠️
Rate LimitingThis endpoint is computationally expensive as it queries the warehouse management system directly. Strict rate limits apply (see Rate Limits).