lists
Get merge field
Get information about a specific merge field.
get/3.0/lists/{list_id}/merge-fields/{merge_id}
Request
- Base URLhttps://api.mailchimp.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://login.mailchimp.com/oauth2/authorizeToken URLhttps://login.mailchimp.com/oauth2/token
- TypeScripthttps://skmtc.dev/mailchimp/apis/mailchimp-api/docs/3.0/lists/:list_id/merge-fields/:merge_id/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
list_idstring required
The unique ID for the list.
merge_idstring required
The id for the merge field.
Query parameters
exclude_fieldsstring[]
A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
fieldsstring[]
A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
Response
Example response
{
"merge_field_limit": 30,
"options": {
"choices": [
"First Choice",
"Second Choice",
"Third Choice"
]
},
"total_items": 28
}Changes
No recorded changes to this operation across all 1 revision of this API.