curl --location --globoff --request PUT 'https://.daftra.com/v2/api/entity/le_workflow-type-entity-{{workflow_id}}/{{record_id}}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data '{
"id": 65,
"title": "Instance 22 edited",
"number": {
"code": "000007"
},
"start_date": "01/06/2026",
"delivery_date": "04/06/2026",
"client_id": "1",
"assigned_users": [
"1",
"2"
],
"budget": {
"number": 1000,
"currency": "USD"
},
"tags": [
"tag1, tag2"
],
"description": "description",
"attachments": [],
"branch_id": 1,
"staff_id": 1,
"follow_up_status_id": null,
"le_workflow-type-entity-36_custom_data": {
"id": 1,
"code": "Renee315",
"discount_type": "نسبة مئوية",
"discount_value": 15
}
}'