Removes the current projection of the Product. The staged projection is unaffected. Unpublished Products only appear in query/search results with staged=false. Produces the ProductUnpublished Message.
UnpublishedProductscannotbeaddedtoaCart. However, ifaCartcontainsLineItemsforProductsthatwereaddedbeforetheProductwasunpublished, theCartisunaffectedandcanstillbeusedtocreateanOrder. Topreventthis, inadditiontounpublishingtheProductyoushouldremovethePricesfromtheProductusing [RemovePrice](ctp:api:type:ProductRemovePriceAction) forEmbeddedPricesor [DeleteStandalonePrice](/projects/standalone-prices#delete-standaloneprice) forStandalonePrices.
Removes the current projection of the Product. The staged projection is unaffected. Unpublished Products only appear in query/search results with
staged=false
. Produces the ProductUnpublished Message.