Update Webhook By ID

Changed on

Update your webhook URL or event_name by webhook id.

put/v2/{account_id}/webhooks/{id}

Request

  • Base URL
    https://developers.yotpo.com
  • URL
    https://developers.yotpo.com/v2/{account_id}/webhooks/{id}
  • Auth
    API key in header X-Yotpo-Token

Path parameters

account_idstring required

Your account's API app key

idstring required

The webhook ID. Can be found using Retrieve All Webhooks

Request body

urlstring

Your site URL

event_namestring

The type of webhook params you wish to update e.g. review_create

Response

200

paginationunknown

Example response

{
  "status": {
    "code": 200,
    "message": "OK"
  }
}

Changes