naftiko: 1.0.0-alpha2 info: label: Mailchimp Marketing API — Ecommerce description: 'Mailchimp Marketing API — Ecommerce. 29 operations. Lead operation: Mailchimp Get Store Info. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Ecommerce created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: marketing-ecommerce baseUri: https://server.api.mailchimp.com/3.0 description: Mailchimp Marketing API — Ecommerce business capability. Self-contained, no shared references. resources: - name: ecommerce-stores-store_id path: /ecommerce/stores/{store_id} operations: - name: getecommercestoresid method: GET description: Mailchimp Get Store 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: patchecommercestoresid method: PATCH description: Mailchimp Update Store 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: deleteecommercestoresid method: DELETE description: Mailchimp Delete Store outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: ecommerce-stores-store_id-carts-cart_id path: /ecommerce/stores/{store_id}/carts/{cart_id} operations: - name: getecommercestoresidcartsid method: GET description: Mailchimp Get Cart 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: cart_id in: path type: string description: The id for the cart. required: true - name: patchecommercestoresidcartsid method: PATCH description: Mailchimp Update Cart outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: cart_id in: path type: string description: The id for the cart. required: true - name: body in: body type: object required: true - name: deleteecommercestoresidcartsid method: DELETE description: Mailchimp Delete Cart outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: cart_id in: path type: string description: The id for the cart. required: true - name: ecommerce-stores-store_id-carts-cart_id-lines-line_id path: /ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id} operations: - name: getecommercestoresidcartsidlinesid method: GET description: Mailchimp Get Cart Line Item 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: cart_id in: path type: string description: The id for the cart. required: true - name: line_id in: path type: string description: The id for the line item of a cart. required: true - name: patchecommercestoresidcartsidlinesid method: PATCH description: Mailchimp Update Cart Line Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: cart_id in: path type: string description: The id for the cart. required: true - name: line_id in: path type: string description: The id for the line item of a cart. required: true - name: body in: body type: object required: true - name: deleteecommercestoresidcartslinesid method: DELETE description: Mailchimp Delete Cart Line Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: cart_id in: path type: string description: The id for the cart. required: true - name: line_id in: path type: string description: The id for the line item of a cart. 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 - name: ecommerce-stores-store_id-orders-order_id-lines-line_id path: /ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id} operations: - name: getecommercestoresidordersidlinesid method: GET description: Mailchimp Get Order Line Item 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: order_id in: path type: string description: The id for the order in a store. required: true - name: line_id in: path type: string description: The id for the line item of an order. required: true - name: patchecommercestoresidordersidlinesid method: PATCH description: Mailchimp Update Order Line Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: order_id in: path type: string description: The id for the order in a store. required: true - name: line_id in: path type: string description: The id for the line item of an order. required: true - name: body in: body type: object required: true - name: deleteecommercestoresidordersidlinesid method: DELETE description: Mailchimp Delete Order Line Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: order_id in: path type: string description: The id for the order in a store. required: true - name: line_id in: path type: string description: The id for the line item of an order. required: true - name: ecommerce-stores-store_id-products-product_id-images-image_id path: /ecommerce/stores/{store_id}/products/{product_id}/images/{image_id} operations: - name: getecommercestoresidproductsidimagesid method: GET description: Mailchimp Get Product Image 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: product_id in: path type: string description: The id for the product of a store. required: true - name: image_id in: path type: string description: The id for the product image. required: true - name: patchecommercestoresidproductsidimagesid method: PATCH description: Mailchimp Update Product Image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: image_id in: path type: string description: The id for the product image. required: true - name: body in: body type: object required: true - name: deleteecommercestoresidproductsidimagesid method: DELETE description: Mailchimp Delete Product Image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: image_id in: path type: string description: The id for the product image. required: true - name: ecommerce-stores-store_id-products-product_id-variants-variant_id path: /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} operations: - name: getecommercestoresidproductsidvariantsid method: GET description: Mailchimp Get Product Variant 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: product_id in: path type: string description: The id for the product of a store. required: true - name: variant_id in: path type: string description: The id for the product variant. required: true - name: putecommercestoresidproductsidvariantsid method: PUT description: Mailchimp Add or Update Product Variant outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: variant_id in: path type: string description: The id for the product variant. required: true - name: body in: body type: object required: true - name: patchecommercestoresidproductsidvariantsid method: PATCH description: Mailchimp Update Product Variant outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: variant_id in: path type: string description: The id for the product variant. required: true - name: body in: body type: object required: true - name: deleteecommercestoresidproductsidvariantsid method: DELETE description: Mailchimp Delete Product Variant outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: product_id in: path type: string description: The id for the product of a store. required: true - name: variant_id in: path type: string description: The id for the product variant. required: true - name: ecommerce-stores-store_id-promo-rules-promo_rule_id path: /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id} operations: - name: getecommercestoresidpromorulesid method: GET description: Mailchimp Get Promo Rule 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: promo_rule_id in: path type: string description: The id for the promo rule of a store. required: true - name: patchecommercestoresidpromorulesid method: PATCH description: Mailchimp Update Promo Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: promo_rule_id in: path type: string description: The id for the promo rule of a store. required: true - name: body in: body type: object required: true - name: deleteecommercestoresidpromorulesid method: DELETE description: Mailchimp Delete Promo Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: promo_rule_id in: path type: string description: The id for the promo rule of a store. required: true - name: ecommerce-stores-store_id-promo-rules-promo_rule_id-promo-codes path: /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes operations: - name: getecommercestoresidpromocodes method: GET description: Mailchimp List Promo Codes 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: promo_rule_id in: path type: string description: The id for the promo rule of a store. required: true - name: store_id in: path type: string description: The store id. required: true - name: postecommercestoresidpromocodes method: POST description: Mailchimp Add Promo Code outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: store_id in: path type: string description: The store id. required: true - name: promo_rule_id in: path type: string description: The id for the promo rule of a store. required: true - name: body in: body type: object required: true - name: reports-campaign_id-ecommerce-product-activity path: /reports/{campaign_id}/ecommerce-product-activity operations: - name: getreportsidecommerceproductactivity method: GET description: Mailchimp List Campaign Product Activity 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: campaign_id in: path type: string description: The unique id for the campaign. required: true - name: sort_field in: query type: string description: Returns files sorted by the specified field. exposes: - type: rest namespace: marketing-ecommerce-rest port: 8080 description: REST adapter for Mailchimp Marketing API — Ecommerce. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ecommerce/stores/{store-id} name: ecommerce-stores-store-id description: REST surface for ecommerce-stores-store_id. operations: - method: GET name: getecommercestoresid description: Mailchimp Get Store Info call: marketing-ecommerce.getecommercestoresid with: fields: rest.fields exclude_fields: rest.exclude_fields store_id: rest.store_id outputParameters: - type: object mapping: $. - method: PATCH name: patchecommercestoresid description: Mailchimp Update Store call: marketing-ecommerce.patchecommercestoresid with: store_id: rest.store_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteecommercestoresid description: Mailchimp Delete Store call: marketing-ecommerce.deleteecommercestoresid with: store_id: rest.store_id outputParameters: - type: object mapping: $. - path: /v1/ecommerce/stores/{store-id}/carts/{cart-id} name: ecommerce-stores-store-id-carts-cart-id description: REST surface for ecommerce-stores-store_id-carts-cart_id. operations: - method: GET name: getecommercestoresidcartsid description: Mailchimp Get Cart Info call: marketing-ecommerce.getecommercestoresidcartsid with: fields: rest.fields exclude_fields: rest.exclude_fields store_id: rest.store_id cart_id: rest.cart_id outputParameters: - type: object mapping: $. - method: PATCH name: patchecommercestoresidcartsid description: Mailchimp Update Cart call: marketing-ecommerce.patchecommercestoresidcartsid with: store_id: rest.store_id cart_id: rest.cart_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteecommercestoresidcartsid description: Mailchimp Delete Cart call: marketing-ecommerce.deleteecommercestoresidcartsid with: store_id: rest.store_id cart_id: rest.cart_id outputParameters: - type: object mapping: $. - path: /v1/ecommerce/stores/{store-id}/carts/{cart-id}/lines/{line-id} name: ecommerce-stores-store-id-carts-cart-id-lines-line-id description: REST surface for ecommerce-stores-store_id-carts-cart_id-lines-line_id. operations: - method: GET name: getecommercestoresidcartsidlinesid description: Mailchimp Get Cart Line Item call: marketing-ecommerce.getecommercestoresidcartsidlinesid with: fields: rest.fields exclude_fields: rest.exclude_fields store_id: rest.store_id cart_id: rest.cart_id line_id: rest.line_id outputParameters: - type: object mapping: $. - method: PATCH name: patchecommercestoresidcartsidlinesid description: Mailchimp Update Cart Line Item call: marketing-ecommerce.patchecommercestoresidcartsidlinesid with: store_id: rest.store_id cart_id: rest.cart_id line_id: rest.line_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteecommercestoresidcartslinesid description: Mailchimp Delete Cart Line Item call: marketing-ecommerce.deleteecommercestoresidcartslinesid with: store_id: rest.store_id cart_id: rest.cart_id line_id: rest.line_id 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-ecommerce.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-ecommerce.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-ecommerce.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-ecommerce.deleteecommercestoresidcustomersid with: store_id: rest.store_id customer_id: rest.customer_id outputParameters: - type: object mapping: $. - path: /v1/ecommerce/stores/{store-id}/orders/{order-id}/lines/{line-id} name: ecommerce-stores-store-id-orders-order-id-lines-line-id description: REST surface for ecommerce-stores-store_id-orders-order_id-lines-line_id. operations: - method: GET name: getecommercestoresidordersidlinesid description: Mailchimp Get Order Line Item call: marketing-ecommerce.getecommercestoresidordersidlinesid with: fields: rest.fields exclude_fields: rest.exclude_fields store_id: rest.store_id order_id: rest.order_id line_id: rest.line_id outputParameters: - type: object mapping: $. - method: PATCH name: patchecommercestoresidordersidlinesid description: Mailchimp Update Order Line Item call: marketing-ecommerce.patchecommercestoresidordersidlinesid with: store_id: rest.store_id order_id: rest.order_id line_id: rest.line_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteecommercestoresidordersidlinesid description: Mailchimp Delete Order Line Item call: marketing-ecommerce.deleteecommercestoresidordersidlinesid with: store_id: rest.store_id order_id: rest.order_id line_id: rest.line_id outputParameters: - type: object mapping: $. - path: /v1/ecommerce/stores/{store-id}/products/{product-id}/images/{image-id} name: ecommerce-stores-store-id-products-product-id-images-image-id description: REST surface for ecommerce-stores-store_id-products-product_id-images-image_id. operations: - method: GET name: getecommercestoresidproductsidimagesid description: Mailchimp Get Product Image Info call: marketing-ecommerce.getecommercestoresidproductsidimagesid with: fields: rest.fields exclude_fields: rest.exclude_fields store_id: rest.store_id product_id: rest.product_id image_id: rest.image_id outputParameters: - type: object mapping: $. - method: PATCH name: patchecommercestoresidproductsidimagesid description: Mailchimp Update Product Image call: marketing-ecommerce.patchecommercestoresidproductsidimagesid with: store_id: rest.store_id product_id: rest.product_id image_id: rest.image_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteecommercestoresidproductsidimagesid description: Mailchimp Delete Product Image call: marketing-ecommerce.deleteecommercestoresidproductsidimagesid with: store_id: rest.store_id product_id: rest.product_id image_id: rest.image_id outputParameters: - type: object mapping: $. - path: /v1/ecommerce/stores/{store-id}/products/{product-id}/variants/{variant-id} name: ecommerce-stores-store-id-products-product-id-variants-variant-id description: REST surface for ecommerce-stores-store_id-products-product_id-variants-variant_id. operations: - method: GET name: getecommercestoresidproductsidvariantsid description: Mailchimp Get Product Variant Info call: marketing-ecommerce.getecommercestoresidproductsidvariantsid with: fields: rest.fields exclude_fields: rest.exclude_fields store_id: rest.store_id product_id: rest.product_id variant_id: rest.variant_id outputParameters: - type: object mapping: $. - method: PUT name: putecommercestoresidproductsidvariantsid description: Mailchimp Add or Update Product Variant call: marketing-ecommerce.putecommercestoresidproductsidvariantsid with: store_id: rest.store_id product_id: rest.product_id variant_id: rest.variant_id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: patchecommercestoresidproductsidvariantsid description: Mailchimp Update Product Variant call: marketing-ecommerce.patchecommercestoresidproductsidvariantsid with: store_id: rest.store_id product_id: rest.product_id variant_id: rest.variant_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteecommercestoresidproductsidvariantsid description: Mailchimp Delete Product Variant call: marketing-ecommerce.deleteecommercestoresidproductsidvariantsid with: store_id: rest.store_id product_id: rest.product_id variant_id: rest.variant_id outputParameters: - type: object mapping: $. - path: /v1/ecommerce/stores/{store-id}/promo-rules/{promo-rule-id} name: ecommerce-stores-store-id-promo-rules-promo-rule-id description: REST surface for ecommerce-stores-store_id-promo-rules-promo_rule_id. operations: - method: GET name: getecommercestoresidpromorulesid description: Mailchimp Get Promo Rule call: marketing-ecommerce.getecommercestoresidpromorulesid with: fields: rest.fields exclude_fields: rest.exclude_fields store_id: rest.store_id promo_rule_id: rest.promo_rule_id outputParameters: - type: object mapping: $. - method: PATCH name: patchecommercestoresidpromorulesid description: Mailchimp Update Promo Rule call: marketing-ecommerce.patchecommercestoresidpromorulesid with: store_id: rest.store_id promo_rule_id: rest.promo_rule_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteecommercestoresidpromorulesid description: Mailchimp Delete Promo Rule call: marketing-ecommerce.deleteecommercestoresidpromorulesid with: store_id: rest.store_id promo_rule_id: rest.promo_rule_id outputParameters: - type: object mapping: $. - path: /v1/ecommerce/stores/{store-id}/promo-rules/{promo-rule-id}/promo-codes name: ecommerce-stores-store-id-promo-rules-promo-rule-id-promo-codes description: REST surface for ecommerce-stores-store_id-promo-rules-promo_rule_id-promo-codes. operations: - method: GET name: getecommercestoresidpromocodes description: Mailchimp List Promo Codes call: marketing-ecommerce.getecommercestoresidpromocodes with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset promo_rule_id: rest.promo_rule_id store_id: rest.store_id outputParameters: - type: object mapping: $. - method: POST name: postecommercestoresidpromocodes description: Mailchimp Add Promo Code call: marketing-ecommerce.postecommercestoresidpromocodes with: store_id: rest.store_id promo_rule_id: rest.promo_rule_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/reports/{campaign-id}/ecommerce-product-activity name: reports-campaign-id-ecommerce-product-activity description: REST surface for reports-campaign_id-ecommerce-product-activity. operations: - method: GET name: getreportsidecommerceproductactivity description: Mailchimp List Campaign Product Activity call: marketing-ecommerce.getreportsidecommerceproductactivity with: fields: rest.fields exclude_fields: rest.exclude_fields count: rest.count offset: rest.offset campaign_id: rest.campaign_id sort_field: rest.sort_field outputParameters: - type: object mapping: $. - type: mcp namespace: marketing-ecommerce-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Marketing API — Ecommerce. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-get-store-info description: Mailchimp Get Store Info hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getecommercestoresid with: fields: tools.fields exclude_fields: tools.exclude_fields store_id: tools.store_id outputParameters: - type: object mapping: $. - name: mailchimp-update-store description: Mailchimp Update Store hints: readOnly: false destructive: false idempotent: true call: marketing-ecommerce.patchecommercestoresid with: store_id: tools.store_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-store description: Mailchimp Delete Store hints: readOnly: false destructive: true idempotent: true call: marketing-ecommerce.deleteecommercestoresid with: store_id: tools.store_id outputParameters: - type: object mapping: $. - name: mailchimp-get-cart-info description: Mailchimp Get Cart Info hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getecommercestoresidcartsid with: fields: tools.fields exclude_fields: tools.exclude_fields store_id: tools.store_id cart_id: tools.cart_id outputParameters: - type: object mapping: $. - name: mailchimp-update-cart description: Mailchimp Update Cart hints: readOnly: false destructive: false idempotent: true call: marketing-ecommerce.patchecommercestoresidcartsid with: store_id: tools.store_id cart_id: tools.cart_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-cart description: Mailchimp Delete Cart hints: readOnly: false destructive: true idempotent: true call: marketing-ecommerce.deleteecommercestoresidcartsid with: store_id: tools.store_id cart_id: tools.cart_id outputParameters: - type: object mapping: $. - name: mailchimp-get-cart-line-item description: Mailchimp Get Cart Line Item hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getecommercestoresidcartsidlinesid with: fields: tools.fields exclude_fields: tools.exclude_fields store_id: tools.store_id cart_id: tools.cart_id line_id: tools.line_id outputParameters: - type: object mapping: $. - name: mailchimp-update-cart-line-item description: Mailchimp Update Cart Line Item hints: readOnly: false destructive: false idempotent: true call: marketing-ecommerce.patchecommercestoresidcartsidlinesid with: store_id: tools.store_id cart_id: tools.cart_id line_id: tools.line_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-cart-line-item description: Mailchimp Delete Cart Line Item hints: readOnly: false destructive: true idempotent: true call: marketing-ecommerce.deleteecommercestoresidcartslinesid with: store_id: tools.store_id cart_id: tools.cart_id line_id: tools.line_id outputParameters: - type: object mapping: $. - name: mailchimp-get-customer-info description: Mailchimp Get Customer Info hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.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-ecommerce.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-ecommerce.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-ecommerce.deleteecommercestoresidcustomersid with: store_id: tools.store_id customer_id: tools.customer_id outputParameters: - type: object mapping: $. - name: mailchimp-get-order-line-item description: Mailchimp Get Order Line Item hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getecommercestoresidordersidlinesid with: fields: tools.fields exclude_fields: tools.exclude_fields store_id: tools.store_id order_id: tools.order_id line_id: tools.line_id outputParameters: - type: object mapping: $. - name: mailchimp-update-order-line-item description: Mailchimp Update Order Line Item hints: readOnly: false destructive: false idempotent: true call: marketing-ecommerce.patchecommercestoresidordersidlinesid with: store_id: tools.store_id order_id: tools.order_id line_id: tools.line_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-order-line-item description: Mailchimp Delete Order Line Item hints: readOnly: false destructive: true idempotent: true call: marketing-ecommerce.deleteecommercestoresidordersidlinesid with: store_id: tools.store_id order_id: tools.order_id line_id: tools.line_id outputParameters: - type: object mapping: $. - name: mailchimp-get-product-image-info description: Mailchimp Get Product Image Info hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getecommercestoresidproductsidimagesid with: fields: tools.fields exclude_fields: tools.exclude_fields store_id: tools.store_id product_id: tools.product_id image_id: tools.image_id outputParameters: - type: object mapping: $. - name: mailchimp-update-product-image description: Mailchimp Update Product Image hints: readOnly: false destructive: false idempotent: true call: marketing-ecommerce.patchecommercestoresidproductsidimagesid with: store_id: tools.store_id product_id: tools.product_id image_id: tools.image_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-product-image description: Mailchimp Delete Product Image hints: readOnly: false destructive: true idempotent: true call: marketing-ecommerce.deleteecommercestoresidproductsidimagesid with: store_id: tools.store_id product_id: tools.product_id image_id: tools.image_id outputParameters: - type: object mapping: $. - name: mailchimp-get-product-variant-info description: Mailchimp Get Product Variant Info hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getecommercestoresidproductsidvariantsid with: fields: tools.fields exclude_fields: tools.exclude_fields store_id: tools.store_id product_id: tools.product_id variant_id: tools.variant_id outputParameters: - type: object mapping: $. - name: mailchimp-add-update-product-variant description: Mailchimp Add or Update Product Variant hints: readOnly: false destructive: false idempotent: true call: marketing-ecommerce.putecommercestoresidproductsidvariantsid with: store_id: tools.store_id product_id: tools.product_id variant_id: tools.variant_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-update-product-variant description: Mailchimp Update Product Variant hints: readOnly: false destructive: false idempotent: true call: marketing-ecommerce.patchecommercestoresidproductsidvariantsid with: store_id: tools.store_id product_id: tools.product_id variant_id: tools.variant_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-product-variant description: Mailchimp Delete Product Variant hints: readOnly: false destructive: true idempotent: true call: marketing-ecommerce.deleteecommercestoresidproductsidvariantsid with: store_id: tools.store_id product_id: tools.product_id variant_id: tools.variant_id outputParameters: - type: object mapping: $. - name: mailchimp-get-promo-rule description: Mailchimp Get Promo Rule hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getecommercestoresidpromorulesid with: fields: tools.fields exclude_fields: tools.exclude_fields store_id: tools.store_id promo_rule_id: tools.promo_rule_id outputParameters: - type: object mapping: $. - name: mailchimp-update-promo-rule description: Mailchimp Update Promo Rule hints: readOnly: false destructive: false idempotent: true call: marketing-ecommerce.patchecommercestoresidpromorulesid with: store_id: tools.store_id promo_rule_id: tools.promo_rule_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-delete-promo-rule description: Mailchimp Delete Promo Rule hints: readOnly: false destructive: true idempotent: true call: marketing-ecommerce.deleteecommercestoresidpromorulesid with: store_id: tools.store_id promo_rule_id: tools.promo_rule_id outputParameters: - type: object mapping: $. - name: mailchimp-list-promo-codes description: Mailchimp List Promo Codes hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getecommercestoresidpromocodes with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset promo_rule_id: tools.promo_rule_id store_id: tools.store_id outputParameters: - type: object mapping: $. - name: mailchimp-add-promo-code description: Mailchimp Add Promo Code hints: readOnly: false destructive: false idempotent: false call: marketing-ecommerce.postecommercestoresidpromocodes with: store_id: tools.store_id promo_rule_id: tools.promo_rule_id body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-list-campaign-product-activity description: Mailchimp List Campaign Product Activity hints: readOnly: true destructive: false idempotent: true call: marketing-ecommerce.getreportsidecommerceproductactivity with: fields: tools.fields exclude_fields: tools.exclude_fields count: tools.count offset: tools.offset campaign_id: tools.campaign_id sort_field: tools.sort_field outputParameters: - type: object mapping: $.