API's Auxiliares
Contactos
Criar email de Cliente
Criar email de Cliente
post/api/contacts
Request
- Base URL{{base_url}}
- AuthOAuth 2Authorization code{{base_url_oauth}}/authToken URL{{base_url_oauth}}/tokenScopescommercial
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"contactable_id": 29,
"contactable_type": "Supplier",
"email": "user@email.pt",
"is_primary": true
},
"type": "contacts"
}
}Response
Sucesso / Suceso / Criar Novo Contacto
Example response
{
"data": {
"attributes": {
"email": "user@email.pt",
"is_primary": true,
"name": "Nome de Utilizador"
},
"id": "29",
"type": "contacts"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.