younifyd
Menu

Update Subscribed Webhook

Update subscribed webhook

PUT/apps/{app_key}/webhooks/{id}

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Update Subscribed Webhook action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{updateSubscribedWebhook.response.data}}.

Request

Path parameters

app_keystringrequired

The store ID

idstringrequired

The webhook id

Query parameters

utokenstringrequired

Your Yotpo account access token. See [Yotpo Authentication](https://apidocs.yotpo.com/reference#yotpo-authentication) to learn how to generate your utoken.

Request body

Enter the body as JSON in the step's Body field.

urlstringrequired

The webhook callback URL

event_namestringrequired

The event the webhook should listen to. Events can be `review_create`or `review_updated`.

json
{
  "url": "string",
  "event_name": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{updateSubscribedWebhook.response.data.<field>}}.

statusobject
codeinteger

Default 0

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

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.