atualizar classe
PUT
http://apidatain-prod.f1ws.com.br/class/padrao
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://apidatain-prod.f1ws.com.br/class/padrao' \
--header 'Content-Type: text/plain' \
--data-raw '{
"parent_class": "",
"code": "padrao",
"name": "PADRAO",
"attributes": [
{
"attribute_key": "icms_reduzido",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "tributa_ipi",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "tributa_st",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "ncm",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "origem",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "marca",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "peso",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "altura",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "largura",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "profundidade",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "peso_cubico",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "ipi",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "descricao",
"group": "dados",
"multiple": 0,
"variation": 0
},
{
"attribute_key": "cor",
"group": "dados",
"multiple": 0,
"variation": 1
},
{
"attribute_key": "tamanho",
"group": "dados",
"multiple": 0,
"variation": 0
}
]
}'
Response Response Example
{}
Requisição
Parâmetros Bodytext/plain
Respostas
Modificado em 2025-06-23 20:17:41