Create a business category
API operation: Open the endpoint in the API reference
Use POST /business/{business_id}/categories to create a category. The current public operation is Category.register.
If available, the operation requires administrator or business-manager authentication and currently requires business_id and name. The path business and any parent_category_id must belong to a valid hierarchy; see the operation guide for all fields and validations.
const response = await ordering.businesses(businessId).categories().save()
This SDK syntax may vary by package version. Confirm the package and version before using it.