Yemeksepeti

Order Notification

POST http://service:8080/service/api/webhooks/yemeksepeti/orders/notification
Description: Receives order notifications from Yemeksepeti
Authentication: Authorization header (optional)
Request Body: YemeksepetiOrderNotificationWebhook
Header: Authorization: <your-token>
MigrosYemek

Order Created

POST http://service:8080/service/api/webhooks/migrosyemek/orders/created
Description: Receives notifications when a new order is created
Authentication: XApiKey header (optional)
Request Body: MigrosYemekOrderCreatedWebhook
Header: XApiKey: <your-api-key>

Order Canceled

POST http://service:8080/service/api/webhooks/migrosyemek/orders/canceled
Description: Receives notifications when an order is canceled
Authentication: XApiKey header (optional)
Request Body: MigrosYemekOrderCanceledWebhook
Header: XApiKey: <your-api-key>

Delivery Status Changed

POST http://service:8080/service/api/webhooks/migrosyemek/delivery/status-changed
Description: Receives notifications when delivery status changes
Authentication: XApiKey header (optional)
Request Body: MigrosYemekDeliveryStatusChangeWebhook
Header: XApiKey: <your-api-key>
GetirYemek

New Order

POST http://service:8080/service/api/webhooks/getiryemek/newOrder
Description: Receives notifications for new orders
Authentication: x-api-key header (optional)
Request Body: GetirYemekFoodOrder
Header: x-api-key: <your-api-key>

Cancel Order

POST http://service:8080/service/api/webhooks/getiryemek/cancelOrder
Description: Receives notifications when an order is canceled
Authentication: x-api-key header (optional)
Request Body: GetirYemekFoodOrder
Header: x-api-key: <your-api-key>

📝 Usage Instructions

1. Base URL Configuration: Update webhook.base-url in application.yaml or set WEBHOOK_BASE_URL environment variable

2. Authentication: Include the required header for each platform when registering webhooks

3. Testing: Use tools like Postman or curl to test webhook endpoints

4. Registration: Register these URLs with the respective platform's webhook configuration