fxc 2 months ago
commit 8220c64edf

@ -28906,6 +28906,7 @@ namespace TradeManageNew
try
{
var imageUrls = JsonConvert.DeserializeObject<List<string>>(orderUsedSalePlatform.ImageUrls);
//在Shopify创建产品变体信息
var createShopifyVariantParameter = new AddVariantRequest
{
@ -28924,7 +28925,15 @@ namespace TradeManageNew
Variants = new Variants
{
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,
},
};

Loading…
Cancel
Save