Get the results of the stock summary - current inventory 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: dateexpiry
Date The product expiry date to filter by
- Type: booleaninclude
Attributes Includes the product attributes data
- Type: booleaninclude
Batch Includes the product batch data
- Type: booleaninclude
Best Before Date Includes the best before date of the product data
- Type: booleaninclude
Client Includes the name of the client partner data
- Type: booleaninclude
Critical Stock Only If the report should only include critical stock
- Type: booleaninclude
Expiry Date Includes the expiry date of the product data
- Type: booleaninclude
Is Critical Includes the flag indicating if the stock is critical data
Responses
- 200
OK
Request Example for post/v1/reports/stock-summary/xlsx
curl https://api.consignlyhq.com/v1/reports/stock-summary/xlsx \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"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)",
"includeCriticalStockOnly": true,
"productAttributeId": null,
"attributeDescription": null,
"includeClient": true,
"includeProduct": true,
"includeWarehouse": true,
"includeLocation": true,
"includeBatch": true,
"includeBestBeforeDate": true,
"includeExpiryDate": true,
"includePackagingDate": true,
"includeProductionDate": true,
"includeSellByDate": true,
"includeAttributes": true,
"includeIsCritical": true,
"includeProductGroup": true,
"includeLogisticUnitNumber": true,
"includeLogisticUnitSSCCNumber": true,
"includeLogisticUnitReferenceNumber": true,
"includeReceivedDate": true,
"includeUnitTypeName": true,
"includeSerial": true,
"includeVolume": true,
"includeWeight": true,
"includeVirtualPalletQuantity": true
}'
No Body