Holding inventory at checkout

Shopify Partner
16 1 2

I have a use case where we send a checkout link to a shopper, and we want that shopper to be able to "hold" that item for up to 2 hours without checking out.

In reading this thread, sounds like we can't use the "reserve_items_until" property.


Is there a best practice to enable inventory holding? Our workaround is the following:

  1. When we send a checkout link, we decrement the inventory quantity by 1
  2. We increment the quantity back up by 1 when the shopper clicks on the checkout link
  3. If the shopper doesn't click the link in the next 2 hours, we "release" it by incrementing the quantity back up by 1

It's not the most elegant solution. But I think it's our only way to implement inventory holds. Curious if anyone has other ideas?