lidl-plus icon indicating copy to clipboard operation
lidl-plus copied to clipboard

HTTP 404 on coupons listing

Open xdanik opened this issue 6 months ago • 14 comments

Endpoint https://coupons.lidlplus.com/api/v2/CZ started to return 404 since today morning.

I have quickly checked the requests from mobile APP and the app queries the coupons from https://coupons.lidlplus.com/app/api/v2/promotionslist. The country code and Store-Id is sent as HTTP headers.

xdanik avatar Jun 12 '25 07:06 xdanik

Can you be more specific about which headers are set?

gapato avatar Jun 22 '25 18:06 gapato

I have tested it and one header is Country=DE

sharknoon avatar Sep 24 '25 18:09 sharknoon

I have quickly checked the requests from mobile APP and the app queries the coupons from https://coupons.lidlplus.com/app/api/v2/promotionslist. The country code and Store-Id is sent as HTTP headers.

Do you know which is the endpoint for activating the coupon? It looks like it doesn't use the same structure as before

yagueto avatar Oct 07 '25 13:10 yagueto

POST to https://coupons.lidlplus.com/app/api/v1/promotions/<coupon-id>/activation with Header County=<country-id>

Example: coupon-id: 0199d185-cad6-7115-b052-32e74ea0978c country-id: DE

Full example: POST to https://coupons.lidlplus.com/app/api/v1/promotions/0199d185-cad6-7115-b052-32e74ea0978c/activation with Header Country=DE

sharknoon avatar Oct 18 '25 17:10 sharknoon

Hi,

Does this still work? I see a lot of messages throughout the internet that Lidl stopped support for third party api calls?

MrMilesR avatar Oct 30 '25 07:10 MrMilesR

Hi,

Does this still work? I see a lot of messages throughout the internet that Lidl stopped support for third party api calls?

I've been able to make it work in my fork (https://github.com/yagueto/lidl-plus) after updating the endpoints to the new ones (thanks @sharknoon and @xdanik)

yagueto avatar Oct 30 '25 10:10 yagueto

Hi, Does this still work? I see a lot of messages throughout the internet that Lidl stopped support for third party api calls?

I've been able to make it work in my fork (https://github.com/yagueto/lidl-plus) after updating the endpoints to the new ones (thanks @sharknoon and @xdanik)

ah yes! Thanks, very helpful.

MrMilesR avatar Oct 30 '25 11:10 MrMilesR

Hi, Does this still work? I see a lot of messages throughout the internet that Lidl stopped support for third party api calls?

I've been able to make it work in my fork (https://github.com/yagueto/lidl-plus) after updating the endpoints to the new ones (thanks @sharknoon and @xdanik)

any chance you run this also outside a localhost environment? I keep running into the UBI errors.

MrMilesR avatar Oct 31 '25 13:10 MrMilesR

What do you mean by UBI? It seems to be working on my end, it could also be a country/store specific issue. What error are you getting exactly?

yagueto avatar Oct 31 '25 14:10 yagueto

What do you mean by UBI? It seems to be working on my end, it could also be a country/store specific issue. What error are you getting exactly?

I mean everything works in localhost, but when I try to push it somewhere public (VM through Docker, or something else) its not working. Do you have it somewhere publicly working or only through localhost?

MrMilesR avatar Oct 31 '25 16:10 MrMilesR

I've just tested it in my VPS and it looks like it works fine. I've noticed however that it does give an error, which I'll fix, with the date parser if using python version <3.11. Is this your error?

yagueto avatar Nov 04 '25 14:11 yagueto

No not really. Maybe we can chat on Discord? #milo8842 is my handle..

I've just tested it in my VPS and it looks like it works fine. I've noticed however that it does give an error, which I'll fix, with the date parser if using python version <3.11. Is this your error?

MrMilesR avatar Nov 04 '25 15:11 MrMilesR

Would that be okay? Or maybe somewhere else?

I've just tested it in my VPS and it looks like it works fine. I've noticed however that it does give an error, which I'll fix, with the date parser if using python version <3.11. Is this your error?

MrMilesR avatar Nov 07 '25 11:11 MrMilesR

your dms are closed, you have to accept me as friend :)

yagueto avatar Nov 09 '25 14:11 yagueto