Is it possible to create an unpublished / hidden version of the product through the Shopify API? I know that you can create a hidden product by specifying product['published'] = false in the POST request, but I just want to create a hidden option that can be added to the cart.
I am trying to create a sale item that is accessible to only one user with a specific cart. I can create a product variant through node.js and I can use AJAX to actually add the product to the cart on the client side, but I will never have access to the storeโs toolbar, so I canโt mask product variants through collections, related variants and etc.
Any help is much appreciated!
source share