v1
latestSwagger 2.02026-08-065854114.9 KBorganizations
Search for an organization by name or document number (CNPJ).
If found, update it, otherwise, create a new one.
This endpoint is very useful if you want to avoid verifying for duplicates before creating a new organization.
post/organizations/upsert
Request body
Response
OK
Example response
{
"data": {
"contact": {
"work": "(99) 9999-9999",
"mobile": "(99) 99999-9999",
"whatsapp": "+5511999999999"
},
"address": {
"postalCode": "99999-999"
}
}
}