Last updated 5 years ago
Was this helpful?
Implementation is OPTIONAL
resource: /offer
method: POST
Request :
Response: List<> OR List<> OR List<>
{ "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" }