to get a personalized navigation.
to get a personalized navigation.
I'm trying to create a customer with POST https://integration.visma.net/API/controller/api/v1/customer, and I'm getting the following error:
Error inserting the customer. Input data not valid. New customer must have a name specified.
My payload is below. What could be wrong here?
{
"name": {
"value": "Flashnode"
},
"status": {
"value": "Active"
},
"corporateId": {
"value": "1234567-8"
},
"mainAddress": {
"value": {
"addressLine1": {
"value": "Street 123"
},
"postalCode": {
"value": "40100"
},
"city": {
"value": "City"
},
"countryId": {
"value": "FI"
}
}
},
"mainContact": {
"value": {
"name": {
"value": "Flashnode"
},
"attention": {
"value": "Firstname Lastname"
},
"email": {
"value": "firstname.lastname@flashnode.com"
},
"phone1": {
"value": "0401234567"
}
}
}
}
Copyright © 2022 Visma.com. All rights reserved.