Skip to content

Commit a87306b

Browse files
committed
Added a field to various responses when messages are queued
1 parent 1d6282c commit a87306b

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Transactional
44

5+
### 1.0.50
6+
* Added a response parameter to /messages/send and /messages/send-template called 'queued_response' that details why an email was queued.
7+
58
### 1.0.48
69
* Allowing users to schedule messages (using messages/send, messages/send-template, messages/send-raw and messages/reschedule APIs) within a year from the date of scheduling.
710

spec/transactional.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
},
178178
"swagger": "2.0",
179179
"info": {
180-
"version": "1.0.49",
180+
"version": "1.0.50",
181181
"title": "Mailchimp Transactional API",
182182
"contact": {
183183
"name": "API Support",
@@ -2988,6 +2988,19 @@
29882988
"rule"
29892989
]
29902990
},
2991+
"queued_reason": {
2992+
"type": "string",
2993+
"description": "the reason for the email being queued if the response status is \"queued\"",
2994+
"enum": [
2995+
"free-trial-sends-exhausted",
2996+
"hourly-quota-exhausted",
2997+
"monthly-limit-reached",
2998+
"sending-paused",
2999+
"sending-suspended",
3000+
"account-suspended",
3001+
"sending-backlogged"
3002+
]
3003+
},
29913004
"_id": {
29923005
"type": "string",
29933006
"description": "the message's unique id"
@@ -3376,6 +3389,19 @@
33763389
"rule"
33773390
]
33783391
},
3392+
"queued_reason": {
3393+
"type": "string",
3394+
"description": "the reason for the email being queued if the response status is \"queued\"",
3395+
"enum": [
3396+
"free-trial-sends-exhausted",
3397+
"hourly-quota-exhausted",
3398+
"monthly-limit-reached",
3399+
"sending-paused",
3400+
"sending-suspended",
3401+
"account-suspended",
3402+
"sending-backlogged"
3403+
]
3404+
},
33793405
"_id": {
33803406
"type": "string",
33813407
"description": "the message's unique id"

0 commit comments

Comments
 (0)