Skip to content

MT-22691: Contact lists & fields - #22

Merged
Lorenc326 merged 1 commit into
mainfrom
MT-22691-lists-fields
Jul 10, 2026
Merged

MT-22691: Contact lists & fields#22
Lorenc326 merged 1 commit into
mainfrom
MT-22691-lists-fields

Conversation

@Lorenc326

Copy link
Copy Markdown
Contributor

Motivation

Adds the contact metadata resources of the Email Marketing API to the Go SDK: contact lists and custom contact fields.

Changes

  • ContactLists (client.ContactLists): List / Get / Create / Update (rename) / Delete.
  • ContactFields (client.ContactFields): List / Get / Create / Update / Delete. data_type values are exposed as ContactFieldType* constants; the data type is immutable, so Update only takes name and merge tag.
  • httptest tests + examples/contact-lists + examples/contact-fields + README entries.

Field shapes and paths verified against the OpenAPI spec (contacts).

How to test

  • go test -race ./...
  • go vet ./...
  • golangci-lint run ./...

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 03959018-8b56-434b-9222-5d07ee0cd32d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Lorenc326 Lorenc326 changed the title MT-22691: Contact lists & fields MT-22691: Contact lists and fields Jul 9, 2026
@Lorenc326 Lorenc326 changed the title MT-22691: Contact lists and fields MT-22691: Contact lists & fields Jul 9, 2026
@Lorenc326
Lorenc326 force-pushed the MT-22691-contacts branch from 1929ea4 to b82c333 Compare July 10, 2026 10:35
@Lorenc326
Lorenc326 force-pushed the MT-22691-lists-fields branch from bee9cd2 to 6146f64 Compare July 10, 2026 10:49
Base automatically changed from MT-22691-contacts to main July 10, 2026 11:03
@Lorenc326
Lorenc326 merged commit 430a618 into main Jul 10, 2026
4 checks passed
@Lorenc326
Lorenc326 deleted the MT-22691-lists-fields branch July 10, 2026 12:37
@github-actions github-actions Bot mentioned this pull request Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants