Get the results of the consignment product detail report
Body·
application/json
- 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: integerenumconsignment
Type Integer numbers.
values- Point
To Point = 0 - Inwards = 1
- Outwards = 2
- Type: stringFormat: datedate
From The start date in the consignment date range
- Type: stringFormat: datedate
To The end date in the consignment date range
- Type: string | nullFormat: dateexpiry
Date The product expiry date to filter by
- Type: string | nullFormat: datepackaging
Date The product packaging date to filter by
- Type: string | nullFormat: uuidpartner
Product Id The partener product to filter by
- Type: string | nullFormat: dateproduction
Date The product production date to filter by
- Type: string | nullFormat: datesell
By Date The product sell by date to filter by
- Type: string | nullFormat: uuidwarehouse
Id The warehouse to filter by
Responses
- application/json
Request Example for post/v1/reports/consignment-product-detail
curl https://api.consignlyhq.com/v1/reports/consignment-product-detail \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"dateFrom": "date (YYYY-MM-DD)",
"dateTo": "date (YYYY-MM-DD)",
"consignmentType": "enum (PointToPoint = 0, Inwards = 1, Outwards = 2)",
"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)"
}'
[
{
"clientName": null,
"type": "enum (PointToPoint = 0, Inwards = 1, Outwards = 2)",
"consignmentNumber": null,
"referenceNumber": null,
"dateEntered": "date (YYYY-MM-DD)",
"actualDispatchDateTime": "datetime (YYYY-MM-DDTHH:MM:SSZ)",
"poNumber": null,
"soNumber": null,
"receiversReference": null,
"sendersReference": null,
"warehouseName": null,
"serviceTypeNames": [
"string"
],
"carrierName": null,
"carrierReferenceNumber": null,
"originAddressName": null,
"originAddressText": null,
"destinationAddressName": null,
"destinationAddressText": null,
"logisticUnit": {
"logisticUnitNumber": null,
"ssccNumber": null,
"referenceNumber": null
},
"productCode": null,
"productName": 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
}
],
"unitTypeName": null,
"quantity": 1,
"weightKG": 1,
"volumeM3": 1,
"virtualPalletQuantity": null
}
]