Get Line Item Selector (LIS) List
Pulls a list of line item selectors available and defined at the business level.
To call this API, the offers ingestion option must be enabled for the business on the Punchh platform. Contact your Punchh representative to update this Punchh platform configuration.
Line item selector search is on a business level, and the request can:
- Set search limits and order by descending search
- Filter based on name and other attributes, for example, name or recency For more information, see Offers Ingestion Management
- Type: string
Accept Set this header to application/json
- Type: string
Authorization requiredBearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".
- Type: string
Content - Type Set this header to application/json
- Type: integer
page default:1Number of pages to retrieve. If the requested number exceeds the available pages, the system will retrieve up to the last valid page. If the
pagevalue is not provided, the default value is used. - Type: integer
per _page default:20Number of records per page. If the
per_pagevalue is not provided, the default value is used. The maximumper_pagevalue is enforced based on the OFFERS_LIST_MAX_PER_PAGE environment variable. - Type: string
query Define the search string on the lis name column
- Type: LIS Output (Object)
200 - Type: array object[]
data A list of line item selectors
- Type: object
meta Contains pagination information
- Type: object
400 - Type: string
error
- Type: object
401 - Type: string
error
- Type: object
403 - Type: string
error
{
"data": [
{
"name": "string",
"external_id": "string",
"filter_item_set": "string",
"exclude_non_payable": true,
"base_items": {
"clauses": [
{
"attribute": "string",
"operator": "string",
"value": "string"
}
]
},
"modifiers": {
"max_discount_units": 1,
"processing_method": "string",
"clauses": [
{
"attribute": "string",
"operator": "string",
"value": "string"
}
]
}
}
],
"meta": {
"page": 1,
"per_page": 1,
"total_records": 1
}
}