mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-21 07:17:15 +00:00
Migration from Amazon MWS to Selling Partner API
This commit is contained in:
38
src/bnhtrade.Core/Test/Amazon/SP-API/VariousCalls.cs
Normal file
38
src/bnhtrade.Core/Test/Amazon/SP-API/VariousCalls.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace bnhtrade.Core.Test.Amazon.SP_API
|
||||
{
|
||||
public class VariousCalls
|
||||
{
|
||||
public VariousCalls()
|
||||
{
|
||||
GetCompetitivePrice();
|
||||
}
|
||||
|
||||
public void GetFeeEstimate()
|
||||
{
|
||||
var inst = new Data.Amazon.ProductFee.GetFeeEstimate();
|
||||
var result = inst.GetFba("B0009UBR3A", 12345, 20m);
|
||||
int i = 0;
|
||||
}
|
||||
|
||||
public void GetInventorySummary()
|
||||
{
|
||||
var skuList = new Data.Database.ReadRandomData().GetSkuNumber(75);
|
||||
var get = new Data.Amazon.FbaInventory.GetFbaInventoryInfo().GetFnsku(skuList);
|
||||
int i = 0;
|
||||
}
|
||||
|
||||
public void GetCompetitivePrice()
|
||||
{
|
||||
var asinList = new Data.Database.ReadRandomData().GetAsinNumber(30);
|
||||
//var result = new Data.Amazon.ProductPricing.GetCompetitivePricing().BySku(asinList);
|
||||
var result = new Data.Amazon.ProductPricing.GetCompetitivePricing().ByAsin(new List<string> { "B005EEQEIY" });
|
||||
int i = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user