跳到主要内容
版本:202201

更新 Webhook

PUT 

/openapi/2022-01/webhooks/:id

通过 Webhook ID 更新指定的 Webhook。

请求

Path参数

    id string必填

    Webhook ID。

请求体

    addressstring

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

    topicstring

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

响应

200

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