On this page:
https://api.premepay.com/v1/stores/:id/endpoints/:id
You can change all the details of a specific webhook. To do this, simply use the route mentioned above. See below the possible responses from the Primefy API for this request.
This is an example of what your request to update a webhook might look like.
If your request is successful, you will receive the return of the webhook object.
If your request has invalid creation parameters - for example, specifying an invalid coupon or source - you may receive an error response. See below for the full list of possible responses.
Related Content
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e3aeb85f-a7e2-40f4-b805-7e883e3d72e2/DELETE.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e3aeb85f-a7e2-40f4-b805-7e883e3d72e2/DELETE.png" width="40px" /> DELETE - Delete webhook
</aside>
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52c5ff42-e8bf-45d3-81d1-b6e05786a688/POST.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52c5ff42-e8bf-45d3-81d1-b6e05786a688/POST.png" width="40px" /> POST - Create a new webhook
</aside>