| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
productCategories | array | Sim | Lista de categorias |
productCategories.id | integer | Sim | Código da categoria |
curl --location --request PATCH '/products//categories' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"error": true,
"messages": {
"productCategories": [
{
"id": {
"notInteger": "Invalid type given. Integer value expected.",
"notGreaterThan": "The input is not greater than '0'"
}
}
]
}
}