Mailchimp · Capability
Mailchimp Marketing API — Products
Mailchimp Marketing API — Products. 16 operations. Lead operation: Mailchimp List Product. Self-contained Naftiko capability covering one Mailchimp business surface.
What You Can Do
GET
Getecommercestoresidproducts
— Mailchimp List Product
/v1/ecommerce/stores/{store-id}/products
POST
Postecommercestoresidproducts
— Mailchimp Add Product
/v1/ecommerce/stores/{store-id}/products
GET
Getecommercestoresidproductsid
— Mailchimp Get Product Info
/v1/ecommerce/stores/{store-id}/products/{product-id}
PATCH
Patchecommercestoresidproductsid
— Mailchimp Update Product
/v1/ecommerce/stores/{store-id}/products/{product-id}
DELETE
Deleteecommercestoresidproductsid
— Mailchimp Delete Product
/v1/ecommerce/stores/{store-id}/products/{product-id}
GET
Getecommercestoresidproductsidimages
— Mailchimp List Product Images
/v1/ecommerce/stores/{store-id}/products/{product-id}/images
POST
Postecommercestoresidproductsidimages
— Mailchimp Add Product Image
/v1/ecommerce/stores/{store-id}/products/{product-id}/images
GET
Getecommercestoresidproductsidimagesid
— Mailchimp Get Product Image Info
/v1/ecommerce/stores/{store-id}/products/{product-id}/images/{image-id}
PATCH
Patchecommercestoresidproductsidimagesid
— Mailchimp Update Product Image
/v1/ecommerce/stores/{store-id}/products/{product-id}/images/{image-id}
DELETE
Deleteecommercestoresidproductsidimagesid
— Mailchimp Delete Product Image
/v1/ecommerce/stores/{store-id}/products/{product-id}/images/{image-id}
GET
Getecommercestoresidproductsidvariants
— Mailchimp List Product Variants
/v1/ecommerce/stores/{store-id}/products/{product-id}/variants
POST
Postecommercestoresidproductsidvariants
— Mailchimp Add Product Variant
/v1/ecommerce/stores/{store-id}/products/{product-id}/variants
GET
Getecommercestoresidproductsidvariantsid
— Mailchimp Get Product Variant Info
/v1/ecommerce/stores/{store-id}/products/{product-id}/variants/{variant-id}
PUT
Putecommercestoresidproductsidvariantsid
— Mailchimp Add or Update Product Variant
/v1/ecommerce/stores/{store-id}/products/{product-id}/variants/{variant-id}
PATCH
Patchecommercestoresidproductsidvariantsid
— Mailchimp Update Product Variant
/v1/ecommerce/stores/{store-id}/products/{product-id}/variants/{variant-id}
DELETE
Deleteecommercestoresidproductsidvariantsid
— Mailchimp Delete Product Variant
/v1/ecommerce/stores/{store-id}/products/{product-id}/variants/{variant-id}
MCP Tools
mailchimp-list-product
Mailchimp List Product
read-only
idempotent
mailchimp-add-product
Mailchimp Add Product
mailchimp-get-product-info
Mailchimp Get Product Info
read-only
idempotent
mailchimp-update-product
Mailchimp Update Product
idempotent
mailchimp-delete-product
Mailchimp Delete Product
idempotent
mailchimp-list-product-images
Mailchimp List Product Images
read-only
idempotent
mailchimp-add-product-image
Mailchimp Add Product Image
mailchimp-get-product-image-info
Mailchimp Get Product Image Info
read-only
idempotent
mailchimp-update-product-image
Mailchimp Update Product Image
idempotent
mailchimp-delete-product-image
Mailchimp Delete Product Image
idempotent
mailchimp-list-product-variants
Mailchimp List Product Variants
read-only
idempotent
mailchimp-add-product-variant
Mailchimp Add Product Variant
mailchimp-get-product-variant-info
Mailchimp Get Product Variant Info
read-only
idempotent
mailchimp-add-update-product-variant
Mailchimp Add or Update Product Variant
idempotent
mailchimp-update-product-variant
Mailchimp Update Product Variant
idempotent
mailchimp-delete-product-variant
Mailchimp Delete Product Variant
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Mailchimp Marketing API — Products
description: 'Mailchimp Marketing API — Products. 16 operations. Lead operation: Mailchimp List Product. Self-contained
Naftiko capability covering one Mailchimp business surface.'
tags:
- Mailchimp
- Products
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
consumes:
- type: http
namespace: marketing-products
baseUri: https://server.api.mailchimp.com/3.0
description: Mailchimp Marketing API — Products business capability. Self-contained, no shared references.
resources:
- name: ecommerce-stores-store_id-products
path: /ecommerce/stores/{store_id}/products
operations:
- name: getecommercestoresidproducts
method: GET
description: Mailchimp List Product
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: postecommercestoresidproducts
method: POST
description: Mailchimp Add Product
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-products-product_id
path: /ecommerce/stores/{store_id}/products/{product_id}
operations:
- name: getecommercestoresidproductsid
method: GET
description: Mailchimp Get Product 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: patchecommercestoresidproductsid
method: PATCH
description: Mailchimp Update Product
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: body
in: body
type: object
required: true
- name: deleteecommercestoresidproductsid
method: DELETE
description: Mailchimp Delete Product
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: ecommerce-stores-store_id-products-product_id-images
path: /ecommerce/stores/{store_id}/products/{product_id}/images
operations:
- name: getecommercestoresidproductsidimages
method: GET
description: Mailchimp List Product Images
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: product_id
in: path
type: string
description: The id for the product of a store.
required: true
- name: postecommercestoresidproductsidimages
method: POST
description: Mailchimp Add 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: body
in: body
type: object
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
path: /ecommerce/stores/{store_id}/products/{product_id}/variants
operations:
- name: getecommercestoresidproductsidvariants
method: GET
description: Mailchimp List Product Variants
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: product_id
in: path
type: string
description: The id for the product of a store.
required: true
- name: postecommercestoresidproductsidvariants
method: POST
description: Mailchimp Add 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: body
in: body
type: object
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
exposes:
- type: rest
namespace: marketing-products-rest
port: 8080
description: REST adapter for Mailchimp Marketing API — Products. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/ecommerce/stores/{store-id}/products
name: ecommerce-stores-store-id-products
description: REST surface for ecommerce-stores-store_id-products.
operations:
- method: GET
name: getecommercestoresidproducts
description: Mailchimp List Product
call: marketing-products.getecommercestoresidproducts
with:
fields: rest.fields
exclude_fields: rest.exclude_fields
count: rest.count
offset: rest.offset
store_id: rest.store_id
outputParameters:
- type: object
mapping: $.
- method: POST
name: postecommercestoresidproducts
description: Mailchimp Add Product
call: marketing-products.postecommercestoresidproducts
with:
store_id: rest.store_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/ecommerce/stores/{store-id}/products/{product-id}
name: ecommerce-stores-store-id-products-product-id
description: REST surface for ecommerce-stores-store_id-products-product_id.
operations:
- method: GET
name: getecommercestoresidproductsid
description: Mailchimp Get Product Info
call: marketing-products.getecommercestoresidproductsid
with:
fields: rest.fields
exclude_fields: rest.exclude_fields
store_id: rest.store_id
product_id: rest.product_id
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: patchecommercestoresidproductsid
description: Mailchimp Update Product
call: marketing-products.patchecommercestoresidproductsid
with:
store_id: rest.store_id
product_id: rest.product_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deleteecommercestoresidproductsid
description: Mailchimp Delete Product
call: marketing-products.deleteecommercestoresidproductsid
with:
store_id: rest.store_id
product_id: rest.product_id
outputParameters:
- type: object
mapping: $.
- path: /v1/ecommerce/stores/{store-id}/products/{product-id}/images
name: ecommerce-stores-store-id-products-product-id-images
description: REST surface for ecommerce-stores-store_id-products-product_id-images.
operations:
- method: GET
name: getecommercestoresidproductsidimages
description: Mailchimp List Product Images
call: marketing-products.getecommercestoresidproductsidimages
with:
fields: rest.fields
exclude_fields: rest.exclude_fields
count: rest.count
offset: rest.offset
store_id: rest.store_id
product_id: rest.product_id
outputParameters:
- type: object
mapping: $.
- method: POST
name: postecommercestoresidproductsidimages
description: Mailchimp Add Product Image
call: marketing-products.postecommercestoresidproductsidimages
with:
store_id: rest.store_id
product_id: rest.product_id
body: rest.body
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-products.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-products.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-products.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
name: ecommerce-stores-store-id-products-product-id-variants
description: REST surface for ecommerce-stores-store_id-products-product_id-variants.
operations:
- method: GET
name: getecommercestoresidproductsidvariants
description: Mailchimp List Product Variants
call: marketing-products.getecommercestoresidproductsidvariants
with:
fields: rest.fields
exclude_fields: rest.exclude_fields
count: rest.count
offset: rest.offset
store_id: rest.store_id
product_id: rest.product_id
outputParameters:
- type: object
mapping: $.
- method: POST
name: postecommercestoresidproductsidvariants
description: Mailchimp Add Product Variant
call: marketing-products.postecommercestoresidproductsidvariants
with:
store_id: rest.store_id
product_id: rest.product_id
body: rest.body
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-products.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-products.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-products.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-products.deleteecommercestoresidproductsidvariantsid
with:
store_id: rest.store_id
product_id: rest.product_id
variant_id: rest.variant_id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: marketing-products-mcp
port: 9090
transport: http
description: MCP adapter for Mailchimp Marketing API — Products. One tool per consumed operation, routed inline through
this capability's consumes block.
tools:
- name: mailchimp-list-product
description: Mailchimp List Product
hints:
readOnly: true
destructive: false
idempotent: true
call: marketing-products.getecommercestoresidproducts
with:
fields: tools.fields
exclude_fields: tools.exclude_fields
count: tools.count
offset: tools.offset
store_id: tools.store_id
outputParameters:
- type: object
mapping: $.
- name: mailchimp-add-product
description: Mailchimp Add Product
hints:
readOnly: false
destructive: false
idempotent: false
call: marketing-products.postecommercestoresidproducts
with:
store_id: tools.store_id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: mailchimp-get-product-info
description: Mailchimp Get Product Info
hints:
readOnly: true
destructive: false
idempotent: true
call: marketing-products.getecommercestoresidproductsid
with:
fields: tools.fields
exclude_fields: tools.exclude_fields
store_id: tools.store_id
product_id: tools.product_id
outputParameters:
- type: object
mapping: $.
- name: mailchimp-update-product
description: Mailchimp Update Product
hints:
readOnly: false
destructive: false
idempotent: true
call: marketing-products.patchecommercestoresidproductsid
with:
store_id: tools.store_id
product_id: tools.product_id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: mailchimp-delete-product
description: Mailchimp Delete Product
hints:
readOnly: false
destructive: true
idempotent: true
call: marketing-products.deleteecommercestoresidproductsid
with:
store_id: tools.store_id
product_id: tools.product_id
outputParameters:
- type: object
mapping: $.
- name: mailchimp-list-product-images
description: Mailchimp List Product Images
hints:
readOnly: true
destructive: false
idempotent: true
call: marketing-products.getecommercestoresidproductsidimages
with:
fields: tools.fields
exclude_fields: tools.exclude_fields
count: tools.count
offset: tools.offset
store_id: tools.store_id
product_id: tools.product_id
outputParameters:
- type: object
mapping: $.
- name: mailchimp-add-product-image
description: Mailchimp Add Product Image
hints:
readOnly: false
destructive: false
idempotent: false
call: marketing-products.postecommercestoresidproductsidimages
with:
store_id: tools.store_id
product_id: tools.product_id
body: tools.body
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-products.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-products.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-products.deleteecommercestoresidproductsidimagesid
with:
store_id: tools.store_id
product_id: tools.product_id
image_id: tools.image_id
outputParameters:
- type: object
mapping: $.
- name: mailchimp-list-product-variants
description: Mailchimp List Product Variants
hints:
readOnly: true
destructive: false
idempotent: true
call: marketing-products.getecommercestoresidproductsidvariants
with:
fields: tools.fields
exclude_fields: tools.exclude_fields
count: tools.count
offset: tools.offset
store_id: tools.store_id
product_id: tools.product_id
outputParameters:
- type: object
mapping: $.
- name: mailchimp-add-product-variant
description: Mailchimp Add Product Variant
hints:
readOnly: false
destructive: false
idempotent: false
call: marketing-products.postecommercestoresidproductsidvariants
with:
store_id: tools.store_id
product_id: tools.product_id
body: tools.body
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-products.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-products.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-products.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-products.deleteecommercestoresidproductsidvariantsid
with:
store_id: tools.store_id
product_id: tools.product_id
variant_id: tools.variant_id
outputParameters:
- type: object
mapping: $.