Get Qualification Criteria (QC) List
Pulls a list of all qualification criteria (QC) 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.
Qualification criteria 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 qc name column
- Type: QC List Output (Object)
200 - Type: array object[]
data A list of qualification criteria (QC)
- Type: Meta (Object)
meta Shows 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",
"amount_cap": 1,
"percentage_of_processed_amount": 1,
"qc_processing_function": "string",
"rounding_rule": "string",
"max_discount_units": 1,
"minimum_unit_rate": 1,
"unit_discount": 1,
"target_price": 1,
"effective_location": [
"string"
],
"stack_discounting": true,
"reuse_qualifying_items": true,
"line_item_filters": [
{
"processing_method": "string",
"quantity": 1,
"line_item_selector": {
"name": "string",
"external_id": "string",
"exclude_non_payable": true,
"filter_item_set": "string",
"base_items": {
"clauses": [
{
"attribute": "string",
"operator": "string",
"value": "string"
}
]
},
"modifiers": {
"clauses": [
{
"attribute": "string",
"operator": "string",
"value": "string"
}
],
"processing_method": "string",
"max_discount_units": 1
}
}
}
],
"enable_menu_item_aggregator": true,
"aggregator_grouping_attributes": {
"item_name": true,
"item_id": true,
"item_major_group": true,
"item_family": true,
"line_item_type": true
},
"item_qualifiers": [
{
"expression_type": "string",
"line_item_selector": {
"name": "string",
"external_id": "string",
"exclude_non_payable": true,
"filter_item_set": "string",
"base_items": {
"clauses": [
{
"attribute": "string",
"operator": "string",
"value": "string"
}
]
},
"modifiers": {
"clauses": [
{
"attribute": "string",
"operator": "string",
"value": "string"
}
],
"processing_method": "string",
"max_discount_units": 1
}
},
"net_value": 1
}
],
"receipt_qualifier": [
{
"attribute": "string",
"operator": "string",
"value": "string"
}
]
}
],
"meta": {
"page": 1,
"per_page": 1,
"total_records": 1
}
}