Class: PlansResource
You can use the plans resource to access plans in the Firmhouse API.
Methods
fetchAll()
fetchAll(params?): Promise<PaginatedResponse<FirmhousePlan>>;Retrieve Plans
Parameters
params?
Parameters to filter products by
after?
string | null
Return the elements in the list that come after the specified cursor.
before?
string | null
Return the elements in the list that come before the specified cursor
first?
number | null
Return the first n elements from the list
last?
number | null
Return the last n elements from the list.
Returns
Promise<PaginatedResponse<FirmhousePlan>>
List of products with pagination info
Last updated
Was this helpful?