[ECOMMERCE-602] DOCU: Commerce tools (queries search only within 20 first items) Created: 30/Nov/23 Updated: 30/Nov/23 Resolved: 30/Nov/23 |
|
| Status: | Closed |
| Project: | E-commerce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.6 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Laura Podkoritnik | Assignee: | Laura Podkoritnik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: | |||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoR: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | AuthorX Support | ||||||||
| Work Started: | |||||||||
| Description |
|
For documentation consider this as customer optional value, that, IF NEEDED, they can adjust. The maximum value as it's commented in CommerceTools API is 500 which is something that maybe is not documented that can be configured. Resource app > Commercetools.yaml, where they set up the configuration can contain the parameter limit: class: info.magnolia.ecommerce.common.EcommerceDefinition type: commercetools enabled: true implementation: products: all: info.magnolia.ecommerce.commercetools.products.All byId: info.magnolia.ecommerce.commercetools.products.ById byCategoryId: info.magnolia.ecommerce.commercetools.products.ByCategoryId searchByText: info.magnolia.ecommerce.commercetools.products.SearchByText categories: all: info.magnolia.ecommerce.commercetools.categories.All byId: info.magnolia.ecommerce.commercetools.categories.ById byParentCategoryId: info.magnolia.ecommerce.commercetools.categories.ByParentCategoryId byProductId: info.magnolia.ecommerce.commercetools.categories.ByProductId connectionValidator: info.magnolia.ecommerce.commercetools.common.CommercetoolsConnectionValidator connections: connection: enabled: true authUrl: https://auth.sphere.io parameters: clientId: <clientId> clientSecret: <clientSecret> apiUrl: https://api.sphere.io projectKey: <projectKey> limit: 400 Please, note to customers is that by default max of 500 is the value as stated in here https://docs.commercetools.com/api/limits "Within a query, up to 500 elements can be fetched. When using pagination, the maximum offset is 10 000. " We still don´t support pagination but it will be needed. |