Thanks for developing and operating a great product.
Syncing Subscription Status
Webhooks are commonly used to sync a customer's subscription status across multiple systems. Because different webhook events contain unique information, we recommend calling the
GET /subscribersREST API endpoint after receiving any webhook. That way, the customer's information is always in the same format and is easily synced to your database. This approach is simpler than writing custom logic to handle each webhook event, and has the added benefit of making your system more robust and scalable.
The webhook documentation recommends calling the REST API after receiving a webhook.
The reason for this is to avoid having to create custom logic, etc.
However, when we want to receive only the common fields of the webhook event and synchronize it with our own DB, we think that the REST API processing is unnecessary.
This is because the json data received by the webhook is sufficient.
Even if we only plan to use the common fields of the webhook, is it better to retrieve the data via REST API?
If so, what is the recommended reason?