Mailchimp Developer LogoMailchimp Developer Wordmark
July 22, 2021

Open Details reporting now handles query parameters correctly

Marketing

What

Previously, when using the /reports/{campaign_id}/open-details/ endpoint within a batch operation, you could get an Unknown 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

    Marketing

    What

    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": "[email protected] is an invalid email address and cannot be imported.", }

  • July 14, 2021

    List carts returns the created and updated date

    Marketing

    What

    List carts now returns the created_at and updated_at dates for each cart.

    Why

    We had a bug where created_at and updated_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

    Marketing

    What

    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

    Marketing

    What

    We updated the description for the List response’s visibility property, and removed visibility 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

    Marketing

    What

    Improperly formatted JSON request bodies will return a 400 status with details about the parsing error in the detail 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.

  • May 18, 2021

    Full name added to member responses

    Marketing

    What

    A full_name property was added to the response anywhere that members are returned.

    Why

    Previously, to determine a member’s name, you needed to look at the merge fields. Although FNAME and LNAME are the default merge tags for names, they can be changed. The full_name property makes a best effort to provide the full name using common merge tags.

  • May 10, 2021

    Stability improvements to API batch jobs

    Marketing

    What

    We improved our timeout and retry logic when uploading API batch job operations and results to S3.

    Why

    We use S3 to store operations and results for API batch jobs. We weren’t handling timeouts when communicating with S3 as well as we could have; these fixes will improve reliability and throughput of our API batch jobs.