Open dominiquemariano opened 7 months ago
The webhooks attempt to get the data for the webhook using the resource and action (ie. order
and created
). This translates to /llms/v1/orders/<order id>
which is not currently an endpoint in our REST API. So we'll need to add an orders
endpoint to get this working.
This also applies to any order-related webhook since there's no orders endpoints at all.
Same with transactions. I edited the title to include both. If we can add both at once great, otherwise we'll split this into two issues later.
Reproduction Steps
LifterLMS > Settings > REST API > Webhooks
create a new webhook with Topic set to "Order created" (webhook.site
or other webhook testing site can be used to capture, for the Delivery URL)Expected Behavior
You should get payload for the
Order created
topic.Actual Behavior
Getting a
rest_no_route
errorThis issue has be recreated: