{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mailchimp Marketing Abuse Customers API",
    "version": "3.0.55"
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mailchimp Customer Journeys Api Trigger for a Contact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/customer-journeys/journeys/:journey_id/steps/:step_id/actions/trigger",
            "params": [
              {
                "name": "journey_id",
                "value": "500123",
                "type": "path",
                "description": "The id for the Journey."
              },
              {
                "name": "step_id",
                "value": "500123",
                "type": "path",
                "description": "The id for the Step."
              }
            ]
          },
          "docs": "A step trigger in a Customer Journey. To use it, create a starting point or step from the Customer Journey builder in the app using the Customer Journeys API condition. Well provide a url during the process that includes the {journey_id} and {step_id}. Youll then be able to use this endpoint to trigger the condition for the posted contact."
        },
        {
          "info": {
            "name": "Mailchimp List Customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers",
            "params": [
              {
                "name": "fields",
                "value": "example_value",
                "type": "query",
                "description": "A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation."
              },
              {
                "name": "exclude_fields",
                "value": "example_value",
                "type": "query",
                "description": "A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation."
              },
              {
                "name": "count",
                "value": "example_value",
                "type": "query",
                "description": "The number of records to return. Default value is 10. Maximum value is 1000"
              },
              {
                "name": "offset",
                "value": "example_value",
                "type": "query",
                "description": "Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0."
              },
              {
                "name": "store_id",
                "value": "500123",
                "type": "path",
                "description": "The store id."
              },
              {
                "name": "email_address",
                "value": "user@example.com",
                "type": "query",
                "description": "Restrict the response to customers with the email address."
              }
            ]
          },
          "docs": "Get information about a store's customers."
        },
        {
          "info": {
            "name": "Mailchimp Add Customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers",
            "params": [
              {
                "name": "store_id",
                "value": "500123",
                "type": "path",
                "description": "The store id."
              }
            ]
          },
          "docs": "Add a new customer to a store."
        },
        {
          "info": {
            "name": "Mailchimp Get Customer Info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers/:customer_id",
            "params": [
              {
                "name": "fields",
                "value": "example_value",
                "type": "query",
                "description": "A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation."
              },
              {
                "name": "exclude_fields",
                "value": "example_value",
                "type": "query",
                "description": "A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation."
              },
              {
                "name": "store_id",
                "value": "500123",
                "type": "path",
                "description": "The store id."
              },
              {
                "name": "customer_id",
                "value": "500123",
                "type": "path",
                "description": "The id for the customer of a store."
              }
            ]
          },
          "docs": "Get information about a specific customer."
        },
        {
          "info": {
            "name": "Mailchimp Add or Update Customer",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers/:customer_id",
            "params": [
              {
                "name": "store_id",
                "value": "500123",
                "type": "path",
                "description": "The store id."
              },
              {
                "name": "customer_id",
                "value": "500123",
                "type": "path",
                "description": "The id for the customer of a store."
              }
            ]
          },
          "docs": "Add or update a customer."
        },
        {
          "info": {
            "name": "Mailchimp Update Customer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers/:customer_id",
            "params": [
              {
                "name": "store_id",
                "value": "500123",
                "type": "path",
                "description": "The store id."
              },
              {
                "name": "customer_id",
                "value": "500123",
                "type": "path",
                "description": "The id for the customer of a store."
              }
            ]
          },
          "docs": "Update a customer."
        },
        {
          "info": {
            "name": "Mailchimp Delete Customer",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers/:customer_id",
            "params": [
              {
                "name": "store_id",
                "value": "500123",
                "type": "path",
                "description": "The store id."
              },
              {
                "name": "customer_id",
                "value": "500123",
                "type": "path",
                "description": "The id for the customer of a store."
              }
            ]
          },
          "docs": "Delete a customer from a store."
        }
      ]
    }
  ],
  "bundled": true
}