Issue with Linking Custom Objects together via API

Your software
My Mautic version is:4.4.11
My PHP version is:7.4
My Database type and version is:10.3.39-MariaDB

Your problem
My problem is: Issue with Linking Custom Objects together via API

These errors are showing in the log: No error log

Steps I have tried to fix the problem: This is the JSON structure of my code. it work only by linking the Contact with the custom object.
{
“email”: “{{1.billing.email}}”,
“firstname”: “{{1.billing.first_name}}”,
“lasname”: “{{1.billing.last_name}}”,
“phone”: “{{1.billing.phone}}”,
“last_active”: “{{1.date_created}}”,
“tags”: “{{1.meta_data.value}}”,
“customObjects”: {
“data”: [
{
“id”: 1,
“alias”: “product”,
“data”: [
{
“name”: “{{1.line_items.name}}”,
“attributes”: {
“prix”: “{{1.line_items.price}}”,
“id”: “{{1.line_items.id}}”
}
}
]
},
{
“id”: 2,
“alias”: “sale”,
“data”: [
{
“name”: “{{1.line_items.name}}”,
“montant-total”: “{{1.line_items.total}}”,
“quantite”: “{{1.line_items.quantity}}”,
“date-de-vente”: “{{1.date_created}}”
}
]
}
],
“relationships”: {
“vente”: {
“parent”: “product”,
“alias”: “sale”,
“data”: [
{
“name”: “{{2.line_items.name}}”,
“montant-total”: “{{2.line_items.total}}”,
“quantite”: “{{2.line_items.quantity}}”,
“date-de-vente”: “{{2.date_created}}”
}
]
}
}
}
}