Messaging Automations API, satıcıların alıcılardan gelen mesajlara verilen otomatik yanıtları programatik olarak yapılandırmasını sağlar. Kargo, iade, ürün detayları gibi sık sorulan sorulara belirlenen koşullar karşılandığında sistem otomatik olarak yanıt verir.
| Operasyon | Method | Endpoint | Açıklama |
|---|---|---|---|
| createAutomationConfiguration | POST | /messaging/2026-04-20/automationConfigurations | Yeni otomasyon konfigürasyonu oluşturur |
| listAutomationConfigurations | GET | /messaging/2026-04-20/automationConfigurations | Tüm konfigürasyonları listeler |
| getAutomationConfiguration | GET | /messaging/2026-04-20/automationConfigurations/{automationId} | Belirli bir konfigürasyonun detaylarını getirir |
| updateAutomationConfiguration | PUT | /messaging/2026-04-20/automationConfigurations/{automationId} | Mevcut konfigürasyonu günceller veya deaktive eder |
AutomationConfiguration
Bir satıcının otomatik yanıt konfigürasyonunu temsil eden üst nesnedir.
MarketplaceAutomation
Her mağaza için ayrı ayrı tanımlanan yanıt içeriği ve tetikleyici koşulların bulunduğu nesnedir.
AutomationDetails
TriggerConditions
Tüm koşullar AND mantığıyla birlikte değerlendirilir. Liste tabanlı alanlarda (asinList, buyerContactTopics) herhangi bir eşleşme OR mantığıyla yeterlidir.
buyerContactTopics Değerleri:
buyerContactType Değerleri:
automationStatus Değerleri
Request Body ve Response'lar
1. Otomasyon Konfigürasyonu Oluşturma
{
"automationDisplayName": "Tatil Dönemi Otomatik Yanıt",
"automationType": "AUTO_RESPONSE",
"automationSubType": "AUTO_RESPONSE",
"marketplaceAutomations": [
{
"marketplaceId": "ATVPDKIKX0DER",
"automationDetails": {
"autoResponseText": "Mesajınız için teşekkür ederiz. Genellikle 24 saat içinde yanıt veriyoruz."
},
"triggerConditions": {
"asinList": [
"B07F6271HL",
"B07X3XLYS3"
],
"buyerContactTopics": [
"SHIPPING",
"WHERES_MY_STUFF"
],
"buyerContactType": "ANY"
}
}
]
}
{
"automationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"automationType": "AUTO_RESPONSE",
"automationSubType": "AUTO_RESPONSE",
"automationStatus": "ACTIVE",
"automationDisplayName": "Tatil Dönemi Otomatik Yanıt",
"currentAutomationVersion": 1,
"latestAutomationVersion": 1,
"createdDateTime": "2026-04-20T14:30:00Z",
"lastUpdatedDateTime": "2026-04-20T14:30:00Z"
}
{
"errors": [
{
"code": "Conflict",
"message": "An active configuration with the same trigger conditions already exists."
}
]
}
2. Otomasyon Konfigürasyonunu Getir (Toplu)
GET https://sellingpartnerapi-eu.amazon.com/messaging/2026-04-20/automationConfigurations?marketplaceIds=A33AVAJ2PDY3EV&includeMarketplaceAutomations=TRUE{
"automationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"automationType": "AUTO_RESPONSE",
"automationStatus": "ACTIVE",
"automationDisplayName": "Tatil Dönemi Otomatik Yanıt",
"currentAutomationVersion": 1,
"latestAutomationVersion": 1,
"marketplaceAutomations": [
{
"marketplaceId": "ATVPDKIKX0DER",
"automationDetails": {
"autoResponseText": "Mesajınız için teşekkür ederiz. Genellikle 24 saat içinde yanıt veriyoruz."
},
"triggerConditions": {
"asinList": [
"B07F6271HL",
"B07X3XLYS3"
],
"buyerContactTopics": [
"SHIPPING",
"WHERES_MY_STUFF"
],
"buyerContactType": "ANY"
}
}
],
"createdDateTime": "2026-04-20T14:30:00Z",
"lastUpdatedDateTime": "2026-04-20T14:30:00Z"
}
3. Tek Bir Otomasyonun Detayını Alma
https://sellingpartnerapi-eu.amazon.com//messaging/2026-04-20/automationConfigurations/{automationId}?marketplaceIds=A33AVAJ2PDY3EV' \
--header 'accept: application/json' \
--header 'x-amz-access-token: '4. Otomasyonu Güncelleme
https://sellingpartnerapi-eu.amazon.com/messaging/2026-04-20/automationConfigurations/01fd6ebd-b7ec-4ae9-beb1-7a3d99349bcb?marketplaceIds=A33AVAJ2PDY3EV' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-amz-access-token: ' \
--body '
{
"automationDisplayName": "Holiday Auto Response",
"automationStatus": "DEACTIVE",
"marketplaceAutomations": [
{
"marketplaceId": "A33AVAJ2PDY3EV",
"automationDetails": {
"autoResponseText": "Mesajınız için teşekkür ederiz. Genellikle 24 saat içinde yanıt veriyoruz"
},
"triggerConditions": {
"asinList": [
"B07F6271HL",
"B07X3XLYS3"
],
"buyerContactTopics": [
"SHIPPING",
"WHERES_MY_STUFF"
],
"buyerContactType": "ANY"
}
}
]
}
'{
"automationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"automationStatus": "DEACTIVATED",
"currentAutomationVersion": 2,
"latestAutomationVersion": 2,
"lastUpdatedDateTime": "2026-04-25T09:15:00Z"
}

