Returns list of labels by type
/labels/{type}https://api.oauth.pabau.com/{api_key}/labels/{type}
Request
Query Parameters: | |
api_key * | |
type * | String ("contact","lead","photo") |
per_page | (int) Number of records per page. Default 20, maximum 50 |
page | (int) Page number. If not provided will return the first fetched |
order | ASC or DESC. Default DESC |
Response sample
application/json
{
"status": true,
"quotes": {
{
"id": {id},
"date": {date},
"user": {full name},
"url": {url},
"quote_items": [
{
"product_name": {name},
"price": {price},
"qty": {quantity},
"discount": {discount},
"tax": {tax}
}
]
},
"total": {total}
}
}