@@ -113,31 +113,31 @@ public async Task<IList<Categories>> ListCatalogCategoriesAsync(string ASIN, str
113
113
114
114
#region 2022-04-01
115
115
116
- /// <summary>
117
- /// Retrieves details for an item in the Amazon catalog.
118
- /// </summary>
119
- /// <param name="ASIN"></param>
120
- /// <param name="SellerSKU"></param>
121
- /// <param name="MarketPlaceID"></param>
122
- /// <returns></returns>
123
- /// <exception cref="InvalidDataException"></exception>
124
- public async Task < Item > GetCatalogItem202204Async ( ParameterGetCatalogItem parameterGetCatalogItem )
125
- {
126
- if ( string . IsNullOrEmpty ( parameterGetCatalogItem . ASIN ) )
127
- throw new InvalidDataException ( "asin is a required property and cannot be null" ) ;
116
+ ///// <summary>
117
+ ///// Retrieves details for an item in the Amazon catalog.
118
+ ///// </summary>
119
+ ///// <param name="ASIN"></param>
120
+ ///// <param name="SellerSKU"></param>
121
+ ///// <param name="MarketPlaceID"></param>
122
+ ///// <returns></returns>
123
+ ///// <exception cref="InvalidDataException"></exception>
124
+ // public async Task<Item> GetCatalogItem202204Async(ParameterGetCatalogItem parameterGetCatalogItem)
125
+ // {
126
+ // if (string.IsNullOrEmpty(parameterGetCatalogItem.ASIN))
127
+ // throw new InvalidDataException("asin is a required property and cannot be null");
128
128
129
- if ( parameterGetCatalogItem == null || parameterGetCatalogItem . marketplaceIds == null || parameterGetCatalogItem . marketplaceIds . Count == 0 )
130
- {
131
- parameterGetCatalogItem . marketplaceIds . Add ( AmazonCredential . MarketPlace . ID ) ;
132
- }
129
+ // if (parameterGetCatalogItem == null || parameterGetCatalogItem.marketplaceIds == null || parameterGetCatalogItem.marketplaceIds.Count == 0)
130
+ // {
131
+ // parameterGetCatalogItem.marketplaceIds.Add(AmazonCredential.MarketPlace.ID);
132
+ // }
133
133
134
- var param = parameterGetCatalogItem . getParameters ( ) ;
134
+ // var param = parameterGetCatalogItem.getParameters();
135
135
136
- await CreateAuthorizedRequestAsync ( CategoryApiUrls . GetCatalogItem202204 ( parameterGetCatalogItem . ASIN ) , RestSharp . Method . GET , param ) ;
137
- var response = await ExecuteRequestAsync < Item > ( ) ;
136
+ // await CreateAuthorizedRequestAsync(CategoryApiUrls.GetCatalogItem202204(parameterGetCatalogItem.ASIN), RestSharp.Method.GET, param);
137
+ // var response = await ExecuteRequestAsync<Item>();
138
138
139
- return response ;
140
- }
139
+ // return response;
140
+ // }
141
141
#endregion
142
142
}
143
143
}
0 commit comments