# Get product inventory Retrieve product inventory for a user. Can be accessed via userId or userHash parameter. Endpoint: GET /inventory-api Version: 1.1.0 Security: ApiKeyAuth, BearerAuth ## Query parameters: - `userId` (string) User ID - `userHash` (string) User hash (alternative to userId) ## Response 200 fields (application/json): - `products` (array) - `products.id` (string) - `products.name` (string) - `products.price` (number) - `products.stock` (integer) - `products.variants` (array) ## Response 400 fields (application/json): - `error` (string, required) Error message ## Response 500 fields (application/json): - `error` (string, required) Error message