ProductsResource
products.ProductsResource
Properties
Methods
list
list(query?
, customHeaders?
): ResponsePromise
<StoreProductsListRes
>
Parameters
is optional. Can contain a limit and offset for the returned list
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<StoreProductsListRes
>
Description
Retrieves a list of products
retrieve
retrieve(id
, customHeaders?
): ResponsePromise
<StoreProductsRes
>
Parameters
id
stringRequiredis required
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<StoreProductsRes
>
Description
Retrieves a single Product
search
search(searchOptions
, customHeaders?
): ResponsePromise
<StorePostSearchRes
>
Parameters
is required
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<StorePostSearchRes
>
Description
Searches for products
Was this section helpful?