restApi Business Partner Location

32 views
Skip to first unread message

Erick Benivan

unread,
Apr 24, 2026, 4:47:49 AM (4 days ago) Apr 24
to iDempiere

Hello, is there anyone who can help? I am currently trying to POST data to create a business partner and its location.

Is it possible to create both the business partner and its location in a single request,

with the condition that we do not POST the location data beforehand?
Below is an example of the JSON body I am using:
{
"Name": "PAXAR INDONESIA",
"Value": "LPXR03",
"IsVendor": true,
"C_BP_Group_ID": 1000001,
"location": [
{
"Address": "",
"Address1": "JL INTI I BIIE LIPPO CIKARANG, BLK C-1, NO.14, CIBATU BEKASI"
}
]
}


And here is the specific error I am getting:

{
"title": "Save error",
"status": 500,
"detail": "Save error with exception: Fill mandatory fields:"
}


Reply all
Reply to author
Forward
0 new messages