{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown","redocly_category":"Guides","api_domain":"Cross API"},"seo":{"title":"Pagination and filtering","description":"Overview of query parameters used to select, filter, sort, expand, and paginate Sales Layer API responses.","keywords":["Sales Layer","REST API","OpenAPI","DAM API","Catalog API","product catalog API","image management API","API integration"],"lang":"en-US","meta":[{"name":"og:type","content":"website"},{"name":"og:site_name","content":"Sales Layer REST API Documentation"},{"name":"og:title","content":"Sales Layer REST API Documentation"},{"name":"og:description","content":"Complete REST API documentation for Sales Layer's DAM and Catalog APIs. Learn authentication, pagination, filtering, and integration patterns."},{"name":"twitter:card","content":"summary_large_image"},{"name":"twitter:site","content":"@saleslayer"},{"name":"twitter:title","content":"Sales Layer REST API Documentation"},{"name":"twitter:description","content":"Complete REST API documentation for Sales Layer's DAM and Catalog APIs. Learn authentication, pagination, filtering, and integration patterns."}],"llmstxt":{"hide":false,"title":"Sales Layer REST API Documentation","description":"Technical guides and OpenAPI references for Sales Layer DAM and Catalog REST APIs.","sections":[{"title":"Guides","description":"Static API guides for authentication, headers, query parameters, responses, rate limiting, and best practices.","includeFiles":["guides/**/*.md","changelog.md"],"excludeFiles":[]},{"title":"API Reference","description":"OpenAPI-based references and API overview pages for Sales Layer REST APIs.","includeFiles":["apis/**/*.md","apis/**/*.yaml"],"excludeFiles":[]},{"title":"Postman collections","description":"Importable Postman collection and environment instructions for testing Sales Layer REST APIs.","includeFiles":["postman/**/*.md"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"pagination-and-filtering","__idx":0},"children":["Pagination and filtering"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sales Layer APIs support query parameters to control which records are returned and how much data each response contains."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The exact parameters depend on the API and endpoint. The OpenAPI reference is the source of truth for each operation."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"query-parameter-guide","__idx":1},"children":["Query parameter guide"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Purpose"},"children":["Purpose"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Guide"},"children":["Guide"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$select"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Choose specific fields in Catalog responses."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/select"},"children":["Select"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$filter"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Filter records by supported properties."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/filter"},"children":["Filter"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$orderby"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sort returned records."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/orderby"},"children":["Orderby"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$expand"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Include supported embedded Catalog collections."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/expand"},"children":["Expand"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$top"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Limit page size."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/page-size-limits"},"children":["Page size limits"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$skip"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skip a number of records for offset pagination."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/pagination-strategies"},"children":["Pagination strategies"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$skipToken"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Continue pagination from a token when supported."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/pagination-strategies"},"children":["Pagination strategies"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"supported-by-api","__idx":2},"children":["Supported by API"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"API"},"children":["API"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Documented query parameters"},"children":["Documented query parameters"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DAM REST API"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$filter"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$orderby"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$top"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$skip"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Catalog REST API"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$select"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$expand"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$filter"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$orderby"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$top"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$skip"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$skipToken"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"recommendations","__idx":3},"children":["Recommendations"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Request only the fields and records needed by the integration."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use metadata endpoints to discover Catalog fields."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Keep page sizes reasonable."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Apply filters before processing data client-side."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use stable sorting for repeatable pagination."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Handle empty result sets as valid responses."]}]}]},"headings":[{"value":"Pagination and filtering","id":"pagination-and-filtering","depth":1},{"value":"Query parameter guide","id":"query-parameter-guide","depth":2},{"value":"Supported by API","id":"supported-by-api","depth":2},{"value":"Recommendations","id":"recommendations","depth":2}],"frontmatter":{"seo":{"title":"Pagination and filtering","description":"Overview of query parameters used to select, filter, sort, expand, and paginate Sales Layer API responses."},"keywords":{"includes":["query parameters","pagination","filtering","sorting"]},"metadata":{"redocly_category":"Guides","api_domain":"Cross API"}},"lastModified":"2026-05-25T13:43:46.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/pagination-and-filtering","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}