curl --location 'https://dev.e-check.com.ua/v2/open-api/receipt/sell' \
--header 'apikey: {{apikey}}' \
--header 'Content-Type: application/json' \
--data '{
"shiftId": "c6d4f0e9-a253-4c36-8ea5-170174512a27",
"discountAllCheck": {
"discountType": "BY_PERCENTAGE",
"percentage": 50
},
"paymentGroupsList": [
{
"paymentTypeId": 1,
"paymentGroupId": 1
}
],
"clientCheckId": "0ec5efc9-00c5-4c95-95d9-ccb0778125091133",
"cash": 0,
"products": [
{
"name": "Банан ваг.(кг)",
"quantity": 1,
"price": 7400,
"tx": "1",
"measurementId": 2,
"discount": {
"type": "BY_SUM",
"value": 0
},
"id": "00000000677"
}
]
}'