File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Source/FikaAmazonAPI.SampleCode Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,17 @@ static async Task Main(string[] args)
33
33
34
34
var seller = await amazonConnection . Seller . GetMarketplaceParticipationsAsync ( ) ;
35
35
36
- var dataaa = amazonConnection . FbaInventory . GetInventorySummaries ( new Parameter . FbaInventory . ParameterGetInventorySummaries
36
+ var dataaa = await amazonConnection . FbaInventory . GetInventorySummariesAsync ( new Parameter . FbaInventory . ParameterGetInventorySummaries
37
37
{
38
38
granularityType = AmazonSpApiSDK . Models . FbaInventory . Granularity . GranularityTypeEnum . Marketplace ,
39
39
granularityId = config . GetSection ( "FikaAmazonAPI:MarketPlaceID" ) . Value
40
- } ) ; ;
40
+ } ) ;
41
41
42
42
ReportManager reportManager = new ReportManager ( amazonConnection ) ;
43
43
var products = reportManager . GetProducts ( ) ; //GET_MERCHANT_LISTINGS_ALL_DATA
44
44
var inventoryAging = reportManager . GetInventoryAging ( ) ; //GET_FBA_INVENTORY_AGED_DATA
45
- var ordersByDate = reportManager . GetOrdersByOrderDate ( 90 ) ; //GET_FLAT_FILE_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL
46
- var ordersByLastUpdate = reportManager . GetOrdersByLastUpdate ( 90 ) ; //GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_GENERAL
45
+ var ordersByDate = await reportManager . GetOrdersByOrderDateAsync ( 90 ) ; //GET_FLAT_FILE_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL
46
+ var ordersByLastUpdate = await reportManager . GetOrdersByLastUpdateAsync ( 90 ) ; //GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_GENERAL
47
47
var settlementOrder = reportManager . GetSettlementOrder ( 90 ) ; //GET_V2_SETTLEMENT_REPORT_DATA_FLAT_FILE_V2
48
48
var returnMFNOrder = reportManager . GetReturnMFNOrder ( 90 ) ; //GET_FLAT_FILE_RETURNS_DATA_BY_RETURN_DATE
49
49
var returnFBAOrder = reportManager . GetReturnFBAOrder ( 90 ) ; //GET_FBA_FULFILLMENT_CUSTOMER_RETURNS_DATA
You can’t perform that action at this time.
0 commit comments