Skip to main content
Version: 202201

Update Webhook

PUT 

/openapi/2022-01/webhooks/:id

Update a webhook with a unique identifier, notification URL, event name, and format.

Request

Path Parameters

    id stringrequired

    Webhook record ID

Body

    addressstring

    Webhook notification URL, e.g. https://example.com/webhook

    topicstring

    Event name, e.g. orders/cancelled,orders/create

Responses

200

Schema
    webhook object
    idstring
    Example: 37593634-c272-4ed5-9096-1a4f1212125e
    addressstring
    Example: https://abc.com
    topicstring
    Example: order/create
    created_atstring
    Example: 2018-08-26T06:50:00Z
    updated_atstring
    Example: 2018-08-26T06:50:00Z
    formatstring
    Example: json