Full timestamp for bounces
What
Bounces returned from List Email Activity will have a full timestamp, and can be filtered with more granular timing using the since
parameter.
Why
Our bounces would return the day of the bounce in their timestamp, but no specific time information. We’ve fixed it so bounces return the detailed time.
- July 27, 2021Action Required
No longer redirecting HTTP requests
MarketingWhat
Previously, when an HTTP request was sent to the Marketing API, we redirect it to HTTPS. We’ve now stopped redirecting these requests and will instead return an HTTP 426 error code indicating the request needs to use HTTPS.
Users with affected API keys or Authorized Apps should have received an email about the change.
Why
Although the Marketing API only accepts HTTPS requests, providing a redirect meant it still supported sending an initial HTTP request that transmitted a user’s sensitive information in plaintext. Returning a 426 error with the appropriate message helps ensure integrations are sending their requests securely.
- July 22, 2021
Open Details reporting now handles query parameters correctly
MarketingWhat
Previously, when using the
/reports/{campaign_id}/open-details/
endpoint within a batch operation, you could get anUnknown Filter
error if you had more than 1,000 entries in the collection, or if you submitted query parameters other than since.Why
The endpoint was not correctly handling parameters, and would throw the
Unknown Filter
exception in cases when it should not. We removed this exceptional case, and will now ignore unexpected query parameters. Batch requests using this endpoint should now resolve successfully. - July 19, 2021
Descriptive errors when adding E-commerce customers
MarketingWhat
We’ve started providing more specific error messaging when adding or updating e-commerce customers.
Why
Previously, when managing e-commerce customers, the API would sometimes return a vague error with the message, “Your request could not be processed.”
We fixed these errors to be more actionable. The large majority are related to email validation and will look like:
{ "title": "Customer Was Not Saved", "status": 400, "detail": "invalid@gmaill.con is an invalid email address and cannot be imported.", }
- July 14, 2021
List carts returns the created and updated date
MarketingWhat
List carts now returns the
created_at
andupdated_at
dates for each cart.Why
We had a bug where
created_at
andupdated_at
were blank strings for each cart in the list of carts. - July 12, 2021
Fixed Get Campaign Info to return total clicks for parent automations and variates
MarketingWhat
We fixed a bug in the
report_summary
section of the individual campaigns endpoint for parent automation and variate campaigns. Previously, we reported 0 total clicks for those campaign types; now we will report the sum of clicks between the child campaigns.Why
This falls in line with the expected behavior elsewhere in the
report_summary
section for other stats (like opens). - June 3, 2021
Changes to List visibility
MarketingWhat
We updated the description for the List response’s
visibility
property, and removedvisibility
from the body parameters when adding and updating a list.Why
visibility
is a legacy setting, and no longer in use. Please note that although we removed it from documented body parameters, we’ll still accept it as a parameter. - May 19, 2021
Better JSON parsing errors
MarketingWhat
Improperly formatted JSON request bodies will return a
400
status with details about the parsing error in thedetail
field and a title of “JSON Parse Exception”.Why
We weren’t properly capturing parsing errors when handling API requests. Now that we do, we’re able to return more helpful details to the caller so that they can fix their requests.