| Campo | Tipo | Obrigatório | Formato |
|---|---|---|---|
name | string | Sim | |
parent | integer | Não | |
description | string | Não | |
friendlyUrl | string | Não | |
head1 | string | Não | |
head2 | string | Não | |
title | string | Não | |
tags | string | Não | |
htmlContent | string | Não | |
order | integer | Não | |
googleCode | integer | Não | |
sorting | integer | Não | |
hidden | boolean | Não | |
active | boolean | Não | |
aliasPath | string | Não | |
markupMarketplace | float | Não | 9.99 |
curl --location '/productcategories' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"data": {
"id": 198,
"parent": null,
"featuredImage": null,
"children": [],
"icon": null,
"name": "Categoria X",
"description": null,
"friendlyUrl": null,
"aliasPath": null,
"head1": null,
"head2": null,
"title": null,
"tags": null,
"bannerLink": null,
"htmlContent": null,
"order": 0,
"googleCode": null,
"sorting": 0,
"markupMarketplace": null,
"integrationType": null,
"hidden": false,
"active": false,
"onClickId": null,
"omieId": null,
"createdAt": null,
"updatedAt": null
}
}