{"section":"known-issues","requestedLocale":"en","requestedSlug":"get-all-sku-suggestions-api-doesnt-keep-same-sku-order-when-changing-limits","locale":"en","slug":"get-all-sku-suggestions-api-doesnt-keep-same-sku-order-when-changing-limits","path":"docs/en/known-issues/Marketplace/get-all-sku-suggestions-api-doesnt-keep-same-sku-order-when-changing-limits.md","branch":"main","content":"## Summary\n\n\n\nThe \"Get all SKU suggestions\" API has a limit of 20 skus per page.\n\nAPI documentation: https://developers.vtex.com/vtex-rest-api/reference/get-suggestions#getsuggestions\n\nOn the day to day work this disrupt the Marketplace's operation because every time the marketplace does a request changing the limits to obtain the next 20 skus, the order of the skus also changes and this gives the impression of having duplicate skus.\n\nWhen requesting this API using query params like \"sellerId\" this behavior happens. Requesting the API without query params, is possible to use the resource \"Next\" to prevent this issue.\n\n\n\n###\n\n## Simulation\n\n\n\n1. Request the \"Get all SKU suggestions\" API using query params: \"sellerId\";\n2. Change the limits at the params \"**_from\"** and \"**_to\"** to obtain the next skus;\n3. Verify if there is a sku on this page that already appeared on the previous pages.\n\n\n\n###\n\n## Workaround\n\n\n\nTo prevent this situation, use the exporting spreadsheet on the UI or use the API without params."}