---
title: "Webhook Yaratma - createWebhook"
method: POST
path: "/sellers/{sellerId}/webhooks"
tags: ["Webhook"]
---

# Webhook Yaratma - createWebhook

`POST /sellers/{sellerId}/webhooks`

## Request

- Base URL: `https://apigw.trendyol.com/integration/webhook`
- URL: `https://apigw.trendyol.com/integration/webhook/sellers/{sellerId}/webhooks`
- Auth: HTTP basic

Bu servis ile sipariş paketleriniz için webhook yapısı kurabilirsiniz.

## Path parameters

- `sellerId` integer, required

## Request body

- object
  - `url` string, required: Webhook Servis URL Bilgisi
  - `username` string: Basic Authentication için kullanılacak olan kullanıcı adı
  - `password` string: Basic Authentication için kullanılacak olan şifre
  - `authenticationType` 'BASIC_AUTHENTICATION' | 'API_KEY', required: BASIC_AUTHENTICATION ya da API_KEY değerini alabilir
  - `apiKey` string: Authorization için kullanılacak olan apikey bilgisi
  - `subscribedStatuses` string[]: Sipariş bilgisi alınması istenilen statü listesi. Boş gönderilirse tüm statüler otomatik atanır: - CREATED - PICKING - INVOICED - SHIPPED - CANCELLED - DELIVERED - UNDELIVERED - RETURNED - UNSUPPLIED - AWAITING - UNPACKED - AT_COLLECTION_POINT - VERIFIED

## Response `200`

Success

- object
  - `id` string: Webhook ID

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/trendyol/apis/trendyol-webhook-api-si.md) - [All operations](https://skmtc.dev/trendyol/apis/trendyol-webhook-api-si/llms.txt) - [OpenAPI document](https://skmtc.dev/trendyol/apis/trendyol-webhook-api-si/revisions/45a4e81d5236?raw)
