using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace Nop.Plugin.Misc.Zettle.Domain.Api.Product; /// /// Represents request to create the single product /// public class CreateProductRequest : Product, IApiRequest, IAuthorizedRequest { /// /// Gets the request base URL /// [JsonIgnore] public string BaseUrl => "https://products.izettle.com/"; /// /// Gets the request path /// [JsonIgnore] public string Path => "organizations/self/products"; /// /// Gets the request method /// [JsonIgnore] public string Method => HttpMethods.Post; }