Simplified third party creation
To use the simplified version there is the recipe https://doc.api.zenta.app/recipes/create-basic-thirdparty-no-custom-fields
- The countryId field must be obtained from the countries endpoint (see recipe https://doc.api.zenta.app/recipes/get-all-countries)
- The companies of the scope field must be obtained from the companies endpoint (see recipe https://doc.api.zenta.app/recipes/get-all-companies)
- User permissions can be OWNER and RESPONSIBLE
- The contact type can be PRIMARY | SECONDARY | SALES | SECURITY | PRIVACY | IT
Example of payload to use
{
“contacts”: [
{
“email”: “[email protected]”,
“language”: “”,
“name”: “”,
“phone”: “”,
“type”: “PRIMARY”
}
],
“countryId”: “3d4a6b33-ae1c-4364-9885-08b58694fd74”,
}, “name”: [ “tercero5” ], “name”: “tercero5”,
}, “users”: [
{
“permissions”: [
“OWNER”.
],
“userId”: “2f26a239-cce2-4b53-953f-8ed33c69d22d”
}
],
“scopes”: [
{
“companyId”: “5963e75c-8163-48d1-b509-c12d37d1baaa”
}
]
}
Updated over 1 year ago