Printful product availability changes ( and their notification system not so great ). From what I can tell, a store owner does not receive out-of-stock / discontinued information in the product sync api. However, it appears that they have a webhook that will notify of stock changes.
What I think we should do is unpublish any variant that is not available ( whether out of stock / discontinued ).
Unfortunately, from their documentation, they will only give this information on the Variant level. So, I think we should check to see if there are any published variants after updating, if not, unpublish the product.
Also unfortunate, they don't release any information about when an out-of-stock item may be back in stock. I also don't see where they would notify us when an item is available again. I'll send an email to their dev support. I'll also review their Woocommerce implementation to see how / if it's handled there.
If anyone has any ideas or concerns with my suggestions about how to handle discontinued / out-of-stock, please post some alternatives.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.