GET
/v1/reports/inventory/low-stock/downloadGET /v1/reports/inventory/low-stock/download
Scopes: reports:inventory:read
Requires scope: reports:inventory:read.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
filter_field | query | string | no | |
filter_value | query | string | no | |
order_by | query | string | no | |
order_direction | query | string | 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/reports/inventory/low-stock/download', {
// params: { path: { id: '...' }, query: { limit: 25 } },
// body: { /* request body */ },
});
if (error) throw error;
console.log(data);