for await (const item of stockshift.paginate("/catalog/items", { query: { search: "bolt" } })) { console.log(item.sku);}
for item in stockshift.catalog.iter_items(search="bolt"): print(item.sku)
for item, err := range client.Catalog.ListItemsAll(ctx, nil) { if err != nil { return err } fmt.Println(item.SKU)}
La page de chaque SDK donne les détails.
Cette page vous a-t-elle été utile ?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"StockShift Developers","description":"Build on StockShift: the REST API, webhooks, the MCP server and SDKs for TypeScript, PHP, Laravel, Python, Go, Rust and .NET.","colors":{"primary":"#c4400e","light":"#ff7a4f","dark":"#a8370c"},"logo":{"light":"https://mintcdn.com/stock-shift/veECiA638KjVgilP/logo/light.svg?fit=max\u0026auto=format\u0026n=veECiA638KjVgilP\u0026q=85\u0026s=c33bd50768974f62f8e61a994cd1d200","dark":"https://mintcdn.com/stock-shift/veECiA638KjVgilP/logo/dark.svg?fit=max\u0026auto=format\u0026n=veECiA638KjVgilP\u0026q=85\u0026s=74bfe4a79e2daaa03bea6fe5da4e3a83"},"favicon":"https://mintcdn.com/stock-shift/veECiA638KjVgilP/favicon.svg?fit=max\u0026auto=format\u0026n=veECiA638KjVgilP\u0026q=85\u0026s=e0bd7c6d3000160e67c8476f7122e320","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","php","go"]}},"background":{"color":{"light":"#ffffff","dark":"#16191d"}},"navbar":{"links":[{"href":"https://knowledge.stockshift.io","label":"Help center"}],"primary":{"type":"button","label":"Open StockShift","href":"https://app.stockshift.io"}},"footer":{"links":[{"header":"StockShift","items":[{"label":"Website","href":"https://stockshift.io"},{"label":"Help center","href":"https://knowledge.stockshift.io"},{"label":"Sign in","href":"https://app.stockshift.io"}]}]},"seo":{"metatags":{"og:site_name":"StockShift Developers"}},"fonts":{"family":"Strawford","weight":400,"source":"fonts/strawford-regular-webfont.woff2","format":"woff2"},"icons":{"library":"lucide"},"errors":{"404":{"redirect":false,"title":"Page not found","description":"That page moved or never existed. Try the [quickstart](/quickstart) or the [API reference](/api-reference/introduction)."}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode","download-spec"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"es","footer":{"links":[{"header":"StockShift","items":[{"label":"Sitio web","href":"https://stockshift.io"},{"label":"Centro de ayuda","href":"https://knowledge.stockshift.io"},{"label":"Iniciar sesión","href":"https://app.stockshift.io"}]}]},"navbar":{"links":[{"href":"https://knowledge.stockshift.io","label":"Centro de ayuda"}],"primary":{"type":"button","label":"Abrir StockShift","href":"https://app.stockshift.io"}},"href":"es"},{"language":"fr-CA","footer":{"links":[{"header":"StockShift","items":[{"label":"Site Web","href":"https://stockshift.io"},{"label":"Centre d'aide","href":"https://knowledge.stockshift.io"},{"label":"Se connecter","href":"https://app.stockshift.io"}]}]},"navbar":{"links":[{"href":"https://knowledge.stockshift.io","label":"Centre d'aide"}],"primary":{"type":"button","label":"Ouvrir StockShift","href":"https://app.stockshift.io"}},"href":"fr-ca"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stock-shift","hasAudioNarration":false,"actualSubdomain":"stock-shift","customDomains":["docs.stockshift.io"],"gitSource":{"type":"github","owner":"stockshift","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6af3b63ef75528b5276fce1d"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af3e7df14b7dffd712f6617","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"en","tag":"API reference","count":756},{"language":"es","tag":"Referencia de la API","count":755},{"language":"fr-CA","tag":"Référence de l'API","count":755},{"language":"en","tag":"Integrations","count":105},{"language":"es","tag":"Integraciones","count":105},{"language":"fr-CA","tag":"Intégrations","count":105},{"language":"en","tag":"Inventory","count":85},{"language":"es","tag":"Inventario","count":84},{"language":"fr-CA","tag":"Inventaire","count":84},{"language":"en","tag":"Sales","count":79},{"language":"es","tag":"Ventas","count":79},{"language":"fr-CA","tag":"Ventes","count":79},{"language":"en","tag":"Connections","count":66},{"language":"es","tag":"Conexiones","count":66},{"language":"fr-CA","tag":"Connexions","count":66},{"language":"en","tag":"Manufacturing","count":53},{"language":"es","tag":"Fabricación","count":53},{"language":"fr-CA","tag":"Fabrication","count":53},{"language":"en","tag":"Access","count":51},{"language":"es","tag":"Acceso","count":51},{"language":"fr-CA","tag":"Accès","count":51},{"language":"en","tag":"Webhook events","count":46},{"language":"en","tag":"Catalog","count":46},{"language":"es","tag":"Eventos de webhook","count":46},{"language":"es","tag":"Catálogo","count":46},{"language":"fr-CA","tag":"Événements webhook","count":46},{"language":"fr-CA","tag":"Catalogue","count":46},{"language":"en","tag":"Purchasing","count":43},{"language":"es","tag":"Compras","count":43},{"language":"fr-CA","tag":"Achats","count":43}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Strawford\";src:url(\"/fonts/strawford-bold-webfont.woff2\") format(\"woff2\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Geist Mono\";src:url(\"/fonts/GeistMono-Regular.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Geist Mono\";src:url(\"/fonts/GeistMono-Medium.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}code,pre,kbd{font-family:\"Geist Mono\", ui-monospace, monospace!important}:root:not(.dark) #content-area{color:#263238}#page-title{letter-spacing:-0.01em}[data-component-part=\"card-content-container\"]{align-items:flex-start!important}[data-component-part=\"card-content-container\"] [data-component-part=\"card-icon\"]{margin-top:0}"}],"page":{"pagePath":"fr-ca/guides/pagination","slug":"/fr-ca/guides/pagination","pageMetadata":{"title":"Pagination","description":"Les listes qui peuvent s'allonger reviennent une page à la fois, avec un curseur.","icon":"list","href":"/fr-ca/guides/pagination"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Les listes qui peuvent s’allonger reviennent une page à la fois, avec un curseur.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Une liste qui peut s’allonger revient une page à la fois\\xA0:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_cursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJpZCI6IjAxSjhRWjRN...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Renvoyez `,_jsx(_components.code,{children:`next_cursor`}),` dans le paramètre de requête `,_jsx(_components.code,{children:`after`}),` pour obtenir la page suivante, et arrêtez quand il vaut `,_jsx(_components.code,{children:`null`}),`\\xA0:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.stockshift.io/api/v1/catalog/items?after=eyJpZCI6IjAxSjhRWjRN...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$STOCKSHIFT_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Traitez le curseur comme une valeur opaque. Ne l’analysez pas et n’en fabriquez pas vous-même.`}),`\n`,_jsx(Heading,{level:`2`,id:`avec-un-sdk`,children:`Avec un SDK`}),`\n`,_jsx(_components.p,{children:`Chaque SDK suit les curseurs pour vous\\xA0:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`3`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` item`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` stockshift`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`paginate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/catalog/items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`query:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`search:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bolt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } })) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`item`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sku`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`2`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` item `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` stockshift.catalog.iter_items(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`search`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bolt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(item.sku)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`6`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` item`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` range`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Catalog`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`ListItemsAll`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ctx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`nil`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\tif`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` nil`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\t\treturn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\tfmt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Println`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`item`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`SKU`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:`La page de chaque SDK donne les détails.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Pagination","description":"Les listes qui peuvent s'allonger reviennent une page à la fois, avec un curseur.","icon":"list","href":"/fr-ca/guides/pagination"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Avec un SDK","slug":"avec-un-sdk","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"stock-shift","siteName":"StockShift Developers","title":"Pagination - StockShift Developers","relatedPagesConfig":{"enabled":true,"limit":3,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/guides/pagination","matchLevel":1},"es":{"href":"/es/guides/pagination","matchLevel":1},"fr-CA":{"href":"/fr-ca/guides/pagination","matchLevel":0}}},"lastModified":"2026-11-11T03:59:52.837Z","originalFileLocation":"fr-ca/guides/pagination.mdx","locale":"fr-CA"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Les listes qui peuvent s\u0026#x27;allonger reviennent une page à la fois, avec un curseur.\">\u003cmeta data-mint-head name=\"application-name\" content=\"StockShift Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pagination - StockShift Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Les listes qui peuvent s\u0026#x27;allonger reviennent une page à la fois, avec un curseur.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StockShift Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stockshift.io/fr-ca/guides/pagination\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stock-shift.mintlify.site/_mintlify/api/og/v2?division=Utiliser+l%27API\u0026amp;title=Pagination\u0026amp;description=Les+listes+qui+peuvent+s%27allonger+reviennent+une+page+%C3%A0+la+fois%2C+avec+un+curseur.\u0026amp;theme=14e6ddc52e6b5f7c7f3a5e98\u0026amp;signature=2dfdaf963afc3e0fd782c94a004af56a7e9217f90b50a05f416fa15a43935220\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Pagination - StockShift Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Les listes qui peuvent s\u0026#x27;allonger reviennent une page à la fois, avec un curseur.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stock-shift.mintlify.site/_mintlify/api/og/v2?division=Utiliser+l%27API\u0026amp;title=Pagination\u0026amp;description=Les+listes+qui+peuvent+s%27allonger+reviennent+une+page+%C3%A0+la+fois%2C+avec+un+curseur.\u0026amp;theme=14e6ddc52e6b5f7c7f3a5e98\u0026amp;signature=2dfdaf963afc3e0fd782c94a004af56a7e9217f90b50a05f416fa15a43935220\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/stock-shift/8prymB6WP5nWwl8n/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"StockShift Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c4400e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stockshift.io/fr-ca/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fr-ca/guides/pagination.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr-CA\" href=\"https://docs.stockshift.io/fr-ca/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.stockshift.io/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.stockshift.io/es/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.stockshift.io/guides/pagination\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stockshift.io/#organization\",\"name\":\"StockShift Developers\",\"url\":\"https://docs.stockshift.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stock-shift/veECiA638KjVgilP/logo/light.svg?fit=max\u0026auto=format\u0026n=veECiA638KjVgilP\u0026q=85\u0026s=c33bd50768974f62f8e61a994cd1d200\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stockshift.io#website\",\"name\":\"StockShift Developers\",\"url\":\"https://docs.stockshift.io\",\"publisher\":{\"@id\":\"https://docs.stockshift.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stockshift.io/fr-ca/guides/pagination#webpage\",\"url\":\"https://docs.stockshift.io/fr-ca/guides/pagination\",\"name\":\"Pagination\",\"description\":\"Les listes qui peuvent s'allonger reviennent une page à la fois, avec un curseur.\",\"dateModified\":\"2026-11-11T03:59:52.837Z\",\"isPartOf\":{\"@id\":\"https://docs.stockshift.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stockshift.io/fr-ca/guides/pagination#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stockshift.io/fr-ca/guides/pagination#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Utiliser l'API\",\"item\":\"https://docs.stockshift.io/fr-ca/guides/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pagination\",\"item\":\"https://docs.stockshift.io/fr-ca/guides/pagination\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.stockshift.io/fr-ca/guides/pagination#article\",\"headline\":\"Pagination\",\"name\":\"Pagination\",\"description\":\"Les listes qui peuvent s'allonger reviennent une page à la fois, avec un curseur.\",\"url\":\"https://docs.stockshift.io/fr-ca/guides/pagination\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stockshift.io/fr-ca/guides/pagination#webpage\"},\"dateModified\":\"2026-11-11T03:59:52.837Z\",\"publisher\":{\"@id\":\"https://docs.stockshift.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stockshift.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"StockShift Developers\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"StockShift Developers\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/fr-ca/guides/pagination.md","siteName":"StockShift Developers","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/guides/pagination"}]},{"language":"es","footer":{"links":[{"header":"StockShift","items":[{"label":"Sitio web","href":"https://stockshift.io"},{"label":"Centro de ayuda","href":"https://knowledge.stockshift.io"},{"label":"Iniciar sesión","href":"https://app.stockshift.io"}]}]},"navbar":{"links":[{"href":"https://knowledge.stockshift.io","label":"Centro de ayuda"}],"primary":{"type":"button","label":"Abrir StockShift","href":"https://app.stockshift.io"}},"pages":[{"title":"es","href":"/es/guides/pagination"}]},{"language":"fr-CA","footer":{"links":[{"header":"StockShift","items":[{"label":"Site Web","href":"https://stockshift.io"},{"label":"Centre d'aide","href":"https://knowledge.stockshift.io"},{"label":"Se connecter","href":"https://app.stockshift.io"}]}]},"navbar":{"links":[{"href":"https://knowledge.stockshift.io","label":"Centre d'aide"}],"primary":{"type":"button","label":"Ouvrir StockShift","href":"https://app.stockshift.io"}},"tabs":[{"tab":"Guides","groups":[{"group":"Pour commencer","pages":[{"title":"StockShift pour les développeurs","sidebarTitle":"Introduction","icon":"house","href":"/fr-ca"},{"title":"Démarrage rapide","icon":"rocket","href":"/fr-ca/quickstart"}]},{"group":"Utiliser l'API","pages":[{"title":"Authentification","icon":"key-round","href":"/fr-ca/guides/authentication"},{"title":"Autorisations et portées","description":"Deux vérifications s'appliquent à chaque appel : l'autorisation du membre et la portée du jeton.","icon":"shield-check","href":"/fr-ca/guides/permissions-and-scopes"},{"title":"Pagination","icon":"list","href":"/fr-ca/guides/pagination"},{"title":"Erreurs","description":"Les erreurs sont des détails de problème RFC 9457. Basez votre logique sur le code.","icon":"circle-alert","href":"/fr-ca/guides/errors"},{"title":"Limites de débit","icon":"gauge","href":"/fr-ca/guides/rate-limits"},{"title":"Réessayer sans risque","icon":"repeat","href":"/fr-ca/guides/idempotency"}]},{"group":"Événements et applications","pages":[{"title":"Webhooks","icon":"webhook","href":"/fr-ca/guides/webhooks"},{"title":"Applications OAuth","icon":"plug","href":"/fr-ca/guides/oauth-apps"},{"title":"Serveur MCP","icon":"bot","href":"/fr-ca/guides/mcp"}]}]},{"tab":"Référence de l'API","pages":[{"title":"Référence de l'API","href":"/fr-ca/api-reference/introduction"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/fr-ca/sdks"}]}]}]},"basePath":"","title":"Pagination - StockShift Developers","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":[],"chunks":[]}