What are Mailchimp address fields, and how do they work?
Mailchimp address fields are special nested fields designed to capture full address details. These fields are not standalone; instead, they are structured in a nested format like `ADDRESS.addr1`, `ADDRESS.city`, `ADDRESS.state`, `ADDRESS.zip`, and `ADDRESS.country`.
When populating these fields, you must provide values for `addr1`, `city`, `state`, and `zip`. If the country field is not specified, it defaults to the USA.
You can create your own custom address fields, such as `MMERGE5`, `MMERGE6`, etc. If these custom fields use a Mailchimp text data type, they won’t follow the nested field restrictions. However, if you use a Mailchimp address data type, the same restrictions will apply, requiring all nested fields (`addr1`, `city`, `state`, `zip`) to be populated.
If you do not provide all the required fields (`addr1`, `city`, `state`, `zip`) for a Mailchimp address data type, the default values may be assumed, or the entry might be considered incomplete, which could lead to errors or default values being used (e.g., defaulting the country to the USA).
If you do see an error ensure that all required nested fields are populated and properly formatted. If you continue to face issues, consider using custom text fields if the nested field restrictions do not fit your needs, or contact Mailchimp support for assistance.
When populating these fields, you must provide values for `addr1`, `city`, `state`, and `zip`. If the country field is not specified, it defaults to the USA.
You can create your own custom address fields, such as `MMERGE5`, `MMERGE6`, etc. If these custom fields use a Mailchimp text data type, they won’t follow the nested field restrictions. However, if you use a Mailchimp address data type, the same restrictions will apply, requiring all nested fields (`addr1`, `city`, `state`, `zip`) to be populated.
If you do not provide all the required fields (`addr1`, `city`, `state`, `zip`) for a Mailchimp address data type, the default values may be assumed, or the entry might be considered incomplete, which could lead to errors or default values being used (e.g., defaulting the country to the USA).
If you do see an error ensure that all required nested fields are populated and properly formatted. If you continue to face issues, consider using custom text fields if the nested field restrictions do not fit your needs, or contact Mailchimp support for assistance.
Related Articles