Skip to content

Commit e1a0238

Browse files
authored
Merge pull request #668 from lboyarsky/main
Add releaseDate parameter to ItemSummaryByMarketplace
2 parents 9eadcff + c46fd35 commit e1a0238

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/CatalogItems/V20220401/ItemSummaryByMarketplace.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,14 @@ protected ItemSummaryByMarketplace() { }
8282
/// <param name="modelNumber">Model number associated with an Amazon catalog item..</param>
8383
/// <param name="packageQuantity">Quantity of an Amazon catalog item in one package..</param>
8484
/// <param name="partNumber">Part number associated with an Amazon catalog item..</param>
85+
/// <param name="releaseDate">First date on which an Amazon catalog item is shippable to customers..</param>
8586
/// <param name="size">Name of the size associated with an Amazon catalog item..</param>
8687
/// <param name="style">Name of the style associated with an Amazon catalog item..</param>
8788
/// <param name="websiteDisplayGroup">Name of the website display group associated with an Amazon catalog item..</param>
88-
public ItemSummaryByMarketplace(string marketplaceId = default(string), string brand = default(string), ItemBrowseClassification browseClassification = default(ItemBrowseClassification), string color = default(string), ItemClassificationEnum? itemClassification = default(ItemClassificationEnum?), string itemName = default(string), string manufacturer = default(string), string modelNumber = default(string), int? packageQuantity = default(int?), string partNumber = default(string), string size = default(string), string style = default(string), string websiteDisplayGroup = default(string), string websiteDisplayGroupName = default(string))
89+
public ItemSummaryByMarketplace(string marketplaceId = default, string brand = default, ItemBrowseClassification browseClassification = default,
90+
string color = default, ItemClassificationEnum? itemClassification = default, string itemName = default, string manufacturer = default,
91+
string modelNumber = default, int? packageQuantity = default, string partNumber = default, DateTime? releaseDate = default,
92+
string size = default, string style = default, string websiteDisplayGroup = default, string websiteDisplayGroupName = default)
8993
{
9094
// to ensure "marketplaceId" is required (not null)
9195
if (marketplaceId == null)
@@ -105,6 +109,7 @@ protected ItemSummaryByMarketplace() { }
105109
this.ModelNumber = modelNumber;
106110
this.PackageQuantity = packageQuantity;
107111
this.PartNumber = partNumber;
112+
this.ReleaseDate = releaseDate;
108113
this.Size = size;
109114
this.Style = style;
110115
this.WebsiteDisplayGroup = websiteDisplayGroup;
@@ -175,6 +180,13 @@ protected ItemSummaryByMarketplace() { }
175180
[DataMember(Name = "partNumber", EmitDefaultValue = false)]
176181
public string PartNumber { get; set; }
177182

183+
/// <summary>
184+
/// First date on which an Amazon catalog item is shippable to customers.
185+
/// </summary>
186+
/// <value>First date on which an Amazon catalog item is shippable to customers.</value>
187+
[DataMember(Name = "releaseDate", EmitDefaultValue = false)]
188+
public DateTime? ReleaseDate { get; set; }
189+
178190
/// <summary>
179191
/// Name of the size associated with an Amazon catalog item.
180192
/// </summary>

Source/FikaAmazonAPI/Utils/RateLimitsDefinitions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ internal static Dictionary<RateLimitType, RateLimits> RateLimitsTime()
172172
{ RateLimitType.ProductPricing_GetListingOffers, new RateLimits(1M, 2) },
173173
{ RateLimitType.ProductPricing_GetItemOffers, new RateLimits(0.5M, 1) },
174174

175-
{ RateLimitType.ProductPricing_GetItemOffersBatch, new RateLimits(0.5M, 1) },
175+
{ RateLimitType.ProductPricing_GetItemOffersBatch, new RateLimits(0.1M, 1) },
176176
{ RateLimitType.ProductPricing_GetListingOffersBatch, new RateLimits(0.5M, 1) },
177177

178178
{ RateLimitType.Sales_GetOrderMetrics, new RateLimits(0.5M, 15) },

0 commit comments

Comments
 (0)