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

# Webhook Yaratma - createWebhook

`POST /sellers/{sellerId}/webhooks`

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.net/trendyol/apis/trendyol-marketplace-entegrasyonu.md) · [All operations](https://skmtc.net/trendyol/apis/trendyol-marketplace-entegrasyonu/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trendyol/trendyol-marketplace-entegrasyonu/revisions/d2dcbbc06a4a/schema)
