I’m creating some checkout using the Storefront API. Everything seems to work well, and I get the webUrl along with the ID.
Now, I need some checkouts to expire after 5 minutes (as an example), or sometimes I need to invalidate some checkout URLs, but I don’t see a clear way to do this in the Storefront API docs.
The problem is that the checkout url is given to the customer in an email.
So I want it to expire after a few minutes. I need to invalidate a checkout
after few minutes. Maybe I could remove all line items after X minutes, but
I don’t think that is allowed.