ofSubCategory

Get the list of Sub-Categories in a given Category.

This method belongs to the property - getList

Parameters

PARAMETER
TYPE
OPTIONAL
DESCRIPTION

id

ID of a Category.

page

👍

Which set of results to be obtained (1 - 200)

Returns

Promise<Array<List>>

Example Code

<getList>.ofSubCategory(1).then(x => console.log(x));

// OR

<getList>.ofSubCategory(1, 10).then(x => console.log(x));

Last updated