Webiant Logo Webiant Logo
  1. No results found.

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

CreateImagesRequest.cs

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

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

/// 
/// Represents request to upload multiple images from URLs
/// 
public class CreateImagesRequest : ImageApiRequest
{
    /// 
    /// Gets or sets the images to upload
    /// 
    [JsonProperty(PropertyName = "imageUploads")]
    public List ImageUploads { get; set; }

    /// 
    /// Gets the request path
    /// 
    public override string Path => "v2/images/organizations/self/products/bulk";

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