Marketing

marketing-contact

{
  "addresses": {
    "items": {
      "properties": {
        "address_type": {
          "enum": [
            "PRIMARY",
            "SECONDARY",
            "OFFICE",
            "SHIPPING",
            "BILLING",
            "OTHER"
          ],
          "title": "Address Type",
          "type": "string"
        },
        "city": {
          "title": "City",
          "type": "string"
        },
        "country": {
          "title": "Country",
          "type": "string"
        },
        "postal_code": {
          "title": "Postal Code",
          "type": "string"
        },
        "state": {
          "title": "State",
          "type": "string"
        },
        "street_1": {
          "title": "Street 1",
          "type": "string"
        },
        "street_2": {
          "title": "Street 2",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Addresses",
    "type": "array"
  },
  "email_addresses": {
    "items": {
      "properties": {
        "email_address": {
          "format": "email",
          "title": "Email Address",
          "type": "string"
        },
        "email_type": {
          "enum": [
            "WORK",
            "PERSONAL",
            "OTHER"
          ],
          "title": "Email Type",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Email Addresses",
    "type": "array"
  },
  "first_name": {
    "title": "First Name",
    "type": "string"
  },
  "last_name": {
    "title": "Last Name",
    "type": "string"
  },
  "phone_numbers": {
    "items": {
      "properties": {
        "phone_number": {
          "title": "Phone Number",
          "type": "string"
        },
        "phone_type": {
          "enum": [
            "HOME",
            "WORK",
            "PERSONAL",
            "MOBILE",
            "OTHER"
          ],
          "title": "Phone Type",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Phone Numbers",
    "type": "array"
  },
  "status": {
    "title": "Status",
    "type": "string"
  }
}

Example Object:

{
  "addresses": [
    {
      "address_type": "PRIMARY",
      "city": "New York",
      "country": "USA",
      "postal_code": "10001",
      "state": "NY",
      "street_1": "123 Main Street",
      "street_2": "Apt 1"
    },
    {
      "address_type": "OFFICE",
      "city": "Los Angeles",
      "country": "USA",
      "postal_code": "90001",
      "state": "CA",
      "street_1": "456 Business Avenue",
      "street_2": "Suite 100"
    }
  ],
  "email_addresses": [
    {
      "email_address": "[email protected]",
      "email_type": "WORK"
    },
    {
      "email_address": "[email protected]",
      "email_type": "PERSONAL"
    }
  ],
  "first_name": "John",
  "last_name": "Doe",
  "phone_numbers": [
    {
      "phone_number": "123-456-7890",
      "phone_type": "HOME"
    },
    {
      "phone_number": "987-654-3210",
      "phone_type": "MOBILE"
    }
  ],
  "status": "ACTIVE"
}

marketing-customer

{
  "addresses": {
    "items": {
      "properties": {
        "address_type": {
          "enum": [
            "PRIMARY",
            "SECONDARY",
            "OFFICE",
            "SHIPPING",
            "BILLING",
            "OTHER"
          ],
          "title": "Address Type",
          "type": "string"
        },
        "city": {
          "title": "City",
          "type": "string"
        },
        "country": {
          "title": "Country",
          "type": "string"
        },
        "postal_code": {
          "title": "Postal Code",
          "type": "string"
        },
        "state": {
          "title": "State",
          "type": "string"
        },
        "street_1": {
          "title": "Street 1",
          "type": "string"
        },
        "street_2": {
          "title": "Street 2",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Addresses",
    "type": "array"
  },
  "company": {
    "title": "Company",
    "type": "string"
  },
  "email_addresses": {
    "items": {
      "properties": {
        "email_address": {
          "format": "email",
          "title": "Email Address",
          "type": "string"
        },
        "email_type": {
          "enum": [
            "WORK",
            "PERSONAL",
            "OTHER"
          ],
          "title": "Email Type",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Email Addresses",
    "type": "array"
  },
  "first_name": {
    "title": "First Name",
    "type": "string"
  },
  "job_title": {
    "title": "Job Title",
    "type": "string"
  },
  "last_name": {
    "title": "Last Name",
    "type": "string"
  },
  "phone_numbers": {
    "items": {
      "properties": {
        "phone_number": {
          "title": "Phone Number",
          "type": "string"
        },
        "phone_type": {
          "enum": [
            "HOME",
            "WORK",
            "PERSONAL",
            "MOBILE",
            "OTHER"
          ],
          "title": "Phone Type",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Phone Numbers",
    "type": "array"
  },
  "status": {
    "enum": [
      "SUBSCRIBED",
      "UNSUBSCRIBED",
      "CLEANED",
      "PENDING",
      "TRANSACTIONAL",
      "ARCHIVED"
    ],
    "title": "Status",
    "type": "string"
  }
}

Example Object:

{
  "addresses": [
    {
      "address_type": "PRIMARY",
      "city": "New York",
      "country": "USA",
      "postal_code": "10001",
      "state": "NY",
      "street_1": "123 Main St",
      "street_2": "Apt 1"
    },
    {
      "address_type": "SECONDARY",
      "city": "Los Angeles",
      "country": "USA",
      "postal_code": "90001",
      "state": "CA",
      "street_1": "456 Elm St",
      "street_2": "Apt 101"
    }
  ],
  "company": "Acme Corporation",
  "email_addresses": [
    {
      "email_address": "[email protected]",
      "email_type": "WORK"
    },
    {
      "email_address": "[email protected]",
      "email_type": "PERSONAL"
    }
  ],
  "first_name": "John",
  "job_title": "Software Engineer",
  "last_name": "Doe",
  "phone_numbers": [
    {
      "phone_number": "123-456-7890",
      "phone_type": "WORK"
    },
    {
      "phone_number": "987-654-3210",
      "phone_type": "MOBILE"
    }
  ],
  "status": "SUBSCRIBED"
}

marketing-lead

{
  "addresses": {
    "items": {
      "properties": {
        "address_type": {
          "enum": [
            "PRIMARY",
            "SECONDARY",
            "OFFICE",
            "SHIPPING",
            "BILLING",
            "OTHER"
          ],
          "title": "Address Type",
          "type": "string"
        },
        "city": {
          "title": "City",
          "type": "string"
        },
        "country": {
          "title": "Country",
          "type": "string"
        },
        "postal_code": {
          "title": "Postal Code",
          "type": "string"
        },
        "state": {
          "title": "State",
          "type": "string"
        },
        "street_1": {
          "title": "Street 1",
          "type": "string"
        },
        "street_2": {
          "title": "Street 2",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Addresses",
    "type": "array"
  },
  "company": {
    "title": "Company",
    "type": "string"
  },
  "email_addresses": {
    "items": {
      "properties": {
        "email_address": {
          "format": "email",
          "title": "Email Address",
          "type": "string"
        },
        "email_type": {
          "enum": [
            "WORK",
            "PERSONAL",
            "OTHER"
          ],
          "title": "Email Type",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Email Addresses",
    "type": "array"
  },
  "first_name": {
    "title": "First Name",
    "type": "string"
  },
  "job_title": {
    "title": "Job Title",
    "type": "string"
  },
  "last_name": {
    "title": "Last Name",
    "type": "string"
  },
  "lead_source": {
    "title": "Lead Source",
    "type": "string"
  },
  "phone_numbers": {
    "items": {
      "properties": {
        "phone_number": {
          "title": "Phone Number",
          "type": "string"
        },
        "phone_type": {
          "enum": [
            "HOME",
            "WORK",
            "PERSONAL",
            "MOBILE",
            "OTHER"
          ],
          "title": "Phone Type",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Phone Numbers",
    "type": "array"
  }
}

Example Object:

{
  "addresses": [
    {
      "address_type": "PRIMARY",
      "city": "New York",
      "country": "USA",
      "postal_code": "10001",
      "state": "NY",
      "street_1": "123 Main St",
      "street_2": "Apt 101"
    },
    {
      "address_type": "BILLING",
      "city": "Los Angeles",
      "country": "USA",
      "postal_code": "90001",
      "state": "CA",
      "street_1": "456 Elm St",
      "street_2": "Apt 101"
    }
  ],
  "company": "ABC Company",
  "email_addresses": [
    {
      "email_address": "[email protected]",
      "email_type": "WORK"
    },
    {
      "email_address": "[email protected]",
      "email_type": "PERSONAL"
    }
  ],
  "first_name": "John",
  "job_title": "Software Engineer",
  "last_name": "Doe",
  "lead_source": "Website",
  "phone_numbers": [
    {
      "phone_number": "123-456-7890",
      "phone_type": "HOME"
    },
    {
      "phone_number": "987-654-3210",
      "phone_type": "MOBILE"
    }
  ]
}

marketing-user

{
  "email_addresses": {
    "items": {
      "properties": {
        "email_address": {
          "format": "email",
          "title": "Email Address",
          "type": "string"
        },
        "email_type": {
          "enum": [
            "WORK",
            "PERSONAL",
            "OTHER"
          ],
          "title": "Email Type",
          "type": "string"
        }
      },
      "type": "object"
    },
    "title": "Email Addresses",
    "type": "array"
  },
  "is_active": {
    "title": "Active",
    "type": "boolean"
  },
  "name": {
    "title": "Name",
    "type": "string"
  }
}

Example Object:

{
  "addresses": [
    {
      "address_type": "PRIMARY",
      "city": "New York",
      "country": "USA",
      "postal_code": "10001",
      "state": "NY",
      "street_1": "123 Main St",
      "street_2": "Apt 101"
    },
    {
      "address_type": "BILLING",
      "city": "Los Angeles",
      "country": "USA",
      "postal_code": "90001",
      "state": "CA",
      "street_1": "456 Elm St",
      "street_2": "Apt 203"
    }
  ],
  "company": "ABC Company",
  "email_addresses": [
    {
      "email_address": "[email protected]",
      "email_type": "WORK"
    },
    {
      "email_address": "[email protected]",
      "email_type": "PERSONAL"
    }
  ],
  "first_name": "John",
  "job_title": "Software Engineer",
  "last_name": "Doe",
  "lead_source": "Website",
  "phone_numbers": [
    {
      "phone_number": "123-456-7890",
      "phone_type": "HOME"
    },
    {
      "phone_number": "987-654-3210",
      "phone_type": "MOBILE"
    }
  ]
}