| Campo | Tipo | Obrigatório | Formato |
|---|---|---|---|
companyName | string | Sim | |
fantasyName | string | Sim | |
cnpj | string | Não | 99.999.999/9999-99 |
tags | string | Não | |
description | string | Não | |
head | string | Não | |
pageTitle | string | Não | |
friendlyUrl | string | Não | |
html | string | Não | |
order | integer | Não | |
special | boolean | Não | |
aliasPath | string | Não | |
productSorting | integer | Não |
curl --location '/suppliers' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"error": true,
"messages": {
"cnpj": {
"invalidCnpj": "'invalido' is not a valid cnpj"
}
}
}