EcommerceAddPromoCodedefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceAddPromoRule200Response
{
"type": "object",
"title": "E-commerce Promo Rule",
"properties": {
"id": {
"type": "string",
"title": "Promo Rule Foreign ID",
"readOnly": true,
"description": "A unique identifier for the promo rule. If Ecommerce platform does not support promo rule, use promo code id as promo rule id. Restricted to UTF-8 characters with max length 50."
},
"type": {
"enum": [
"fixed",
"percentage"
],
"type": "string",
"title": "Type",
"description": "Type of discount. For free shipping set type to fixed."
},
"title": {
"type": "string",
"title": "Title",
"example": "50% off Total Order",
"description": "The title that will show up in promotion campaign. Restricted to UTF-8 characters with max length of 100 bytes."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"amount": {
"type": "number",
"title": "Amount",
"format": "float",
"example": 0.5,
"description": "The amount of the promo code discount. If 'type' is 'fixed', the amount is treated as a monetary value. If 'type' is 'percentage', amount must be a decimal value between 0.0 and 1.0, inclusive."
},
"target": {
"enum": [
"per_item",
"total",
"shipping"
],
"type": "string",
"title": "Target",
"description": "The target that the discount applies to."
},
"enabled": {
"type": "boolean",
"title": "Enabled",
"example": true,
"description": "Whether the promo rule is currently enabled."
},
"ends_at": {
"type": "string",
"title": "End Time",
"format": "Promo date-time",
"description": "The date and time when the promotion ends. Must be after starts_at and in ISO 8601 format."
},
"starts_at": {
"type": "string",
"title": "Promo Start Time",
"format": "date-time",
"description": "The date and time when the promotion is in effect in ISO 8601 format."
},
"description": {
"type": "string",
"title": "Description",
"example": "Save BIG during our summer sale!",
"description": "The description of a promotion restricted to UTF-8 characters with max length 255."
},
"created_at_foreign": {
"type": "string",
"title": "Foreign Create Time",
"format": "date-time",
"description": "The date and time the promotion was created in ISO 8601 format."
},
"updated_at_foreign": {
"type": "string",
"title": "Foreign Update Time",
"format": "date-time",
"description": "The date and time the promotion was updated in ISO 8601 format."
}
},
"description": "Information about an Ecommerce Store's specific Promo Rule"
}
EcommerceAddPromoRuleRequest
{
"type": "object",
"title": "E-commerce Promo Rule",
"required": [
"id",
"description",
"amount",
"type",
"target"
],
"properties": {
"id": {
"type": "string",
"title": "Promo Rule Foreign ID",
"description": "A unique identifier for the promo rule. If Ecommerce platform does not support promo rule, use promo code id as promo rule id. Restricted to UTF-8 characters with max length 50."
},
"type": {
"enum": [
"fixed",
"percentage"
],
"type": "string",
"title": "Type",
"description": "Type of discount. For free shipping set type to fixed."
},
"title": {
"type": "string",
"title": "Title",
"example": "50% off Total Order",
"description": "The title that will show up in promotion campaign. Restricted to UTF-8 characters with max length of 100 bytes."
},
"amount": {
"type": "number",
"title": "Amount",
"format": "float",
"example": 0.5,
"description": "The amount of the promo code discount. If 'type' is 'fixed', the amount is treated as a monetary value. If 'type' is 'percentage', amount must be a decimal value between 0.0 and 1.0, inclusive."
},
"target": {
"enum": [
"per_item",
"total",
"shipping"
],
"type": "string",
"title": "Target",
"description": "The target that the discount applies to."
},
"enabled": {
"type": "boolean",
"title": "Enabled",
"example": true,
"description": "Whether the promo rule is currently enabled."
},
"ends_at": {
"type": "string",
"title": "End Time",
"format": "Promo date-time",
"description": "The date and time when the promotion ends. Must be after starts_at and in ISO 8601 format."
},
"starts_at": {
"type": "string",
"title": "Promo Start Time",
"format": "date-time",
"description": "The date and time when the promotion is in effect in ISO 8601 format."
},
"description": {
"type": "string",
"title": "Description",
"example": "Save BIG during our summer sale!",
"description": "The description of a promotion restricted to UTF-8 characters with max length 255."
},
"created_at_foreign": {
"type": "string",
"title": "Foreign Create Time",
"format": "date-time",
"description": "The date and time the promotion was created in ISO 8601 format."
},
"updated_at_foreign": {
"type": "string",
"title": "Foreign Update Time",
"format": "date-time",
"description": "The date and time the promotion was updated in ISO 8601 format."
}
},
"description": "Information about an Ecommerce Store's specific Promo Rule."
}
EcommerceAddPromoRuleResponse
{
"type": "object",
"title": "E-commerce Promo Rule",
"properties": {
"id": {
"type": "string",
"title": "Promo Rule Foreign ID",
"readOnly": true,
"description": "A unique identifier for the promo rule. If Ecommerce platform does not support promo rule, use promo code id as promo rule id. Restricted to UTF-8 characters with max length 50."
},
"type": {
"enum": [
"fixed",
"percentage"
],
"type": "string",
"title": "Type",
"description": "Type of discount. For free shipping set type to fixed."
},
"title": {
"type": "string",
"title": "Title",
"example": "50% off Total Order",
"description": "The title that will show up in promotion campaign. Restricted to UTF-8 characters with max length of 100 bytes."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"amount": {
"type": "number",
"title": "Amount",
"format": "float",
"example": 0.5,
"description": "The amount of the promo code discount. If 'type' is 'fixed', the amount is treated as a monetary value. If 'type' is 'percentage', amount must be a decimal value between 0.0 and 1.0, inclusive."
},
"target": {
"enum": [
"per_item",
"total",
"shipping"
],
"type": "string",
"title": "Target",
"description": "The target that the discount applies to."
},
"enabled": {
"type": "boolean",
"title": "Enabled",
"example": true,
"description": "Whether the promo rule is currently enabled."
},
"ends_at": {
"type": "string",
"title": "End Time",
"format": "Promo date-time",
"description": "The date and time when the promotion ends. Must be after starts_at and in ISO 8601 format."
},
"starts_at": {
"type": "string",
"title": "Promo Start Time",
"format": "date-time",
"description": "The date and time when the promotion is in effect in ISO 8601 format."
},
"description": {
"type": "string",
"title": "Description",
"example": "Save BIG during our summer sale!",
"description": "The description of a promotion restricted to UTF-8 characters with max length 255."
},
"created_at_foreign": {
"type": "string",
"title": "Foreign Create Time",
"format": "date-time",
"description": "The date and time the promotion was created in ISO 8601 format."
},
"updated_at_foreign": {
"type": "string",
"title": "Foreign Update Time",
"format": "date-time",
"description": "The date and time the promotion was updated in ISO 8601 format."
}
},
"description": "Information about an Ecommerce Store's specific Promo Rule"
}
EcommerceAddPromoRuledefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceAddStoreToMailchimpAccount200Response
{
"type": "object",
"title": "E-commerce Store",
"properties": {
"id": {
"type": "string",
"title": "Store Foreign ID",
"example": "example_store",
"readOnly": true,
"description": "The unique identifier for the store."
},
"name": {
"type": "string",
"title": "Store Name",
"example": "Freddie's Cat Hat Emporium",
"description": "The name of the store."
},
"phone": {
"type": "string",
"title": "Phone",
"example": "404-444-4444",
"description": "The store phone number."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"domain": {
"type": "string",
"title": "Domain",
"example": "example.com",
"description": "The store domain. The store domain must be unique within a user account."
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"city": {
"type": "string",
"title": "City ",
"example": "Atlanta",
"description": "The city the store is located in."
},
"country": {
"type": "string",
"title": "Country Code",
"example": "United States",
"description": "The store's country."
},
"address1": {
"type": "string",
"title": "Address Field 1",
"example": "675 Ponce de Leon Ave NE",
"description": "The store's mailing address."
},
"address2": {
"type": "string",
"title": "Address Field 2",
"example": "Suite 5000",
"description": "An additional field for the store's mailing address."
},
"latitude": {
"type": "number",
"title": "Latitude",
"example": 45.427408,
"description": "The latitude of the store location."
},
"province": {
"type": "string",
"title": "Province",
"example": "Georgia",
"description": "The store's state name or normalized province."
},
"longitude": {
"type": "number",
"title": "Longitude",
"example": -75.68903,
"description": "The longitude of the store location."
},
"postal_code": {
"type": "string",
"title": "Postal Code",
"example": "30308",
"description": "The store's postal or zip code."
},
"country_code": {
"type": "string",
"title": "Country Code",
"example": "US",
"description": "The two-letter code for to the store's country."
},
"province_code": {
"type": "string",
"title": "Province Code",
"example": "GA",
"description": "The two-letter code for the store's province or state."
}
},
"description": "The store address."
},
"list_id": {
"type": "string",
"title": "List ID",
"example": "1a2df69511",
"readOnly": true,
"description": "The unique identifier for the list that's associated with the store. The `list_id` for a specific store can't change."
},
"platform": {
"type": "string",
"title": "Platform",
"description": "The e-commerce platform of the store."
},
"timezone": {
"type": "string",
"title": "Timezone",
"example": "Eastern",
"description": "The timezone for the store."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the store was created in ISO 8601 format."
},
"is_syncing": {
"type": "boolean",
"title": "Is Syncing",
"description": "Whether to disable automations because the store is currently [syncing](https://mailchimp.com/developer/marketing/docs/e-commerce/#pausing-store-automations)."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the store was last updated in ISO 8601 format."
},
"automations": {
"type": "object",
"title": "Automations",
"readOnly": true,
"properties": {
"abandoned_cart": {
"type": "object",
"title": "Abandoned Cart Automation",
"readOnly": true,
"properties": {
"id": {
"type": "string",
"title": "ID",
"example": "355a72bfc3",
"readOnly": true,
"description": "Unique ID of automation parent campaign."
},
"status": {
"enum": [
"save",
"sending",
"paused"
],
"type": "string",
"title": "Status",
"example": "sending",
"readOnly": true,
"description": "Status of the abandonedCart automation."
},
"is_supported": {
"type": "boolean",
"title": "Is Supported",
"example": false,
"readOnly": true,
"description": "Whether this store supports the abandonedCart automation."
}
},
"description": "abandonedCart automation details."
},
"abandoned_browse": {
"type": "object",
"title": "Abandoned Browse Automation",
"readOnly": true,
"properties": {
"id": {
"type": "string",
"title": "ID",
"example": "355a72bfc3",
"readOnly": true,
"description": "Unique ID of automation parent campaign."
},
"status": {
"enum": [
"save",
"sending",
"paused"
],
"type": "string",
"title": "Status",
"example": "sending",
"readOnly": true,
"description": "Status of the abandonedBrowse automation."
},
"is_supported": {
"type": "boolean",
"title": "Is Supported",
"example": false,
"readOnly": true,
"description": "Whether this store supports the abandonedBrowse automation."
}
},
"description": "abandonedBrowse automation details. abandonedBrowse is also known as Product Retargeting Email or Retarget Site Visitors on the web."
}
},
"description": "Details for the automations attached to this store."
},
"money_format": {
"type": "string",
"title": "Money Format",
"example": "$",
"description": "The currency format for the store. For example: `$`, `£`, etc."
},
"currency_code": {
"type": "string",
"title": "Currency",
"example": "USD",
"description": "The three-letter ISO 4217 code for the currency that the store accepts."
},
"email_address": {
"type": "string",
"title": "Email Address",
"example": "freddie@mailchimp.com",
"description": "The email address for the store."
},
"connected_site": {
"type": "object",
"title": "Connected Site",
"readOnly": true,
"properties": {
"site_script": {
"type": "object",
"title": "Script",
"readOnly": true,
"properties": {
"url": {
"type": "string",
"title": "Script URL",
"example": "https://chimpstatic.com/mcjs-connected/js/users/{user-hash}/{site-hash}.js",
"readOnly": true,
"description": "The URL used for any integrations that offer built-in support for connected sites."
},
"fragment": {
"type": "string",
"title": "Script Fragment",
"example": "<script id=\"mcjs\">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,\"script\",\"https://chimpstatic.com/mcjs-connected/js/users/{user-hash}/{site-hash}.js\");</script>",
"readOnly": true,
"description": "A pre-built script that you can copy-and-paste into your site to integrate it with Mailchimp."
}
},
"description": "The script used to connect your site with Mailchimp."
},
"site_foreign_id": {
"type": "string",
"title": "Connected Site Foreign ID",
"example": "a180c384d7db88b if created in-app, MC001 if created via API",
"readOnly": true,
"description": "The unique identifier for the connected site."
}
},
"description": "The Connected Site associated with the store."
},
"list_is_active": {
"type": "boolean",
"title": "List Status",
"readOnly": true,
"description": "The status of the list connected to the store, namely if it's deleted or disabled."
},
"primary_locale": {
"type": "string",
"title": "Primary Locale",
"example": "fr",
"description": "The primary locale for the store. For example: `en`, `de`, etc."
}
},
"description": "An individual store in an account."
}
EcommerceAddStoreToMailchimpAccountRequest
{
"type": "object",
"title": "E-commerce Store",
"required": [
"id",
"list_id",
"name",
"currency_code"
],
"properties": {
"id": {
"type": "string",
"title": "Store Foreign ID",
"example": "example_store",
"description": "The unique identifier for the store."
},
"name": {
"type": "string",
"title": "Store Name",
"example": "Freddie's Cat Hat Emporium",
"description": "The name of the store."
},
"phone": {
"type": "string",
"title": "Phone",
"example": "404-444-4444",
"description": "The store phone number."
},
"domain": {
"type": "string",
"title": "Domain",
"example": "example.com",
"description": "The store domain. This parameter is required for Connected Sites and Google Ads."
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"city": {
"type": "string",
"title": "City ",
"example": "Atlanta",
"description": "The city the store is located in."
},
"country": {
"type": "string",
"title": "Country Code",
"example": "United States",
"description": "The store's country."
},
"address1": {
"type": "string",
"title": "Address Field 1",
"example": "675 Ponce de Leon Ave NE",
"description": "The store's mailing address."
},
"address2": {
"type": "string",
"title": "Address Field 2",
"example": "Suite 5000",
"description": "An additional field for the store's mailing address."
},
"latitude": {
"type": "number",
"title": "Latitude",
"example": 45.427408,
"description": "The latitude of the store location."
},
"province": {
"type": "string",
"title": "Province",
"example": "Georgia",
"description": "The store's state name or normalized province."
},
"longitude": {
"type": "number",
"title": "Longitude",
"example": -75.68903,
"description": "The longitude of the store location."
},
"postal_code": {
"type": "string",
"title": "Postal Code",
"example": "30308",
"description": "The store's postal or zip code."
},
"country_code": {
"type": "string",
"title": "Country Code",
"example": "US",
"description": "The two-letter code for to the store's country."
},
"province_code": {
"type": "string",
"title": "Province Code",
"example": "GA",
"description": "The two-letter code for the store's province or state."
}
},
"description": "The store address."
},
"list_id": {
"type": "string",
"title": "List ID",
"example": "1a2df69511",
"description": "The unique identifier for the list associated with the store. The `list_id` for a specific store cannot change."
},
"platform": {
"type": "string",
"title": "Platform",
"description": "The e-commerce platform of the store."
},
"timezone": {
"type": "string",
"title": "Timezone",
"example": "Eastern",
"description": "The timezone for the store."
},
"is_syncing": {
"type": "boolean",
"title": "Is Syncing",
"description": "Whether to disable automations because the store is currently [syncing](https://mailchimp.com/developer/marketing/docs/e-commerce/#pausing-store-automations)."
},
"money_format": {
"type": "string",
"title": "Money Format",
"example": "$",
"description": "The currency format for the store. For example: `$`, `£`, etc."
},
"currency_code": {
"type": "string",
"title": "Currency",
"example": "USD",
"description": "The three-letter ISO 4217 code for the currency that the store accepts."
},
"email_address": {
"type": "string",
"title": "Email Address",
"example": "freddie@mailchimp.com",
"description": "The email address for the store."
},
"primary_locale": {
"type": "string",
"title": "Primary Locale",
"example": "fr",
"description": "The primary locale for the store. For example: `en`, `de`, etc."
}
},
"description": "An individual store in an account."
}
EcommerceAddStoreToMailchimpAccountResponse
{
"type": "object",
"title": "E-commerce Store",
"properties": {
"id": {
"type": "string",
"title": "Store Foreign ID",
"example": "example_store",
"readOnly": true,
"description": "The unique identifier for the store."
},
"name": {
"type": "string",
"title": "Store Name",
"example": "Freddie's Cat Hat Emporium",
"description": "The name of the store."
},
"phone": {
"type": "string",
"title": "Phone",
"example": "404-444-4444",
"description": "The store phone number."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"domain": {
"type": "string",
"title": "Domain",
"example": "example.com",
"description": "The store domain. The store domain must be unique within a user account."
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"city": {
"type": "string",
"title": "City ",
"example": "Atlanta",
"description": "The city the store is located in."
},
"country": {
"type": "string",
"title": "Country Code",
"example": "United States",
"description": "The store's country."
},
"address1": {
"type": "string",
"title": "Address Field 1",
"example": "675 Ponce de Leon Ave NE",
"description": "The store's mailing address."
},
"address2": {
"type": "string",
"title": "Address Field 2",
"example": "Suite 5000",
"description": "An additional field for the store's mailing address."
},
"latitude": {
"type": "number",
"title": "Latitude",
"example": 45.427408,
"description": "The latitude of the store location."
},
"province": {
"type": "string",
"title": "Province",
"example": "Georgia",
"description": "The store's state name or normalized province."
},
"longitude": {
"type": "number",
"title": "Longitude",
"example": -75.68903,
"description": "The longitude of the store location."
},
"postal_code": {
"type": "string",
"title": "Postal Code",
"example": "30308",
"description": "The store's postal or zip code."
},
"country_code": {
"type": "string",
"title": "Country Code",
"example": "US",
"description": "The two-letter code for to the store's country."
},
"province_code": {
"type": "string",
"title": "Province Code",
"example": "GA",
"description": "The two-letter code for the store's province or state."
}
},
"description": "The store address."
},
"list_id": {
"type": "string",
"title": "List ID",
"example": "1a2df69511",
"readOnly": true,
"description": "The unique identifier for the list that's associated with the store. The `list_id` for a specific store can't change."
},
"platform": {
"type": "string",
"title": "Platform",
"description": "The e-commerce platform of the store."
},
"timezone": {
"type": "string",
"title": "Timezone",
"example": "Eastern",
"description": "The timezone for the store."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the store was created in ISO 8601 format."
},
"is_syncing": {
"type": "boolean",
"title": "Is Syncing",
"description": "Whether to disable automations because the store is currently [syncing](https://mailchimp.com/developer/marketing/docs/e-commerce/#pausing-store-automations)."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the store was last updated in ISO 8601 format."
},
"automations": {
"type": "object",
"title": "Automations",
"readOnly": true,
"properties": {
"abandoned_cart": {
"type": "object",
"title": "Abandoned Cart Automation",
"readOnly": true,
"properties": {
"id": {
"type": "string",
"title": "ID",
"example": "355a72bfc3",
"readOnly": true,
"description": "Unique ID of automation parent campaign."
},
"status": {
"enum": [
"save",
"sending",
"paused"
],
"type": "string",
"title": "Status",
"example": "sending",
"readOnly": true,
"description": "Status of the abandonedCart automation."
},
"is_supported": {
"type": "boolean",
"title": "Is Supported",
"example": false,
"readOnly": true,
"description": "Whether this store supports the abandonedCart automation."
}
},
"description": "abandonedCart automation details."
},
"abandoned_browse": {
"type": "object",
"title": "Abandoned Browse Automation",
"readOnly": true,
"properties": {
"id": {
"type": "string",
"title": "ID",
"example": "355a72bfc3",
"readOnly": true,
"description": "Unique ID of automation parent campaign."
},
"status": {
"enum": [
"save",
"sending",
"paused"
],
"type": "string",
"title": "Status",
"example": "sending",
"readOnly": true,
"description": "Status of the abandonedBrowse automation."
},
"is_supported": {
"type": "boolean",
"title": "Is Supported",
"example": false,
"readOnly": true,
"description": "Whether this store supports the abandonedBrowse automation."
}
},
"description": "abandonedBrowse automation details. abandonedBrowse is also known as Product Retargeting Email or Retarget Site Visitors on the web."
}
},
"description": "Details for the automations attached to this store."
},
"money_format": {
"type": "string",
"title": "Money Format",
"example": "$",
"description": "The currency format for the store. For example: `$`, `£`, etc."
},
"currency_code": {
"type": "string",
"title": "Currency",
"example": "USD",
"description": "The three-letter ISO 4217 code for the currency that the store accepts."
},
"email_address": {
"type": "string",
"title": "Email Address",
"example": "freddie@mailchimp.com",
"description": "The email address for the store."
},
"connected_site": {
"type": "object",
"title": "Connected Site",
"readOnly": true,
"properties": {
"site_script": {
"type": "object",
"title": "Script",
"readOnly": true,
"properties": {
"url": {
"type": "string",
"title": "Script URL",
"example": "https://chimpstatic.com/mcjs-connected/js/users/{user-hash}/{site-hash}.js",
"readOnly": true,
"description": "The URL used for any integrations that offer built-in support for connected sites."
},
"fragment": {
"type": "string",
"title": "Script Fragment",
"example": "<script id=\"mcjs\">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,\"script\",\"https://chimpstatic.com/mcjs-connected/js/users/{user-hash}/{site-hash}.js\");</script>",
"readOnly": true,
"description": "A pre-built script that you can copy-and-paste into your site to integrate it with Mailchimp."
}
},
"description": "The script used to connect your site with Mailchimp."
},
"site_foreign_id": {
"type": "string",
"title": "Connected Site Foreign ID",
"example": "a180c384d7db88b if created in-app, MC001 if created via API",
"readOnly": true,
"description": "The unique identifier for the connected site."
}
},
"description": "The Connected Site associated with the store."
},
"list_is_active": {
"type": "boolean",
"title": "List Status",
"readOnly": true,
"description": "The status of the list connected to the store, namely if it's deleted or disabled."
},
"primary_locale": {
"type": "string",
"title": "Primary Locale",
"example": "fr",
"description": "The primary locale for the store. For example: `en`, `de`, etc."
}
},
"description": "An individual store in an account."
}
EcommerceAddStoreToMailchimpAccountdefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteCartLineItemResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteCartLineItemdefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteOrderLineResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteOrderLinedefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteOrderResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteOrderdefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteProductImageResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteProductImagedefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteProductResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteProductVariantResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteProductVariantdefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteProductdefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeletePromoCodeResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeletePromoCodedefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeletePromoRuleResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeletePromoRuledefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceDeleteStore204Response
{
"description": "Empty Response"
}
EcommerceDeleteStoreResponse
{
"type": "object",
"example": {},
"properties": {}
}
EcommerceDeleteStoredefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceGetCartInfo200Response
{
"type": "object",
"title": "E-commerce Cart",
"properties": {
"id": {
"type": "string",
"title": "Cart Foreign ID",
"readOnly": true,
"description": "A unique identifier for the cart."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"title": "E-commerce Cart Line Item",
"properties": {
"id": {
"type": "string",
"title": "Cart Line Item Foreign ID",
"readOnly": true,
"description": "A unique identifier for the cart line item."
},
"price": {
"type": "number",
"title": "Price",
"description": "The price of a cart line item."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"quantity": {
"type": "integer",
"title": "Quantity",
"description": "The quantity of a cart line item."
},
"product_id": {
"type": "string",
"title": "Cart Line Product Foreign ID",
"description": "A unique identifier for the product associated with the cart line item."
},
"product_title": {
"type": "string",
"title": "Cart Line Product Title",
"readOnly": true,
"description": "The name of the product for the cart line item."
},
"product_variant_id": {
"type": "string",
"title": "Cart Line Product Variant Foreign ID",
"description": "A unique identifier for the product variant associated with the cart line item."
},
"product_variant_title": {
"type": "string",
"title": "Cart Line Product Variant Title",
"readOnly": true,
"description": "The name of the product variant for the cart line item."
}
},
"description": "Information about a specific cart line item."
},
"title": "Cart Line Items",
"description": "An array of the cart's line items."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"customer": {
"type": "object",
"title": "E-commerce Customer",
"properties": {
"id": {
"type": "string",
"title": "Customer Foreign ID",
"readOnly": true,
"description": "A unique identifier for the customer."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"city": {
"type": "string",
"title": "City ",
"example": "Atlanta",
"description": "The city the customer is located in."
},
"country": {
"type": "string",
"title": "Country Code",
"example": "United States",
"description": "The customer's country."
},
"address1": {
"type": "string",
"title": "Address Field 1",
"example": "675 Ponce de Leon Ave NE",
"description": "The mailing address of the customer."
},
"address2": {
"type": "string",
"title": "Address Field 2",
"example": "Suite 5000",
"description": "An additional field for the customer's mailing address."
},
"province": {
"type": "string",
"title": "Province",
"example": "Georgia",
"description": "The customer's state name or normalized province."
},
"postal_code": {
"type": "string",
"title": "Postal Code",
"example": "30308",
"description": "The customer's postal or zip code."
},
"country_code": {
"type": "string",
"title": "Country Code",
"example": "US",
"description": "The two-letter code for the customer's country."
},
"province_code": {
"type": "string",
"title": "Province Code",
"example": "GA",
"description": "The two-letter code for the customer's province or state."
}
},
"description": "The customer's address."
},
"company": {
"type": "string",
"title": "Company",
"description": "The customer's company."
},
"last_name": {
"type": "string",
"title": "Last Name",
"description": "The customer's last name."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the customer was created in ISO 8601 format."
},
"first_name": {
"type": "string",
"title": "First Name",
"description": "The customer's first name."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the customer was last updated in ISO 8601 format."
},
"total_spent": {
"type": "number",
"title": "Total Spent",
"example": 100,
"readOnly": true,
"description": "The total amount the customer has spent."
},
"orders_count": {
"type": "integer",
"title": "Orders Count",
"example": 4,
"readOnly": true,
"description": "The customer's total order count."
},
"email_address": {
"type": "string",
"title": "Email Address",
"readOnly": true,
"description": "The customer's email address."
},
"opt_in_status": {
"type": "boolean",
"title": "Opt-in Status",
"description": "The customer's opt-in status. This value will never overwrite the opt-in status of a pre-existing Mailchimp list member, but will apply to list members that are added through the e-commerce API endpoints. Customers who don't opt in to your Mailchimp list [will be added as `Transactional` members](https://mailchimp.com/developer/marketing/docs/e-commerce/#customers)."
}
},
"description": "Information about a specific customer."
},
"tax_total": {
"type": "number",
"title": "Tax Total",
"description": "The total tax for the cart."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the cart was created in ISO 8601 format."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the cart was last updated in ISO 8601 format."
},
"campaign_id": {
"type": "string",
"title": "Campaign ID",
"example": "839488a60b",
"description": "A string that uniquely identifies the campaign associated with a cart."
},
"order_total": {
"type": "number",
"title": "Order Total",
"description": "The order total for the cart."
},
"checkout_url": {
"type": "string",
"title": "Checkout URL",
"description": "The URL for the cart. This parameter is required for [Abandoned Cart](https://mailchimp.com/help/create-an-abandoned-cart-email/) automations."
},
"currency_code": {
"type": "string",
"title": "Currency Code",
"description": "The three-letter ISO 4217 code for the currency that the cart uses."
}
},
"description": "Information about a specific cart."
}
EcommerceGetCartInfoResponse
{
"type": "object",
"title": "E-commerce Cart",
"properties": {
"id": {
"type": "string",
"title": "Cart Foreign ID",
"readOnly": true,
"description": "A unique identifier for the cart."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"title": "E-commerce Cart Line Item",
"properties": {
"id": {
"type": "string",
"title": "Cart Line Item Foreign ID",
"readOnly": true,
"description": "A unique identifier for the cart line item."
},
"price": {
"type": "number",
"title": "Price",
"description": "The price of a cart line item."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"quantity": {
"type": "integer",
"title": "Quantity",
"description": "The quantity of a cart line item."
},
"product_id": {
"type": "string",
"title": "Cart Line Product Foreign ID",
"description": "A unique identifier for the product associated with the cart line item."
},
"product_title": {
"type": "string",
"title": "Cart Line Product Title",
"readOnly": true,
"description": "The name of the product for the cart line item."
},
"product_variant_id": {
"type": "string",
"title": "Cart Line Product Variant Foreign ID",
"description": "A unique identifier for the product variant associated with the cart line item."
},
"product_variant_title": {
"type": "string",
"title": "Cart Line Product Variant Title",
"readOnly": true,
"description": "The name of the product variant for the cart line item."
}
},
"description": "Information about a specific cart line item."
},
"title": "Cart Line Items",
"description": "An array of the cart's line items."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"customer": {
"type": "object",
"title": "E-commerce Customer",
"properties": {
"id": {
"type": "string",
"title": "Customer Foreign ID",
"readOnly": true,
"description": "A unique identifier for the customer."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"city": {
"type": "string",
"title": "City ",
"example": "Atlanta",
"description": "The city the customer is located in."
},
"country": {
"type": "string",
"title": "Country Code",
"example": "United States",
"description": "The customer's country."
},
"address1": {
"type": "string",
"title": "Address Field 1",
"example": "675 Ponce de Leon Ave NE",
"description": "The mailing address of the customer."
},
"address2": {
"type": "string",
"title": "Address Field 2",
"example": "Suite 5000",
"description": "An additional field for the customer's mailing address."
},
"province": {
"type": "string",
"title": "Province",
"example": "Georgia",
"description": "The customer's state name or normalized province."
},
"postal_code": {
"type": "string",
"title": "Postal Code",
"example": "30308",
"description": "The customer's postal or zip code."
},
"country_code": {
"type": "string",
"title": "Country Code",
"example": "US",
"description": "The two-letter code for the customer's country."
},
"province_code": {
"type": "string",
"title": "Province Code",
"example": "GA",
"description": "The two-letter code for the customer's province or state."
}
},
"description": "The customer's address."
},
"company": {
"type": "string",
"title": "Company",
"description": "The customer's company."
},
"last_name": {
"type": "string",
"title": "Last Name",
"description": "The customer's last name."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the customer was created in ISO 8601 format."
},
"first_name": {
"type": "string",
"title": "First Name",
"description": "The customer's first name."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the customer was last updated in ISO 8601 format."
},
"total_spent": {
"type": "number",
"title": "Total Spent",
"example": 100,
"readOnly": true,
"description": "The total amount the customer has spent."
},
"orders_count": {
"type": "integer",
"title": "Orders Count",
"example": 4,
"readOnly": true,
"description": "The customer's total order count."
},
"email_address": {
"type": "string",
"title": "Email Address",
"readOnly": true,
"description": "The customer's email address."
},
"opt_in_status": {
"type": "boolean",
"title": "Opt-in Status",
"description": "The customer's opt-in status. This value will never overwrite the opt-in status of a pre-existing Mailchimp list member, but will apply to list members that are added through the e-commerce API endpoints. Customers who don't opt in to your Mailchimp list [will be added as `Transactional` members](https://mailchimp.com/developer/marketing/docs/e-commerce/#customers)."
}
},
"description": "Information about a specific customer."
},
"tax_total": {
"type": "number",
"title": "Tax Total",
"description": "The total tax for the cart."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the cart was created in ISO 8601 format."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the cart was last updated in ISO 8601 format."
},
"campaign_id": {
"type": "string",
"title": "Campaign ID",
"example": "839488a60b",
"description": "A string that uniquely identifies the campaign associated with a cart."
},
"order_total": {
"type": "number",
"title": "Order Total",
"description": "The order total for the cart."
},
"checkout_url": {
"type": "string",
"title": "Checkout URL",
"description": "The URL for the cart. This parameter is required for [Abandoned Cart](https://mailchimp.com/help/create-an-abandoned-cart-email/) automations."
},
"currency_code": {
"type": "string",
"title": "Currency Code",
"description": "The three-letter ISO 4217 code for the currency that the cart uses."
}
},
"description": "Information about a specific cart."
}
EcommerceGetCartInfodefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceGetCartLineItem200Response
{
"type": "object",
"title": "E-commerce Cart Line Item",
"properties": {
"id": {
"type": "string",
"title": "Cart Line Item Foreign ID",
"readOnly": true,
"description": "A unique identifier for the cart line item."
},
"price": {
"type": "number",
"title": "Price",
"description": "The price of a cart line item."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"quantity": {
"type": "integer",
"title": "Quantity",
"description": "The quantity of a cart line item."
},
"product_id": {
"type": "string",
"title": "Cart Line Product Foreign ID",
"description": "A unique identifier for the product associated with the cart line item."
},
"product_title": {
"type": "string",
"title": "Cart Line Product Title",
"readOnly": true,
"description": "The name of the product for the cart line item."
},
"product_variant_id": {
"type": "string",
"title": "Cart Line Product Variant Foreign ID",
"description": "A unique identifier for the product variant associated with the cart line item."
},
"product_variant_title": {
"type": "string",
"title": "Cart Line Product Variant Title",
"readOnly": true,
"description": "The name of the product variant for the cart line item."
}
},
"description": "Information about a specific cart line item."
}
EcommerceGetCartLineItemResponse
{
"type": "object",
"title": "E-commerce Cart Line Item",
"properties": {
"id": {
"type": "string",
"title": "Cart Line Item Foreign ID",
"readOnly": true,
"description": "A unique identifier for the cart line item."
},
"price": {
"type": "number",
"title": "Price",
"description": "The price of a cart line item."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"quantity": {
"type": "integer",
"title": "Quantity",
"description": "The quantity of a cart line item."
},
"product_id": {
"type": "string",
"title": "Cart Line Product Foreign ID",
"description": "A unique identifier for the product associated with the cart line item."
},
"product_title": {
"type": "string",
"title": "Cart Line Product Title",
"readOnly": true,
"description": "The name of the product for the cart line item."
},
"product_variant_id": {
"type": "string",
"title": "Cart Line Product Variant Foreign ID",
"description": "A unique identifier for the product variant associated with the cart line item."
},
"product_variant_title": {
"type": "string",
"title": "Cart Line Product Variant Title",
"readOnly": true,
"description": "The name of the product variant for the cart line item."
}
},
"description": "Information about a specific cart line item."
}
EcommerceGetCartLineItemdefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceGetCustomerInfo200Response
{
"type": "object",
"title": "E-commerce Customer",
"properties": {
"id": {
"type": "string",
"title": "Customer Foreign ID",
"readOnly": true,
"description": "A unique identifier for the customer."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"city": {
"type": "string",
"title": "City ",
"example": "Atlanta",
"description": "The city the customer is located in."
},
"country": {
"type": "string",
"title": "Country Code",
"example": "United States",
"description": "The customer's country."
},
"address1": {
"type": "string",
"title": "Address Field 1",
"example": "675 Ponce de Leon Ave NE",
"description": "The mailing address of the customer."
},
"address2": {
"type": "string",
"title": "Address Field 2",
"example": "Suite 5000",
"description": "An additional field for the customer's mailing address."
},
"province": {
"type": "string",
"title": "Province",
"example": "Georgia",
"description": "The customer's state name or normalized province."
},
"postal_code": {
"type": "string",
"title": "Postal Code",
"example": "30308",
"description": "The customer's postal or zip code."
},
"country_code": {
"type": "string",
"title": "Country Code",
"example": "US",
"description": "The two-letter code for the customer's country."
},
"province_code": {
"type": "string",
"title": "Province Code",
"example": "GA",
"description": "The two-letter code for the customer's province or state."
}
},
"description": "The customer's address."
},
"company": {
"type": "string",
"title": "Company",
"description": "The customer's company."
},
"last_name": {
"type": "string",
"title": "Last Name",
"description": "The customer's last name."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the customer was created in ISO 8601 format."
},
"first_name": {
"type": "string",
"title": "First Name",
"description": "The customer's first name."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the customer was last updated in ISO 8601 format."
},
"total_spent": {
"type": "number",
"title": "Total Spent",
"example": 100,
"readOnly": true,
"description": "The total amount the customer has spent."
},
"orders_count": {
"type": "integer",
"title": "Orders Count",
"example": 4,
"readOnly": true,
"description": "The customer's total order count."
},
"email_address": {
"type": "string",
"title": "Email Address",
"readOnly": true,
"description": "The customer's email address."
},
"opt_in_status": {
"type": "boolean",
"title": "Opt-in Status",
"description": "The customer's opt-in status. This value will never overwrite the opt-in status of a pre-existing Mailchimp list member, but will apply to list members that are added through the e-commerce API endpoints. Customers who don't opt in to your Mailchimp list [will be added as `Transactional` members](https://mailchimp.com/developer/marketing/docs/e-commerce/#customers)."
}
},
"description": "Information about a specific customer."
}
EcommerceGetCustomerInfoResponse
{
"type": "object",
"title": "E-commerce Customer",
"properties": {
"id": {
"type": "string",
"title": "Customer Foreign ID",
"readOnly": true,
"description": "A unique identifier for the customer."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"city": {
"type": "string",
"title": "City ",
"example": "Atlanta",
"description": "The city the customer is located in."
},
"country": {
"type": "string",
"title": "Country Code",
"example": "United States",
"description": "The customer's country."
},
"address1": {
"type": "string",
"title": "Address Field 1",
"example": "675 Ponce de Leon Ave NE",
"description": "The mailing address of the customer."
},
"address2": {
"type": "string",
"title": "Address Field 2",
"example": "Suite 5000",
"description": "An additional field for the customer's mailing address."
},
"province": {
"type": "string",
"title": "Province",
"example": "Georgia",
"description": "The customer's state name or normalized province."
},
"postal_code": {
"type": "string",
"title": "Postal Code",
"example": "30308",
"description": "The customer's postal or zip code."
},
"country_code": {
"type": "string",
"title": "Country Code",
"example": "US",
"description": "The two-letter code for the customer's country."
},
"province_code": {
"type": "string",
"title": "Province Code",
"example": "GA",
"description": "The two-letter code for the customer's province or state."
}
},
"description": "The customer's address."
},
"company": {
"type": "string",
"title": "Company",
"description": "The customer's company."
},
"last_name": {
"type": "string",
"title": "Last Name",
"description": "The customer's last name."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the customer was created in ISO 8601 format."
},
"first_name": {
"type": "string",
"title": "First Name",
"description": "The customer's first name."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the customer was last updated in ISO 8601 format."
},
"total_spent": {
"type": "number",
"title": "Total Spent",
"example": 100,
"readOnly": true,
"description": "The total amount the customer has spent."
},
"orders_count": {
"type": "integer",
"title": "Orders Count",
"example": 4,
"readOnly": true,
"description": "The customer's total order count."
},
"email_address": {
"type": "string",
"title": "Email Address",
"readOnly": true,
"description": "The customer's email address."
},
"opt_in_status": {
"type": "boolean",
"title": "Opt-in Status",
"description": "The customer's opt-in status. This value will never overwrite the opt-in status of a pre-existing Mailchimp list member, but will apply to list members that are added through the e-commerce API endpoints. Customers who don't opt in to your Mailchimp list [will be added as `Transactional` members](https://mailchimp.com/developer/marketing/docs/e-commerce/#customers)."
}
},
"description": "Information about a specific customer."
}
EcommerceGetCustomerInfodefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceGetOrderLineItem200Response
{
"type": "object",
"title": "E-commerce Order Line Item",
"properties": {
"id": {
"type": "string",
"title": "Order Line Item Foreign ID",
"readOnly": true,
"description": "A unique identifier for an order line item."
},
"price": {
"type": "number",
"title": "Price",
"description": "The order line item price."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"discount": {
"type": "number",
"title": "Discount",
"description": "The total discount amount applied to a line item."
},
"quantity": {
"type": "integer",
"title": "Quantity",
"description": "The order line item quantity."
},
"image_url": {
"type": "string",
"title": "Product Image URL",
"readOnly": true,
"description": "The image URL for a product."
},
"product_id": {
"type": "string",
"title": "Order Line Item Product Foreign ID",
"description": "A unique identifier for the product associated with an order line item."
},
"product_title": {
"type": "string",
"title": "Order Line Item Product Title",
"readOnly": true,
"description": "The name of the product for an order line item."
},
"product_variant_id": {
"type": "string",
"title": "Order Line Item Product Variant Foreign ID",
"description": "A unique identifier for the product variant associated with an order line item."
},
"product_variant_title": {
"type": "string",
"title": "Order Line Item Product Variant Title",
"readOnly": true,
"description": "The name of the product variant for an order line item."
}
},
"description": "Information about a specific order line."
}
EcommerceGetOrderLineItemResponse
{
"type": "object",
"title": "E-commerce Order Line Item",
"properties": {
"id": {
"type": "string",
"title": "Order Line Item Foreign ID",
"readOnly": true,
"description": "A unique identifier for an order line item."
},
"price": {
"type": "number",
"title": "Price",
"description": "The order line item price."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"discount": {
"type": "number",
"title": "Discount",
"description": "The total discount amount applied to a line item."
},
"quantity": {
"type": "integer",
"title": "Quantity",
"description": "The order line item quantity."
},
"image_url": {
"type": "string",
"title": "Product Image URL",
"readOnly": true,
"description": "The image URL for a product."
},
"product_id": {
"type": "string",
"title": "Order Line Item Product Foreign ID",
"description": "A unique identifier for the product associated with an order line item."
},
"product_title": {
"type": "string",
"title": "Order Line Item Product Title",
"readOnly": true,
"description": "The name of the product for an order line item."
},
"product_variant_id": {
"type": "string",
"title": "Order Line Item Product Variant Foreign ID",
"description": "A unique identifier for the product variant associated with an order line item."
},
"product_variant_title": {
"type": "string",
"title": "Order Line Item Product Variant Title",
"readOnly": true,
"description": "The name of the product variant for an order line item."
}
},
"description": "Information about a specific order line."
}
EcommerceGetOrderLineItemdefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceGetProductImageInfo200Response
{
"type": "object",
"title": "E-commerce Product Image",
"properties": {
"id": {
"type": "string",
"title": "Image Foreign ID",
"description": "A unique identifier for the product image."
},
"url": {
"type": "string",
"title": "URL",
"description": "The URL for a product image."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"variant_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Product Variants",
"description": "The list of product variants using the image."
}
},
"description": "Information about a specific product image."
}
EcommerceGetProductImageInfoResponse
{
"type": "object",
"title": "E-commerce Product Image",
"properties": {
"id": {
"type": "string",
"title": "Image Foreign ID",
"description": "A unique identifier for the product image."
},
"url": {
"type": "string",
"title": "URL",
"description": "The URL for a product image."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"variant_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Product Variants",
"description": "The list of product variants using the image."
}
},
"description": "Information about a specific product image."
}
EcommerceGetProductImageInfodefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceGetProductImages200Response
{
"type": "object",
"title": "Ecommerce Product Images",
"properties": {
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"images": {
"type": "array",
"items": {
"type": "object",
"title": "E-commerce Product Image",
"properties": {
"id": {
"type": "string",
"title": "Image Foreign ID",
"description": "A unique identifier for the product image."
},
"url": {
"type": "string",
"title": "URL",
"description": "The URL for a product image."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"variant_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Product Variants",
"description": "The list of product variants using the image."
}
},
"description": "Information about a specific product image."
},
"title": "Ecommerce Product Images",
"description": "An array of objects, each representing a product image resource."
},
"store_id": {
"type": "string",
"title": "Store ID",
"description": "The store id."
},
"product_id": {
"type": "string",
"title": "Product ID",
"description": "The product id."
},
"total_items": {
"type": "integer",
"title": "Item Count",
"readOnly": true,
"description": "The total number of items matching the query regardless of pagination."
}
},
"description": "A collection of a product's images."
}
EcommerceGetProductImagesResponse
{
"type": "object",
"title": "Ecommerce Product Images",
"properties": {
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"images": {
"type": "array",
"items": {
"type": "object",
"title": "E-commerce Product Image",
"properties": {
"id": {
"type": "string",
"title": "Image Foreign ID",
"description": "A unique identifier for the product image."
},
"url": {
"type": "string",
"title": "URL",
"description": "The URL for a product image."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"variant_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Product Variants",
"description": "The list of product variants using the image."
}
},
"description": "Information about a specific product image."
},
"title": "Ecommerce Product Images",
"description": "An array of objects, each representing a product image resource."
},
"store_id": {
"type": "string",
"title": "Store ID",
"description": "The store id."
},
"product_id": {
"type": "string",
"title": "Product ID",
"description": "The product id."
},
"total_items": {
"type": "integer",
"title": "Item Count",
"readOnly": true,
"description": "The total number of items matching the query regardless of pagination."
}
},
"description": "A collection of a product's images."
}
EcommerceGetProductImagesdefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceGetProductVariantInfo200Response
{
"type": "object",
"title": "E-commerce Product Variant",
"properties": {
"id": {
"type": "string",
"title": "Product Variant Foreign ID",
"readOnly": true,
"description": "A unique identifier for the product variant."
},
"sku": {
"type": "string",
"title": "SKU",
"description": "The stock keeping unit (SKU) of a product variant."
},
"url": {
"type": "string",
"title": "URL",
"description": "The URL for a product variant."
},
"price": {
"type": "number",
"title": "Price",
"description": "The price of a product variant."
},
"title": {
"type": "string",
"title": "Title",
"example": "Cat Hat",
"description": "The title of a product variant."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"image_url": {
"type": "string",
"title": "Image URL",
"description": "The image URL for a product variant."
},
"backorders": {
"type": "string",
"title": "Backorders",
"description": "The backorders of a product variant."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the product was created in ISO 8601 format."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the product was last updated in ISO 8601 format."
},
"visibility": {
"type": "string",
"title": "Visibility",
"description": "The visibility of a product variant."
},
"inventory_quantity": {
"type": "integer",
"title": "Inventory Quantity",
"description": "The inventory quantity of a product variant."
}
},
"description": "Information about a specific product variant."
}
EcommerceGetProductVariantInfoResponse
{
"type": "object",
"title": "E-commerce Product Variant",
"properties": {
"id": {
"type": "string",
"title": "Product Variant Foreign ID",
"readOnly": true,
"description": "A unique identifier for the product variant."
},
"sku": {
"type": "string",
"title": "SKU",
"description": "The stock keeping unit (SKU) of a product variant."
},
"url": {
"type": "string",
"title": "URL",
"description": "The URL for a product variant."
},
"price": {
"type": "number",
"title": "Price",
"description": "The price of a product variant."
},
"title": {
"type": "string",
"title": "Title",
"example": "Cat Hat",
"description": "The title of a product variant."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"image_url": {
"type": "string",
"title": "Image URL",
"description": "The image URL for a product variant."
},
"backorders": {
"type": "string",
"title": "Backorders",
"description": "The backorders of a product variant."
},
"created_at": {
"type": "string",
"title": "Creation Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the product was created in ISO 8601 format."
},
"updated_at": {
"type": "string",
"title": "Update Time",
"format": "date-time",
"example": "2015-07-15T19:28:00+00:00",
"readOnly": true,
"description": "The date and time the product was last updated in ISO 8601 format."
},
"visibility": {
"type": "string",
"title": "Visibility",
"description": "The visibility of a product variant."
},
"inventory_quantity": {
"type": "integer",
"title": "Inventory Quantity",
"description": "The inventory quantity of a product variant."
}
},
"description": "Information about a specific product variant."
}
EcommerceGetProductVariantInfodefaultResponse
{
"type": "object",
"title": "Problem Detail Document",
"required": [
"type",
"title",
"status",
"detail",
"instance"
],
"properties": {
"type": {
"type": "string",
"title": "Problem Type",
"example": "https://mailchimp.com/developer/marketing/docs/errors/",
"description": "An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type."
},
"title": {
"type": "string",
"title": "Error Title",
"example": "Resource Not Found",
"description": "A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"title": "Error Message",
"example": "The requested resource could not be found.",
"description": "A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](https://mailchimp.com/developer/)."
},
"status": {
"type": "integer",
"title": "HTTP Status Code",
"example": 404,
"description": "The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem."
},
"instance": {
"type": "string",
"title": "Instance ID",
"example": "995c5cb0-3280-4a6e-808b-3b096d0bb219",
"description": "A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support."
}
},
"description": "An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'."
}
EcommerceGetPromoCode200Response
{
"type": "object",
"title": "E-commerce Promo Code",
"properties": {
"id": {
"type": "string",
"title": "Promo Code Foreign ID",
"readOnly": true,
"description": "A unique identifier for the promo Code."
},
"code": {
"type": "string",
"title": "Promo Code",
"example": "summersale",
"description": "The discount code. Restricted to UTF-8 characters with max length 50."
},
"_links": {
"type": "array",
"items": {
"type": "object",
"title": "Resource Link",
"properties": {
"rel": {
"type": "string",
"title": "Rel",
"readOnly": true,
"description": "As with an HTML 'rel' attribute, this describes the type of link."
},
"href": {
"type": "string",
"title": "Href",
"readOnly": true,
"description": "This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS",
"HEAD"
],
"type": "string",
"title": "Method",
"readOnly": true,
"description": "The HTTP method that should be used when accessing the URL defined in 'href'."
},
"schema": {
"type": "string",
"title": "Schema",
"readOnly": true,
"description": "For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to."
},
"targetSchema": {
"type": "string",
"title": "Target Schema",
"readOnly": true,
"description": "For GETs, this is a URL representing the schema that the response should conform to."
}
},
"description": "This object represents a link from the resource where it is found to another resource or action that may be performed."
},
"title": "Links",
"readOnly": true,
"description": "A list of link types and descriptions for the API schema documents."
},
"enabled": {
"type": "boolean",
"title": "Enabled",
"example": true,
"description": "Whether the promo code is currently enabled."
},
"usage_count": {
"type": "integer",
"title": "Promo Code Usage Count",
"description": "Number of times promo code has been used."
},
"redemption_url": {
"type": "string",
"title": "Redemption Url",
"example": "A url that applies promo code directly at checkout or a url that points to sale page or store url",
"description": "The url that should be used in the promotion campaign restricted to UTF-8 characters with max length 2000."
},
"created_at_foreign": {
"type": "string",
"title": "Foreign Create Time",
"format": "date-time",
"description": "The date and time the promotion was created in ISO 8601 format."
},
"updated_at_foreign": {
"type": "string",
"title": "Foreign Update Time",
"format": "date-time",
"description": "The date and time the promotion was updated in ISO 8601 format."
}
},
"description": "Information about an Ecommerce Store's specific Promo Code"
}