curl --request PATCH \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/purchase-detail/v1/ \
--header 'Content-Type: application/json' \
--data '[
{
"amount": {
"amount": 3.14,
"currency": "EUR"
},
"code": "<string>",
"description": "<string>",
"externalId": "<string>",
"matchingAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"promptedData": [
{
"key": "<string>",
"value": "<string>"
}
],
"quantity": 123,
"transactionId": "<string>",
"type": "FUEL",
"unitPrice": 123,
"VAT": {
"percentage": 123,
"amount": {
"amount": 3.14,
"currency": "EUR"
}
},
"unit": "KG",
"id": "<string>"
}
]'