Triple API and Webhooks
Offer Display

Search Offers

1min
POST
https://api.tripleup.dev/partner/card-accounts/{cardholder_id}/offers.search
triple Prod

Search for offers, optionally by category.

Providing a latitude and longitude for proximity_target is highly encouraged. Doing so allows Triple to deliver the most relevant Offers and Merchant Locations.

The default behavior of this endpoint is the null query, which fetches triple offers recommendations based on a Customer's geo-location, transaction history, and offer interactions.

However, a Customer can also search directly for offers with ad hoc text queries and/or by faceting on offer category. This action replaces the null query with search terms and/or one or more offer category facets. For example, a Customer may search for 'italian food' in plain text and select the 'FOOD' offer category facet.

Search results are paginated, using the page_size and page_offset parameters. For example, page_size=10 and page_offset=30 corresponds to the 4th page of 10 offers.

Note that Offer Display Rules are enforced against all search results.

Path Parameters
cardholder_id
*
Body Parameters
body
apply_filter
crowding_parameters
page_offset
page_size
proximity_target
text_query
Responses
200
Offers
offers
*
All Of
CardholderOfferCore +
total
*
400
TripleBadRequestError
status_code
*
content
*
403
TripleNotAuthenticatedError
status_code
*
content
*
404
TripleInvalidPathError
status_code
*
content
*
409
TripleIntegrityError
status_code
*
content
*
415
TripleUnsupportedMediaType
status_code
*
content
*
422
TripleUnprocessableEntity
status_code
*
content
*
500
TripleInternalServerError
status_code
*
content
*
501
TripleNotImplementedError
status_code
*
content
*
503
TripleServiceUnavailable
status_code
*
content
*