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