Skip to content

Commit 0c21624

Browse files
committed
pricing test
1 parent 79521f4 commit 0c21624

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Source/FikaAmazonAPI.SampleCode/Program.cs

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,17 @@ static async Task Main(string[] args)
3636

3737

3838

39-
40-
//use this method automatically know if the report are RDT or not
41-
var data2222 = amazonConnection.Reports.CreateReportAndDownloadFile(ReportTypes.GET_FLAT_FILE_ACTIONABLE_ORDER_DATA_SHIPPING, DateTime.UtcNow.AddDays(-2), DateTime.UtcNow, null);
42-
43-
// OR USE this method to get the document and pass parameter isRestrictedReport = true in case the report will return PII data
44-
45-
var data11111 = amazonConnection.Reports.GetReportDocument("50039018869997", true);
46-
47-
48-
49-
39+
var alllll = amazonConnection.ProductPricing.GetItemOffers(new Parameter.ProductPricing.ParameterGetItemOffers
40+
{
41+
Asin = "B00DLWONF2",
42+
ItemCondition = ItemCondition.New,
43+
});
5044

5145

5246

5347
var GetCatalogItem202204 = await amazonConnection.CatalogItem.GetCatalogItem202204Async(new Parameter.CatalogItems.ParameterGetCatalogItem
5448
{
55-
ASIN = "B00JK2YANC",
49+
ASIN = "B00DLWONF2",
5650
includedData = new[] { IncludedData.attributes, IncludedData.salesRanks, IncludedData.summaries, IncludedData.productTypes, IncludedData.relationships, IncludedData.dimensions, IncludedData.identifiers, IncludedData.images }
5751
});
5852

0 commit comments

Comments
 (0)