BizKitHub
DocsAPI ReferencePost Category/bff/post-category/move
postPost CategoryAdmin BFF

/bff/post-category/move

Moves a category within its siblings (same parent). The whole sibling level is renumbered 0..n-1. The order drives the admin tree, the category selector, the public /api/v1/post/category-tree and subcategory listings. Use /save with parentId to move a category under another parent.

Post CategorypostBffPost-categoryMove

Parameters

JSON body

Request body

application/json
idstringRequired

Category external ID.

Exampleabc123def456ghij
direction"up" | "down" | "first" | "last"Required

Where to move the category within its sibling list.

Exampleup

Response schema

1 status code documented

200Success
successbooleanRequired

Always true on success.

movedbooleanRequired

False when the category was already at the requested edge.

Response example

application/json
{
  "success": false,
  "moved": false
}

Request example

POST /bff/post-category/move

post
curl -X POST "https://api.bizkithub.com/bff/post-category/move" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "abc123def456ghij",
  "direction": "up"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key