Mailchimp · Capability

Mailchimp Marketing API — Customers

Mailchimp Marketing API — Customers. 7 operations. Lead operation: Mailchimp Customer Journeys Api Trigger for a Contact. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpCustomers

What You Can Do

POST
Postcustomerjourneysjourneysidstepsidactionstrigger — Mailchimp Customer Journeys Api Trigger for a Contact
/v1/customer-journeys/journeys/{journey-id}/steps/{step-id}/actions/trigger
GET
Getecommercestoresidcustomers — Mailchimp List Customers
/v1/ecommerce/stores/{store-id}/customers
POST
Postecommercestoresidcustomers — Mailchimp Add Customer
/v1/ecommerce/stores/{store-id}/customers
GET
Getecommercestoresidcustomersid — Mailchimp Get Customer Info
/v1/ecommerce/stores/{store-id}/customers/{customer-id}
PUT
Putecommercestoresidcustomersid — Mailchimp Add or Update Customer
/v1/ecommerce/stores/{store-id}/customers/{customer-id}
PATCH
Patchecommercestoresidcustomersid — Mailchimp Update Customer
/v1/ecommerce/stores/{store-id}/customers/{customer-id}
DELETE
Deleteecommercestoresidcustomersid — Mailchimp Delete Customer
/v1/ecommerce/stores/{store-id}/customers/{customer-id}

MCP Tools

mailchimp-customer-journeys-api-trigger

Mailchimp Customer Journeys Api Trigger for a Contact

mailchimp-list-customers

Mailchimp List Customers

read-only idempotent
mailchimp-add-customer

Mailchimp Add Customer

mailchimp-get-customer-info

Mailchimp Get Customer Info

read-only idempotent
mailchimp-add-update-customer

Mailchimp Add or Update Customer

idempotent
mailchimp-update-customer

Mailchimp Update Customer

idempotent
mailchimp-delete-customer

Mailchimp Delete Customer

idempotent

Capability Spec

