List price book
Services and materials from your Price book with their prices.
GET https://cotlet.dev/api/v1/housecall-pro/price-books
read
Returns the services and materials in your Price book with names and prices, so a new estimate or job uses the prices you already set. Search by name. Using an item on a job or estimate does not change the Price book itself. Pages hold up to 100 items.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Part of the item name. |
| kind enum | enum | service or material. Default: both. |
| limit integer | integer | 1 to 100. Default: 50. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/housecall-pro/price-books \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("housecall-pro", "list_price_book") const result = await cotlet.call('housecall-pro', 'list_price_book'); cotlet call housecall-pro list_price_book Example response
{
"items": [
{
"price_book_id": "pb_5521",
"kind": "service",
"name": "Water heater install, 40-gallon",
"price": 2400
},
{
"price_book_id": "pb_5530",
"kind": "material",
"name": "Expansion tank",
"price": 85
}
],
"next_cursor": null
}