For the complete documentation index, see llms.txt. This page is also available as Markdown.

Find offers endpoint

Implementation is OPTIONAL

resource: /offer

method: POST

Request : OfferSearchRequest

Response: List<DefaultOffer> OR List<DiscountOffer> OR List<ProductRelatedOffer>

{
	"personId": "0bcae298-867c-41af-9980-be0d8e828d3e",
	"institutionId": "0bcae304-867c-41af-9980-be0d8e828d4s",
	"langCode": "ET",
	"classification": "PERSONAL",
	"loyaltyCards": [
		{
			"id": "12345",
			"cardNumber": "22103944833292",
			"useBonusOnPayment": false
		}
	]
}
{
	"id": "1234",
	"type": "DISCOUNT",
	"discountPercentage": 20,
	"offerPrice": 10,
	"defaultPrice": 12,
	"title": {
		"originalText": "Crazy bonus offer",
		"translations": [
			{
				"ET": "Hull boonus pakkumine"
			}
		]
	},
	"imageUri": "https://myimageurl.com",
	"startDate": "2020-05-04",
	"endDate": "2020-06-04"
}

Last updated