Add a new category
POST
/api/v1/accounts/{account_id}/portals/{portal_id}/categories
Help Center
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/accounts//portals//categories' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"description": "string",
"locale": "en/es",
"name": "string",
"slug": "string",
"position": 0,
"portal_id": 0,
"account_id": 0,
"associated_category_id": 0,
"parent_category_id": 0
}'
Response Response Example
200 - Example 1
{
"id": 0,
"description": "string",
"locale": "string",
"name": "string",
"slug": "string",
"position": 0,
"portal_id": 0,
"account_id": 0,
"associated_category_id": 0,
"parent_category_id": 0
}
Request
Path Params
account_id
stringÂ
required
portal_id
stringÂ
required
Body Params application/json; charset=utf-8