List delivery notes
const options = {method: 'GET'};
fetch('https://api.dolfinai.co/delivery-notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"dnNumber": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"supplierId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalRef": "<string>",
"purchaseOrderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receivedAt": "2023-11-07T05:31:56Z",
"lines": [
{
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sku": "<string>",
"quantityReceived": 123,
"unit": "<string>",
"sortOrder": 123,
"matchedQuantity": 123,
"fullyMatched": true
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"cursors": {
"current": "<string>",
"next": "<string>",
"previous": "<string>"
}
}
}Delivery Notes
List delivery notes
List delivery notes for the organisation, optionally filtered by supplier, with cursor-based pagination.
GET
/
delivery-notes
List delivery notes
const options = {method: 'GET'};
fetch('https://api.dolfinai.co/delivery-notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"dnNumber": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"supplierId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalRef": "<string>",
"purchaseOrderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receivedAt": "2023-11-07T05:31:56Z",
"lines": [
{
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sku": "<string>",
"quantityReceived": 123,
"unit": "<string>",
"sortOrder": 123,
"matchedQuantity": 123,
"fullyMatched": true
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"cursors": {
"current": "<string>",
"next": "<string>",
"previous": "<string>"
}
}
}⌘I