Last updated 2 days ago
function getProducts(params): Promise< | { data: undefined; error: unknown; } | { data: GetProductsResponse; error: undefined; } & object>
Defined in:
Get a listing of products
params
{ dir: "asc" | "desc"; limit: number; orderBy: string; page: number; }
dir
"asc"
"desc"
limit
number
orderBy
string
page
params.dir?
params.dir
"asc" | "desc"
params.limit?
params.limit
params.orderBy?
params.orderBy
params.page?
params.page
Promise< | {data: undefined;error: unknown; } | {data: ;error: undefined; } & object>
Promise
data
undefined
error
unknown
object
GetProductsResponse