marketing-customers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailchimp Marketing API  — Customers
  description: 'Mailchimp Marketing API  — Customers. 7 operations. Lead operation: Mailchimp Customer Journeys Api Trigger
    for a Contact. Self-contained Naftiko capability covering one Mailchimp business surface.'
  tags:
  - Mailchimp
  - Customers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-customers
    baseUri: https://server.api.mailchimp.com/3.0
    description: Mailchimp Marketing API  — Customers business capability. Self-contained, no shared references.
    resources:
    - name: customer-journeys-journeys-journey_id-steps-step_id-actions-trigger
      path: /customer-journeys/journeys/{journey_id}/steps/{step_id}/actions/trigger
      operations:
      - name: postcustomerjourneysjourneysidstepsidactionstrigger
        method: POST
        description: Mailchimp Customer Journeys Api Trigger for a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: journey_id
          in: path
          type: integer
          description: The id for the Journey.
          required: true
        - name: step_id
          in: path
          type: integer
          description: The id for the Step.
          required: true
        - name: body
          in: body
          type: object
          required: true
    - name: ecommerce-stores-store_id-customers
      path: /ecommerce/stores/{store_id}/customers
      operations:
      - name: getecommercestoresidcustomers
        method: GET
        description: Mailchimp List Customers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
        - name: exclude_fields
          in: query
          type: array
          description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
        - name: count
          in: query
          type: integer
          description: The number of records to return. Default value is 10. Maximum value is 1000
        - name: offset
          in: query
          type: integer
          description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination),
            this it the number of records from a collection to skip. D
        - name: store_id
          in: path
          type: string
          description: The store id.
          required: true
        - name: email_address
          in: query
          type: string
          description: Restrict the response to customers with the email address.
      - name: postecommercestoresidcustomers
        method: POST
        description: Mailchimp Add Customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: store_id
          in: path
          type: string
          description: The store id.
          required: true
        - name: body
          in: body
          type: object
          required: true
    - name: ecommerce-stores-store_id-customers-customer_id
      path: /ecommerce/stores/{store_id}/customers/{customer_id}
      operations:
      - name: getecommercestoresidcustomersid
        method: GET
        description: Mailchimp Get Customer Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
        - name: exclude_fields
          in: query
          type: array
          description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
        - name: store_id
          in: path
          type: string
          description: The store id.
          required: true
        - name: customer_id
          in: path
          type: string
          description: The id for the customer of a store.
          required: true
      - name: putecommercestoresidcustomersid
        method: PUT
        description: Mailchimp Add or Update Customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: store_id
          in: path
          type: string
          description: The store id.
          required: true
        - name: customer_id
          in: path
          type: string
          description: The id for the customer of a store.
          required: true
        - name: body
          in: body
          type: object
          required: true
      - name: patchecommercestoresidcustomersid
        method: PATCH
        description: Mailchimp Update Customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: store_id
          in: path
          type: string
          description: The store id.
          required: true
        - name: customer_id
          in: path
          type: string
          description: The id for the customer of a store.
          required: true
        - name: body
          in: body
          type: object
          required: true
      - name: deleteecommercestoresidcustomersid
        method: DELETE
        description: Mailchimp Delete Customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: store_id
          in: path
          type: string
          description: The store id.
          required: true
        - name: customer_id
          in: path
          type: string
          description: The id for the customer of a store.
          required: true
  exposes:
  - type: rest
    namespace: marketing-customers-rest
    port: 8080
    description: REST adapter for Mailchimp Marketing API  — Customers. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/customer-journeys/journeys/{journey-id}/steps/{step-id}/actions/trigger
      name: customer-journeys-journeys-journey-id-steps-step-id-actions-trigger
      description: REST surface for customer-journeys-journeys-journey_id-steps-step_id-actions-trigger.
      operations:
      - method: POST
        name: postcustomerjourneysjourneysidstepsidactionstrigger
        description: Mailchimp Customer Journeys Api Trigger for a Contact
        call: marketing-customers.postcustomerjourneysjourneysidstepsidactionstrigger
        with:
          journey_id: rest.journey_id
          step_id: rest.step_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ecommerce/stores/{store-id}/customers
      name: ecommerce-stores-store-id-customers
      description: REST surface for ecommerce-stores-store_id-customers.
      operations:
      - method: GET
        name: getecommercestoresidcustomers
        description: Mailchimp List Customers
        call: marketing-customers.getecommercestoresidcustomers
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          count: rest.count
          offset: rest.offset
          store_id: rest.store_id
          email_address: rest.email_address
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postecommercestoresidcustomers
        description: Mailchimp Add Customer
        call: marketing-customers.postecommercestoresidcustomers
        with:
          store_id: rest.store_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ecommerce/stores/{store-id}/customers/{customer-id}
      name: ecommerce-stores-store-id-customers-customer-id
      description: REST surface for ecommerce-stores-store_id-customers-customer_id.
      operations:
      - method: GET
        name: getecommercestoresidcustomersid
        description: Mailchimp Get Customer Info
        call: marketing-customers.getecommercestoresidcustomersid
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          store_id: rest.store_id
          customer_id: rest.customer_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putecommercestoresidcustomersid
        description: Mailchimp Add or Update Customer
        call: marketing-customers.putecommercestoresidcustomersid
        with:
          store_id: rest.store_id
          customer_id: rest.customer_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchecommercestoresidcustomersid
        description: Mailchimp Update Customer
        call: marketing-customers.patchecommercestoresidcustomersid
        with:
          store_id: rest.store_id
          customer_id: rest.customer_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteecommercestoresidcustomersid
        description: Mailchimp Delete Customer
        call: marketing-customers.deleteecommercestoresidcustomersid
        with:
          store_id: rest.store_id
          customer_id: rest.customer_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-customers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mailchimp Marketing API  — Customers. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: mailchimp-customer-journeys-api-trigger
      description: Mailchimp Customer Journeys Api Trigger for a Contact
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-customers.postcustomerjourneysjourneysidstepsidactionstrigger
      with:
        journey_id: tools.journey_id
        step_id: tools.step_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-list-customers
      description: Mailchimp List Customers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-customers.getecommercestoresidcustomers
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        count: tools.count
        offset: tools.offset
        store_id: tools.store_id
        email_address: tools.email_address
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-add-customer
      description: Mailchimp Add Customer
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-customers.postecommercestoresidcustomers
      with:
        store_id: tools.store_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-get-customer-info
      description: Mailchimp Get Customer Info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-customers.getecommercestoresidcustomersid
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        store_id: tools.store_id
        customer_id: tools.customer_id
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-add-update-customer
      description: Mailchimp Add or Update Customer
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: marketing-customers.putecommercestoresidcustomersid
      with:
        store_id: tools.store_id
        customer_id: tools.customer_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-update-customer
      description: Mailchimp Update Customer
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: marketing-customers.patchecommercestoresidcustomersid
      with:
        store_id: tools.store_id
        customer_id: tools.customer_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-delete-customer
      description: Mailchimp Delete Customer
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: marketing-customers.deleteecommercestoresidcustomersid
      with:
        store_id: tools.store_id
        customer_id: tools.customer_id
      outputParameters:
      - type: object
        mapping: $.