Webiant Logo Webiant Logo
  1. No results found.

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

CreateImportRequest.cs

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

namespace Nop.Plugin.Misc.Zettle.Domain.Api.Product;

/// 
/// Represents request to create import of multiple product
/// 
public class CreateImportRequest : ProductApiRequest
{
    /// 
    /// Gets or sets the products
    /// 
    [JsonProperty(PropertyName = "products")]
    public List Products { get; set; }

    /// 
    /// Gets the request path
    /// 
    [JsonIgnore]
    public override string Path => "organizations/self/import/v2";

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