curl --request POST \
--url http://localhost/api/delivery-notes \
--header 'Content-Type: application/json' \
--data '
{
"identification": {
"seller": {
"pink_id": "<string>",
"gln": "<string>"
},
"buyer": {
"pink_id": "<string>",
"gln": "<string>"
},
"pink_id": "<string>",
"seller_delivery_note_id": "<string>"
},
"issue_date": "2023-11-07T05:31:56Z",
"delivery_date": "2023-11-07T05:31:56Z",
"lines": [
{
"line_number": "<string>",
"product_name": "<string>",
"quantity": 123,
"unit": "pc",
"product_id": "<string>",
"batch_number": "<string>",
"expiry_date": "2023-11-07T05:31:56Z",
"origin": {
"generic": "<string>",
"detailed_meat": {
"born": "NOT_EU",
"rearing": "NOT_EU",
"slaughter": "NOT_EU",
"cutting": "NOT_EU"
}
}
}
],
"references": [
{
"type": "DELIVERY_NOTE",
"seller_document_id": "<string>",
"pink_id": "<string>"
}
]
}
'