Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IdentifyRequest.cs

using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;

namespace Nop.Plugin.Misc.Brevo.MarketingAutomation;

/// 
/// Represents request to identify a customer
/// 
public class IdentifyRequest : Request
{
    /// 
    /// Gets or sets the email address of the user
    /// 
    [JsonProperty(PropertyName = "email")]
    public string Email { get; set; }

    /// 
    /// Gets or sets the object that contents all custom fields. Keep in mind that those user properties will populate your database on the Marketing Automation platform to create rich scenarios
    /// 
    [JsonProperty(PropertyName = "attributes")]
    public object Attributes { get; set; }

    /// 
    /// Gets the request path
    /// 
    public override string Path => "identify";

    /// 
    /// Gets the request method
    /// 
    public override string Method => HttpMethods.Post;
}