From 88e1a1e611828486b79ae33aa302000bc1160d33 Mon Sep 17 00:00:00 2001 From: Bea Antal Date: Mon, 27 Mar 2023 10:25:32 +0300 Subject: [PATCH 1/2] added gtin --- WooCommerce/v3/Product.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/WooCommerce/v3/Product.cs b/WooCommerce/v3/Product.cs index 36dd510..03e5562 100644 --- a/WooCommerce/v3/Product.cs +++ b/WooCommerce/v3/Product.cs @@ -442,6 +442,11 @@ public class Product : JsonObject [DataMember(EmitDefaultValue = false)] public List meta_data { get; set; } + /// + /// Container for error information, if any + /// + [DataMember(EmitDefaultValue = false)] + public string gtin { get; set; } /// /// Container for error information, if any /// From 0e4d5e2a54c00a69f145d8065911c627a7250ad8 Mon Sep 17 00:00:00 2001 From: Bea Antal Date: Thu, 30 Mar 2023 09:39:06 +0300 Subject: [PATCH 2/2] comment --- WooCommerce/v3/Product.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WooCommerce/v3/Product.cs b/WooCommerce/v3/Product.cs index 03e5562..0faa5ba 100644 --- a/WooCommerce/v3/Product.cs +++ b/WooCommerce/v3/Product.cs @@ -443,7 +443,7 @@ public class Product : JsonObject public List meta_data { get; set; } /// - /// Container for error information, if any + /// Product gtin value, unique, but not all stores has it /// [DataMember(EmitDefaultValue = false)] public string gtin { get; set; }