Get the results of the stock summary - current inventory report
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
- application/json
Request Example for post/v1/reports/stock-summary
curl https://api.consignlyhq.com/v1/reports/stock-summary \
--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
}'
[
{
"warehouseCode": null,
"warehouseName": null,
"warehouseLocationName": null,
"clientName": null,
"productCode": null,
"productName": null,
"logisticUnitNumber": null,
"ssccNumber": null,
"referenceNumber": null,
"serial": 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)",
"attributes": [
{
"name": null,
"description": null
}
],
"isCritical": true,
"productGroupName": null,
"receivedDate": "date (YYYY-MM-DD)",
"unitTypeName": null,
"onHandQuantity": 1,
"onHandVolumeM3": 1,
"onHandWeightKG": 1,
"onHandVirtualPalletQuantity": 1
}
]