/ecommerce/stores/{store_id}/products/{product_id}
Delete a product.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
An error generated by the Mailchimp API.
Empty Response
DELETE /ecommerce/stores/{store_id}/products/{product_id}
/ecommerce/stores/{store_id}/products/{product_id}
Get information about a specific product.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/products/{product_id}
/ecommerce/stores/{store_id}/products/{product_id}
Update a specific product.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
application/json
EcommerceUpdateProductRequest
| Property | Type | Required |
|---|---|---|
| url | string | optional |
| type | string | optional |
| title | string | optional |
| handle | string | optional |
| images | array | optional |
| └ id | string | optional |
| └ url | string | optional |
| └ variant_ids | array | optional |
| vendor | string | optional |
| variants | array | optional |
| └ sku | string | optional |
| └ url | string | optional |
| └ price | number | optional |
| └ title | string | optional |
| └ image_url | string | optional |
| └ backorders | string | optional |
| └ visibility | string | optional |
| └ inventory_quantity | integer | optional |
| image_url | string | optional |
| description | string | optional |
| published_at_foreign | string | optional |
An error generated by the Mailchimp API.
PATCH /ecommerce/stores/{store_id}/products/{product_id}
/ecommerce/stores/{store_id}/products/{product_id}/images
Get information about a product’s images.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/products/{product_id}/images
/ecommerce/stores/{store_id}/products/{product_id}/images
Add a new image to the product.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
application/json
EcommerceAddProductImageRequest
| Property | Type | Required |
|---|---|---|
| id | string | required |
| url | string | required |
| variant_ids | array | optional |
An error generated by the Mailchimp API.
POST /ecommerce/stores/{store_id}/products/{product_id}/images
/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}
Delete a product image.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
| image_id | path | required | string | The id for the product image. |
An error generated by the Mailchimp API.
Empty Response
DELETE /ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}
/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}
Get information about a specific product image.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
| image_id | path | required | string | The id for the product image. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}
/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}
Update a product image.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
| image_id | path | required | string | The id for the product image. |
application/json
EcommerceUpdateProductImageRequest
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| url | string | optional |
| variant_ids | array | optional |
An error generated by the Mailchimp API.
PATCH /ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}
/ecommerce/stores/{store_id}/products/{product_id}/variants
Get information about a product’s variants.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/products/{product_id}/variants
/ecommerce/stores/{store_id}/products/{product_id}/variants
Add a new variant to the product.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
application/json
EcommerceAddProductVariantRequest
| Property | Type | Required |
|---|---|---|
| id | string | required |
| sku | string | optional |
| url | string | optional |
| price | number | optional |
| title | string | required |
| image_url | string | optional |
| backorders | string | optional |
| visibility | string | optional |
| inventory_quantity | integer | optional |
An error generated by the Mailchimp API.
POST /ecommerce/stores/{store_id}/products/{product_id}/variants
/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}
Delete a product variant.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
| variant_id | path | required | string | The id for the product variant. |
An error generated by the Mailchimp API.
Empty Response
DELETE /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}
/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}
Get information about a specific product variant.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
| variant_id | path | required | string | The id for the product variant. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}
/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}
Update a product variant.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
| variant_id | path | required | string | The id for the product variant. |
application/json
EcommerceUpdateProductVariantRequest
| Property | Type | Required |
|---|---|---|
| sku | string | optional |
| url | string | optional |
| price | number | optional |
| title | string | optional |
| image_url | string | optional |
| backorders | string | optional |
| visibility | string | optional |
| inventory_quantity | integer | optional |
An error generated by the Mailchimp API.
PATCH /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}
/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}
Add or update a product variant.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| product_id | path | required | string | The id for the product of a store. |
| variant_id | path | required | string | The id for the product variant. |
application/json
EcommerceAddProductVariantRequest
| Property | Type | Required |
|---|---|---|
| id | string | required |
| sku | string | optional |
| url | string | optional |
| price | number | optional |
| title | string | required |
| image_url | string | optional |
| backorders | string | optional |
| visibility | string | optional |
| inventory_quantity | integer | optional |
An error generated by the Mailchimp API.
PUT /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}
/ecommerce/stores/{store_id}/promo-rules
Get information about a store’s promo rules.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| store_id | path | required | string | The store id. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/promo-rules
/ecommerce/stores/{store_id}/promo-rules
Add a new promo rule to a store.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
application/json
EcommerceAddPromoRuleRequest
| Property | Type | Required |
|---|---|---|
| id | string | required |
| type | string | required |
| title | string | optional |
| amount | number | required |
| target | string | required |
| enabled | boolean | optional |
| ends_at | string | optional |
| starts_at | string | optional |
| description | string | required |
| created_at_foreign | string | optional |
| updated_at_foreign | string | optional |
An error generated by the Mailchimp API.
POST /ecommerce/stores/{store_id}/promo-rules
/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}
Delete a promo rule from a store.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| promo_rule_id | path | required | string | The id for the promo rule of a store. |
An error generated by the Mailchimp API.
Empty Response
DELETE /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}
/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}
Get information about a specific promo rule.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| store_id | path | required | string | The store id. |
| promo_rule_id | path | required | string | The id for the promo rule of a store. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}
/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}
Update a promo rule.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| promo_rule_id | path | required | string | The id for the promo rule of a store. |
application/json
EcommerceUpdatePromoRuleRequest
| Property | Type | Required |
|---|---|---|
| type | string | optional |
| title | string | optional |
| amount | number | optional |
| target | string | optional |
| enabled | boolean | optional |
| ends_at | string | optional |
| starts_at | string | optional |
| description | string | optional |
| created_at_foreign | string | optional |
| updated_at_foreign | string | optional |
An error generated by the Mailchimp API.
PATCH /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}
/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes
Get information about a store’s promo codes.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| promo_rule_id | path | required | string | The id for the promo rule of a store. |
| store_id | path | required | string | The store id. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes
/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes
Add a new promo code to a store.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| promo_rule_id | path | required | string | The id for the promo rule of a store. |
application/json
EcommerceAddPromoCodeRequest
| Property | Type | Required |
|---|---|---|
| id | string | required |
| code | string | required |
| enabled | boolean | optional |
| usage_count | integer | optional |
| redemption_url | string | required |
| created_at_foreign | string | optional |
| updated_at_foreign | string | optional |
An error generated by the Mailchimp API.
POST /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes
/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}
Delete a promo code from a store.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| promo_rule_id | path | required | string | The id for the promo rule of a store. |
| promo_code_id | path | required | string | The id for the promo code of a store. |
An error generated by the Mailchimp API.
Empty Response
DELETE /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}
/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}
Get information about a specific promo code.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| store_id | path | required | string | The store id. |
| promo_rule_id | path | required | string | The id for the promo rule of a store. |
| promo_code_id | path | required | string | The id for the promo code of a store. |
An error generated by the Mailchimp API.
GET /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}
/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}
Update a promo code.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| store_id | path | required | string | The store id. |
| promo_rule_id | path | required | string | The id for the promo rule of a store. |
| promo_code_id | path | required | string | The id for the promo code of a store. |
application/json
EcommerceUpdatePromoCodeRequest
| Property | Type | Required |
|---|---|---|
| code | string | optional |
| enabled | boolean | optional |
| usage_count | integer | optional |
| redemption_url | string | optional |
| created_at_foreign | string | optional |
| updated_at_foreign | string | optional |
An error generated by the Mailchimp API.
PATCH /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}
/facebook-ads
Get list of Facebook ads.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| sort_field | query | optional | string | Returns files sorted by the specified field. |
| sort_dir | query | optional | string | Determines the order direction for sorted results. |
An error generated by the Mailchimp API.
List of Facebook Ad Instances
GET /facebook-ads
/facebook-ads/{outreach_id}
Get details of a Facebook ad.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| outreach_id | path | required | string | The outreach id. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
An error generated by the Mailchimp API.
Facebook Ad Instance
GET /facebook-ads/{outreach_id}
/file-manager/files
Get a list of available images and files stored in the File Manager for the account.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| type | query | optional | string | The file type for the File Manager file. |
| created_by | query | optional | string | The Mailchimp account user who created the File Manager file. |
| before_created_at | query | optional | string | Restrict the response to files created before the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| since_created_at | query | optional | string | Restrict the response to files created after the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| sort_field | query | optional | string | Returns files sorted by the specified field. |
| sort_dir | query | optional | string | Determines the order direction for sorted results. |
An error generated by the Mailchimp API.
GET /file-manager/files
/file-manager/files
Upload a new image or file to the File Manager.
application/json
FileManagerUploadFileRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| file_data | string | required |
| folder_id | integer | optional |
An error generated by the Mailchimp API.
POST /file-manager/files
/file-manager/files/{file_id}
Remove a specific file from the File Manager.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| file_id | path | required | string | The unique id for the File Manager file. |
An error generated by the Mailchimp API.
Empty Response
DELETE /file-manager/files/{file_id}
/file-manager/files/{file_id}
Get information about a specific file in the File Manager.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| file_id | path | required | string | The unique id for the File Manager file. |
An error generated by the Mailchimp API.
GET /file-manager/files/{file_id}
/file-manager/files/{file_id}
Update a file in the File Manager.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| file_id | path | required | string | The unique id for the File Manager file. |
application/json
FileManagerUpdateFileRequest
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| folder_id | integer | optional |
An error generated by the Mailchimp API.
PATCH /file-manager/files/{file_id}
/file-manager/folders
Get a list of all folders in the File Manager.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| created_by | query | optional | string | The Mailchimp account user who created the File Manager file. |
| before_created_at | query | optional | string | Restrict the response to files created before the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| since_created_at | query | optional | string | Restrict the response to files created after the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
An error generated by the Mailchimp API.
GET /file-manager/folders
/file-manager/folders
Create a new folder in the File Manager.
application/json
FileManagerAddNewFolderRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
An error generated by the Mailchimp API.
POST /file-manager/folders
/file-manager/folders/{folder_id}
Delete a specific folder in the File Manager.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| folder_id | path | required | string | The unique id for the File Manager folder. |
An error generated by the Mailchimp API.
Empty Response
DELETE /file-manager/folders/{folder_id}
/file-manager/folders/{folder_id}
Get information about a specific folder in the File Manager.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| folder_id | path | required | string | The unique id for the File Manager folder. |
An error generated by the Mailchimp API.
GET /file-manager/folders/{folder_id}
/file-manager/folders/{folder_id}
Update a specific File Manager folder.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| folder_id | path | required | string | The unique id for the File Manager folder. |
application/json
FileManagerAddNewFolderRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
An error generated by the Mailchimp API.
PATCH /file-manager/folders/{folder_id}
/file-manager/folders/{folder_id}/files
Get a list of available images and files stored in this folder.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| folder_id | path | required | string | The unique id for the File Manager folder. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| type | query | optional | string | The file type for the File Manager file. |
| created_by | query | optional | string | The Mailchimp account user who created the File Manager file. |
| before_created_at | query | optional | string | Restrict the response to files created before the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| since_created_at | query | optional | string | Restrict the response to files created after the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| sort_field | query | optional | string | Returns files sorted by the specified field. |
| sort_dir | query | optional | string | Determines the order direction for sorted results. |
An error generated by the Mailchimp API.
GET /file-manager/folders/{folder_id}/files
/landing-pages
Get all landing pages.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| sort_dir | query | optional | string | Determines the order direction for sorted results. |
| sort_field | query | optional | string | Returns files sorted by the specified field. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
An error generated by the Mailchimp API.
Landing Pages Collection
GET /landing-pages
/landing-pages
Create a new Mailchimp landing page.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| use_default_list | query | optional | boolean | Will create the Landing Page using the account’s Default List instead of requiring a list_id. |
application/json
LandingPagesCreateNewMailchimpLandingPageRequest
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| type | string | optional |
| title | string | optional |
| list_id | string | optional |
| store_id | string | optional |
| tracking | object | optional |
| └ track_with_mailchimp | boolean | optional |
| └ enable_restricted_data_processing | boolean | optional |
| description | string | optional |
| template_id | integer | optional |
An error generated by the Mailchimp API.
POST /landing-pages
/landing-pages/{page_id}
Delete a landing page.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| page_id | path | required | string | The unique id for the page. |
An error generated by the Mailchimp API.
Empty Response
DELETE /landing-pages/{page_id}
/landing-pages/{page_id}
Get information about a specific page.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| page_id | path | required | string | The unique id for the page. |
An error generated by the Mailchimp API.
Landing Pages Instance
GET /landing-pages/{page_id}
/landing-pages/{page_id}
Update a landing page.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| page_id | path | required | string | The unique id for the page. |
application/json
LandingPagesUpdatePageByIdRequest
| Property | Type | Required |
|---|---|---|
| name | string | optional |
| title | string | optional |
| list_id | string | optional |
| store_id | string | optional |
| tracking | object | optional |
| └ track_with_mailchimp | boolean | optional |
| └ enable_restricted_data_processing | boolean | optional |
| description | string | optional |
An error generated by the Mailchimp API.
PATCH /landing-pages/{page_id}
/landing-pages/{page_id}/actions/publish
Publish a landing page that is in draft, unpublished, or has been previously published and edited.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| page_id | path | required | string | The unique id for the page. |
An error generated by the Mailchimp API.
Empty Response
POST /landing-pages/{page_id}/actions/publish
/landing-pages/{page_id}/actions/unpublish
Unpublish a landing page that is in draft or has been published.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| page_id | path | required | string | The unique id for the page. |
An error generated by the Mailchimp API.
Empty Response
POST /landing-pages/{page_id}/actions/unpublish
/landing-pages/{page_id}/content
Get the the HTML for your landing page.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| page_id | path | required | string | The unique id for the page. |
An error generated by the Mailchimp API.
GET /landing-pages/{page_id}/content
/lists
Get information about all lists in the account.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| before_date_created | query | optional | string | Restrict response to lists created before the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| since_date_created | query | optional | string | Restrict results to lists created after the set date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| before_campaign_last_sent | query | optional | string | Restrict results to lists created before the last campaign send date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| since_campaign_last_sent | query | optional | string | Restrict results to lists created after the last campaign send date. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| query | optional | string | Restrict results to lists that include a specific subscriber’s email address. |
|
| sort_field | query | optional | string | Returns files sorted by the specified field. |
| sort_dir | query | optional | string | Determines the order direction for sorted results. |
| has_ecommerce_store | query | optional | boolean | Restrict results to lists that contain an active, connected, undeleted ecommerce store. |
| include_total_contacts | query | optional | boolean | Return the total_contacts field in the stats response, which contains an approximate count of all contacts in any state. |
An error generated by the Mailchimp API.
GET /lists
/lists
Create a new list in your Mailchimp account.
application/json
ListsCreateNewListRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| contact | object | required |
| └ zip | string | optional |
| └ city | string | required |
| └ phone | string | optional |
| └ state | string | optional |
| └ company | string | required |
| └ country | string | required |
| └ address1 | string | required |
| └ address2 | string | optional |
| double_optin | boolean | optional |
| use_archive_bar | boolean | optional |
| campaign_defaults | object | required |
| └ subject | string | required |
| └ language | string | required |
| └ from_name | string | required |
| └ from_email | string | required |
| email_type_option | boolean | required |
| notify_on_subscribe | string | optional |
| permission_reminder | string | required |
| marketing_permissions | boolean | optional |
| notify_on_unsubscribe | string | optional |
An error generated by the Mailchimp API.
POST /lists
/lists/{list_id}
Delete a list from your Mailchimp account. If you delete a list, you’ll lose the list history—including subscriber activity, unsubscribes, complaints, and bounces. You’ll also lose subscribers’ email addresses, unless you exported and backed up your list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
An error generated by the Mailchimp API.
Empty Response
DELETE /lists/{list_id}
/lists/{list_id}
Get information about a specific list in your Mailchimp account. Results include list members who have signed up but haven’t confirmed their subscription yet and unsubscribed or cleaned.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| list_id | path | required | string | The unique ID for the list. |
| include_total_contacts | query | optional | boolean | Return the total_contacts field in the stats response, which contains an approximate count of all contacts in any state. |
An error generated by the Mailchimp API.
GET /lists/{list_id}
/lists/{list_id}
Update the settings for a specific list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
application/json
ListsUpdateSettingsRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| contact | object | required |
| └ zip | string | required |
| └ city | string | required |
| └ phone | string | optional |
| └ state | string | required |
| └ company | string | required |
| └ country | string | required |
| └ address1 | string | required |
| └ address2 | string | optional |
| double_optin | boolean | optional |
| use_archive_bar | boolean | optional |
| campaign_defaults | object | required |
| └ subject | string | required |
| └ language | string | required |
| └ from_name | string | required |
| └ from_email | string | required |
| email_type_option | boolean | required |
| notify_on_subscribe | string | optional |
| permission_reminder | string | required |
| marketing_permissions | boolean | optional |
| notify_on_unsubscribe | string | optional |
An error generated by the Mailchimp API.
PATCH /lists/{list_id}