using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace Nop.Plugin.Misc.Zettle.Domain.Api.Product; /// /// Represents request to delete the single product /// public class DeleteProductRequest : ProductApiRequest { /// /// Gets or sets the product unique identifier as UUID version 1 /// [JsonIgnore] public string ProductUuid { get; set; } /// /// Gets the request path /// public override string Path => $"organizations/self/products/{ProductUuid}"; /// /// Gets the request method /// public override string Method => HttpMethods.Delete; }