Gets a category by the specified ID.
The getCategory()
function returns a Promise that resolves to a category whose ID matches the specified ID.
Category ID.
Options specifying which fields to return.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.