Skip to main content

Refresh Inventory Cache

POST 

/api/products/:productId/inventory/refresh

Synchronously refreshes the inventory cache for a specific product. This forces a recalculation of inventory totals and average cost.

Authentication: Requires Bearer token.

Returns 500 if the refresh fails.

Request

Responses

Successful response