Hi,
I’m helping a customer import Organizations through Litium Connect 2.0 (litium 7.6.1).
After fixing some other issues in the json payload… I get stuck on addresses
Documentation here: Api
When I add more than one address in the list, it fails to import.
This works:
"addresses": [
{
"id": "30927-Billing",
"firstName": "xxxxxx/xxx",
"lastName": "xxxxx",
"address1": "xxxxx 9",
"city": "xxxxx",
"country": "NO",
"email": "xxx@xxx.no",
"fax": "12 34 45 78",
"phone": "12 34 56 78",
"zip": "1234",
"type": "Billing"
}
]
This does not
"addresses": [
{
"id": "30927-Billing",
"firstName": "xxxxxx/xxx",
"lastName": "xxxxx",
"address1": "xxxxx 9",
"city": "xxxxx",
"country": "NO",
"email": "xxx@xxx.no",
"fax": "12 34 45 78",
"phone": "12 34 56 78",
"zip": "1234",
"type": "Billing"
},
{
"id": "30927-Delivery",
"firstName": "xxxxxx/xxx",
"lastName": "xxxxx",
"address1": "xxxxx 9",
"city": "xxxxx",
"country": "NO",
"email": "xxx@xxx.no",
"fax": "12 34 45 78",
"phone": "12 34 56 78",
"zip": "1234",
"type": "Delivery"
}
]
Bug? Or are we missing something obvious?
"errorMessage": "Unexpected character encountered while parsing value: s. Path '', line 0, position 0."