A criação de categorias é feita de forma bem simples.
// ...
/** @var \SkyHub\Api\Handler\Request\Catalog\CategoryHandler $requestHandler */
$requestHandler = $api->category();
/** @var SkyHub\Api\Handler\Response\HandlerInterface $response */
$response = $requestHandler->create('category001', 'Category 001');
// ...
// ...
/** @var \SkyHub\Api\Handler\Request\Catalog\CategoryHandler $requestHandler */
$requestHandler = $api->category();
/** @var SkyHub\Api\Handler\Response\HandlerInterface $response */
$response = $requestHandler->update('category001', 'Updated Category 001 Name');
// ...
// ...
/** @var \SkyHub\Api\Handler\Request\Catalog\CategoryHandler $requestHandler */
$requestHandler = $api->category();
/** @var SkyHub\Api\Handler\Response\HandlerInterface $response */
$response = $requestHandler->delete('category001');
// ...
// ...
/** @var \SkyHub\Api\Handler\Request\Catalog\CategoryHandler $requestHandler */
$requestHandler = $api->category();
/** @var SkyHub\Api\Handler\Response\HandlerInterface $response */
$response = $requestHandler->categories();
// ...
Para maiores informações acesse a documentação oficial.