Se rendre au contenu
Menu
Cette question a été signalée

Hey everyone,

I’m working on integrating Odoo subscriptions with my app through webhooks, and I’ve been able to make some progress — but I’m stuck on a few fields.


What I Have So Far


I managed to set up a webhook that triggers when the “next invoice date” of a subscription changes. The webhook is connected to my Edge Function, and it’s receiving data correctly.


What I’m Trying to Add


I’d like to include a few more details in the webhook payload, but I couldn’t find them in the subscription model:


Last invoice ID


Status (active, expired, canceled, etc.)


Current period end (right now I’m just using the “next invoice date” as a placeholder)


The Problem


When creating the webhook in Odoo, I couldn’t find a clear way to include these variables — especially the status field. I’m not sure if it’s missing from the subscription model or if it’s stored in a related model (like invoices or analytic accounts).


Has anyone worked with subscription webhooks before or figured out how to include these kinds of fields in the payload? Any pointers or examples would be really helpful.


Thanks!


Avatar
Ignorer

Can you clarify what you're missing exactly, how you're trying to create the webhook and what your configuration is?

Publications associées Réponses Vues Activité
2
sept. 25
550
0
avr. 25
1082
0
sept. 25
398
0
oct. 25
122
2
juil. 25
1346