Webiant Logo Webiant Logo
  1. No results found.

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

CreateCategoryRequest.cs

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

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

/// 
/// Represents request to create category
/// 
public class CreateCategoryRequest : ProductApiRequest
{
    /// 
    /// Gets or sets the categories
    /// 
    [JsonProperty(PropertyName = "categories")]
    public List Categories { get; set; }

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

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