public async Task <String> ExportInventoryAsync(IApiContext apiContext, Product product, IList <LocationInventory> locations)
        {
            await product.FillProductLocalizedImages(apiContext);

            var inventoryExportXml = product.BuildInventoryExportMessageAsync(ProviderCode, XRefMerchantId, locations);
            var client             = new InventoryImport_wrapService {
                Url = _inventoryImportServiceUrl
            };
            var result = await ExportInventoryAsyncTask(client, inventoryExportXml);

            return(result.Result);
        }
        public async Task <String> ExportProductAsync(IApiContext apiContext, Product product)
        {
            await product.FillProductLocalizedImages(apiContext);

            var productExportXml = product.BuildProductExportMessageAsync(ProviderCode, XRefMerchantId);
            var client           = new CatalogImport_wrapService {
                Url = _productImportServiceUrl
            };
            var result = await ExportProductAsyncTask(client, productExportXml);

            return(result.Result);
        }