Products for a specific category

category_products(category_id, recursive = TRUE, ...)

Arguments

category_id

A category ID.

recursive

Should all sub-categories be included?

...

Arguments passed through to paginate().

Value

Details of all products for a specific category as a data.frame.

Examples

# Get products for a specific category. if (FALSE) { category_id = categories() %>% filter(category_label == "red wine") %>% pull(category_id) category_products(category_id) }