mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 14:37:16 +00:00
Migration from Amazon MWS to Selling Partner API
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using FBAInboundServiceMWS.Model;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -54,25 +53,12 @@ namespace bnhtrade.Core.Test
|
||||
// Console.WriteLine("Qty Received: " + item.QuantityReceived);
|
||||
//}
|
||||
|
||||
var howto = new Data.Database.AmazonShipment.SetShipmentInfo(sqlConnectionString);
|
||||
var howto = new Data.Database.AmazonShipment.SetShipmentInfo();
|
||||
howto.Excecute(info);
|
||||
|
||||
var testkkkk = new Data.Database.AmazonShipment.ReadShipmentPrimaryKey(sqlConnectionString);
|
||||
var testkkkk = new Data.Database.AmazonShipment.ReadShipmentPrimaryKey();
|
||||
int pknumber = testkkkk.ByAmazonShipmentId("FBA15CJCZ12");
|
||||
Console.WriteLine("ShipmentPK: " + pknumber);
|
||||
}
|
||||
public void GetMWSInfo()
|
||||
{
|
||||
var request = new ListInboundShipmentsRequest();
|
||||
|
||||
request.LastUpdatedBefore = new DateTime(2019, 06, 21);
|
||||
request.LastUpdatedAfter = new DateTime(2019, 01, 01);
|
||||
|
||||
var task = new Data.AmazonMWS.FBAInbound.ListInboundShipments();
|
||||
task.LastUpdatedBefore = new DateTime(2019, 06, 25);
|
||||
task.LastUpdatedAfter = new DateTime(2018, 01, 01);
|
||||
var result = task.GetShipmentInfo();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user