PurchaseCategory

class moco_wrapper.models.PurchaseCategory(moco)

Class for handling Purchase Categories.

get(category_id: int)

Retrieve a single category.

Parameters:category_id (int) – Id of the category to retrieve
Returns:Single Category object
Return type:moco_wrapper.util.response.ObjectResponse
getlist()

Retrieve a list of categories.

Returns:List of categories
Return type:moco_wrapper.util.response.ListResponse