POST Update company
Changed onCom este endpoint, você pode atualizar os dados de uma subconta previamente criada no sistema.
As informações modificadas serão aplicadas imediatamente, e a subconta continuará funcionando normalmente com o token já existente.
Disponível apenas para contas revendedoras (outras contas recebem 501).
Regras:
- company_name é o nome da empresa cadastrada; name é o nome curto (2 a 64 caracteres).
- company_brand e company_icon são imagens (PNG ou JPG) e exigem multipart/form-data.
- status é aplicado à subconta e a todos os usuários dela.
- Corpo vazio ou sem nenhum campo válido responde 422.
- limits só pode ser enviado por uma conta revendedora principal (subcontas recebem 403).
Request
- Base URLhttps://app.plugsign.com.br
- URLhttps://app.plugsign.com.br/api/companies/{id}
- AuthAPI key in header Authorization
Path parameters
ID da company que deve ser alterada.
Request body
Response
200
Example response
{
"message": "Cliente atualizado com sucesso"
}Changes
- breaking
the
request property's minLength was increased from0to2 - breaking
the
request property's minLength was increased from0to2 - breaking
the
request property's minLength was increased from0to2 - breaking
the
request property's minLength was increased from0to10 - breaking
the
request property type changed fromintegertoboolean, and format fromint32to no format - warning
the
request property's maxLength was set to255 - warning
the
request property's maxLength was set to64 - warning
the
request property's maxLength was set to64 - warning
the
request property's maxLength was set to15 - warning
the
request property's max was set to7.00 - warning
the
request property's min was set to1.00 - info
added the new optional request property
- info
added the new
files_totalenum value to the request property// - info
added the new
whatsappenum value to the request property// - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking