Skip to content

Commit ded7356

Browse files
joepperkinsnozzlegear
authored andcommitted
Add CurrentQuantity, Gets or sets the current quantity of the item (If the Quantity is ajusted after the order is created this will show the current quantity).
1 parent 4e9fb38 commit ded7356

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ShopifySharp/Entities/LineItem.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ public class LineItem : ShopifyObject
5050
[JsonProperty("quantity")]
5151
public int? Quantity { get; set; }
5252

53+
/// <summary>
54+
/// Gets or sets the current quantity of the item (If the Quantity is ajusted after the order is created this will show the current quantity).
55+
/// </summary>
56+
[JsonProperty("current_quantity")]
57+
public int? CurrentQuantity { get; set; }
58+
5359
/// <summary>
5460
/// States whether or not the fulfillment requires shipping.
5561
/// </summary>

0 commit comments

Comments
 (0)