Migration from Amazon MWS to Selling Partner API

This commit is contained in:
Bobbie Hodgetts
2024-04-11 12:26:13 +01:00
committed by GitHub
parent e054278cdd
commit a7bc00e73a
1318 changed files with 2778105 additions and 5936 deletions

View File

@@ -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();
}
}
}