---
title: "PUT /webhooks/{id}"
method: PUT
path: "/webhooks/{id}"
tags: ["Webhooks"]
---

# PUT /webhooks/{id}

`PUT /webhooks/{id}`

Update webhook

## Request body

- UpdateWebhookRequest
  - `type` 1 | 2 | 3 | 4 | 5 | 6 | 7 — 1 - Create Basket 2 - Create Product 3 - Edit Product 4 - Delete Product 5 - Inventory Status Below 0 6 - End Of Day Created
  - `url` string
  - `client` integer
  - `name` string

## Response `200`

OK

- Webhook
  - `uid` integer
  - `crdate` integer
  - `tstamp` integer
  - `crdate_formatted` string
  - `tstamp_formatted` string
  - `client` integer
  - `name` string
  - `url` string
  - `type` integer

---

[API](https://skmtc.dev/shopbox/apis/shopbox-api.md) · [All operations](https://skmtc.dev/shopbox/apis/shopbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shopbox/shopbox-api/revisions/f1847469718c/schema)
