GET
/v1/inventory/analytics/alert-countGET /v1/inventory/analytics/alert-count
Scopes: inventory:analytics:read
Requires scope: inventory:analytics:read.
Response (200)
| Field | Type | Required | Description |
|---|---|---|---|
number_of_alerts | integer<int32> | no |
Examples
import { SolidCommerceClient } from '@solidcommerce/sdk';
const client = new SolidCommerceClient({
apiKey: process.env.SOLIDCOMMERCE_API_KEY!,
});
const { data, error } = await client.raw.GET('/v1/inventory/analytics/alert-count', {
// params: { path: { id: '...' }, query: { limit: 25 } },
// body: { /* request body */ },
});
if (error) throw error;
console.log(data);