I am able to create categories under default category but I am not able to create sub category while creating a new category under default. The body I am passing is
{
"category": {
"parent_id": 2,
"name": "test_category1",
"is_active": true
}
}