PATCH /v1/notifications/webhooks/{webhook_id}
Updates a webhook to replace webhook fields with new values. Supports only the replace
operation. Pass a json_patch
object with replace
operation and path
, which is /url
for a URL or /event_types
for events. The value
is either the URL or a list of events.
Servers
- https://api-m.sandbox.paypal.com
- https://api-m.paypal.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
webhook_id |
String | Yes |
The ID of the webhook for which to list subscriptions. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
[] |
Array | Yes | |
[].op |
String | Yes |
The operation. Possible values:
|
[].value |
No |
The value to apply. The |
|
[].path |
String | No |
The JSON Pointer to the target document location at which to complete the operation. |
[].from |
String | No |
The JSON Pointer to the target document location from which to move the value. Required for the |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.