Openapi
Move a product category to a new parent and position.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
categoryId*stringuuidorganizationId*stringuuidThe category move payload.
application/jsonparentId*|uuidposition*integer0 <= valueReturns the updated product category tree as a paginated response.
application/jsoncurl -X POST 'https://app.localhost/api/v1/organizations/123/product-categories/123e4567-e89b-12d3-a456-426614174000/move' \ -H 'Content-Type: application/json' \ -d '{ "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "position": 0}'{}