Webiant Logo Webiant Logo
  1. No results found.

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

GetLocationInventoryBalanceRequest.cs

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

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

/// 
/// Represents request to get location inventory balance
/// 
public class GetLocationInventoryBalanceRequest : InventoryApiRequest
{
    /// 
    /// Gets or sets the location type
    /// 
    [JsonIgnore]
    public string LocationType { get; set; } = "STORE";

    /// 
    /// Gets the request path
    /// 
    public override string Path => $"organizations/self/inventory/locations?type={LocationType.ToLower()}";

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