diff --git a/src/Kentico.Xperience.Ecommerce.Common/ContentItemSynchronization/ContentItemServiceBase.cs b/src/Kentico.Xperience.Ecommerce.Common/ContentItemSynchronization/ContentItemServiceBase.cs index 4beba1d..71b0a11 100644 --- a/src/Kentico.Xperience.Ecommerce.Common/ContentItemSynchronization/ContentItemServiceBase.cs +++ b/src/Kentico.Xperience.Ecommerce.Common/ContentItemSynchronization/ContentItemServiceBase.cs @@ -68,7 +68,7 @@ public async Task UpdateContentItem(ContentItemUpdateParams updateParams) return versionStatus switch { VersionStatus.Published => await contentItemManager.TryPublish(updateParams.ContentItemID, updateParams.LanguageName), - VersionStatus.Archived => await contentItemManager.TryArchive(updateParams.ContentItemID, updateParams.LanguageName), + VersionStatus.Unpublished => await contentItemManager.TryUnpublish(updateParams.ContentItemID, updateParams.LanguageName), VersionStatus.InitialDraft => true, VersionStatus.Draft => true, _ => true,