cartUrl lifecycle

AI-generated summary

Main issue: clarifying how long a Shopify cartUrl remains valid and how various expirations affect saving and later accessing a cart.

Key questions:

  • How long until a cart becomes invalid? Is there a way to detect when a cartUrl is stale?
  • Can the same cartUrl be refreshed, or must a new link be generated?
  • What do these durations mean in practice: Checkout token expiration (1 hour), Abandoned checkout retention (up to 3 months), Cart expiration (10 days)?

Context: The poster is building a custom Shopify store flow centered on cartUrl creation and wants to store the link to revisit the cart later.

Concerns: Whether these expirations will affect cart functionality when returning via a saved cartUrl, and how to handle potential staleness.

Status: No answers or decisions yet; the thread is open with unresolved questions about lifecycle behavior, staleness checks, and refresh strategies.

I am building a custom Shopify store based on the cartUrl creation. How long does it take for carti to to become invalid?

is there any way to check if cartUrl becomes stale? Can I refresh the same link?

Can you explain this:

Checkout token expiration 1 hour

Abandoned checkout retention Up to 3 months

Cart expiration 10 days

How can it affect my flow with cartUrl creation if I am saving a link to access the cart later. Will it somehow affect the cart functionality?