Get the results of the stock on hand report as an xlsx file
Body·
application/json
- Type: string | nullattribute
Description The product attribute description to filter by
- Type: string | nullbatch
The product batch to filter by
- Type: string | nullFormat: datebest
Before Date The product best before date to filter by
- Type: string | nullFormat: uuidclient
Partner Id The client partner to filter by
- Type: string | nullFormat: datecustom
Date Time The custom date and time the report should be run for
- Type: string | nullFormat: dateexpiry
Date The product expiry date to filter by
- Type: booleaninclude
Critical Stock Only If the report should only include critical stock
- Type: booleaninclude
Serials If the report should include serials
- Type: string | nullFormat: datepackaging
Date The product packaging date to filter by
- Type: string | nullFormat: uuidpartner
Product Id The product to filter by
- Type: string | nullFormat: uuidproduct
Attribute Id The product attribute to filter by
- Type: string | nullFormat: dateproduction
Date The product production date to filter by
Responses
- 200
OK
Request Example for post/v1/reports/stock-on-hand/xlsx
curl https://api.consignlyhq.com/v1/reports/stock-on-hand/xlsx \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"reportTime": "enum (Now = 1, Custom = 2)",
"customDateTime": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"clientPartnerId": null,
"warehouseId": null,
"partnerProductId": null,
"batch": null,
"bestBeforeDate": "date (YYYY-MM-DD)",
"expiryDate": "date (YYYY-MM-DD)",
"packagingDate": "date (YYYY-MM-DD)",
"productionDate": "date (YYYY-MM-DD)",
"sellByDate": "date (YYYY-MM-DD)",
"includeSerials": true,
"includeCriticalStockOnly": true,
"productAttributeId": null,
"attributeDescription": null
}'
No Body