Shopify API - Paginated Result - Cursor link expiry

Topic summary

Focus: Validity period of Shopify REST API pagination cursor links (Link header URLs).

Key points:

  • The poster cites Shopify docs stating Link header URLs are temporary and shouldn’t be stored, and should be used only with the request that generated them.
  • They ask how long these cursor links remain valid (expiry duration), noting the docs don’t specify a timeframe.

Clarification of terms:

  • “Cursor link” refers to the next/previous page URLs provided in the HTTP Link header for paginated results.

Status:

  • No duration is provided in the cited documentation.
  • The question seeks community knowledge on expiry length; no answers or resolution are present yet.
Summarized with AI on January 16. AI used: gpt-5.

Hi there,

How long is the paginated link (cursor link) are valid for?

https://shopify.dev/docs/api/usage/pagination-rest

In the documentation, it says, we shouldn’t store the cursor

  • The link header URLs are temporary and we don’t recommend saving them to use later. Use link header URLs only while working with the request that generated them.

However, it doesn’t say, how long it is valid for? Does anybody know this information?