Update Outbound Webhook
PATCH
HTTPBearerheader
AuthorizationBearer <token>endpoint_id*Endpoint IdMatch
^[A-Za-z0-9_-]+$Length
length <= 64application/json- body
name?|nullurl?string|nullheaders?|Replaces all custom headers. Write-only.
header_changes?|Sets single headers; null removes one; others are kept. Write-only.
filters?|Replaces the filter; omit to keep it.
Successful Response
application/json- response
id*Idname*Nameurl*Urlstatus*OutboundWebhookStatusValue in
"active""paused""disabled_after_failures"filters*A target's filter, ANDed; an empty list means all. store_ids and
milestones apply to product.ordered only; a milestone is the N-th order
of a product counted over all stores. Stored as the JSON string
metadata["rules"] (format: go/cmd/webhooks/testdata/rules.json) and
evaluated by the Go webhooks worker.
created_at*Created AtFormat
date-timeupdated_at*Updated AtFormat
date-timecurl -X PATCH 'https://app.copyhero.app/api/v1/webhooks/outbound/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "name": "string", "url": "string", "status": "active", "filters": { "event_types": [ "workflow.completed" ], "store_ids": [ 1 ], "milestones": [ 1 ] }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}