|
|
@ -28906,6 +28906,7 @@ namespace TradeManageNew
|
|
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
var imageUrls = JsonConvert.DeserializeObject<List<string>>(orderUsedSalePlatform.ImageUrls);
|
|
|
|
//在Shopify创建产品变体信息
|
|
|
|
//在Shopify创建产品变体信息
|
|
|
|
var createShopifyVariantParameter = new AddVariantRequest
|
|
|
|
var createShopifyVariantParameter = new AddVariantRequest
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -28924,7 +28925,15 @@ namespace TradeManageNew
|
|
|
|
Variants = new Variants
|
|
|
|
Variants = new Variants
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Return_quantity = 1,
|
|
|
|
Return_quantity = 1,
|
|
|
|
StoreName = orderUsedSalePlatform.WarehouseLocation.ToString(),
|
|
|
|
ImgUrl = imageUrls.Length > 0 ? imageUrls[0] : null,
|
|
|
|
|
|
|
|
ImgUrl2 = imageUrls.Length > 0 ? imageUrls[0] : null,
|
|
|
|
|
|
|
|
ImgUrl3 = imageUrls.Length > 0 ? imageUrls[0] : null,
|
|
|
|
|
|
|
|
ImgUrl4 = imageUrls.Length > 0 ? imageUrls[0] : null,
|
|
|
|
|
|
|
|
ImgUrl5 = imageUrls.Length > 0 ? imageUrls[0] : null,
|
|
|
|
|
|
|
|
StoreName = orderUsedSalePlatform.WarehouseLocation ==
|
|
|
|
|
|
|
|
TradeUsedSale.Enums.WarehouseLocation.East
|
|
|
|
|
|
|
|
? "E"
|
|
|
|
|
|
|
|
: "W",
|
|
|
|
Code = orderUsedSalePlatform.BarCode,
|
|
|
|
Code = orderUsedSalePlatform.BarCode,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|