-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CSL-3114] Update docs to reflect new 10k limit #189
Merged
esezen
merged 3 commits into
master
from
csl-3114-node-sdk-docs-update-item-limits-for-items-api-to-10k
Mar 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,7 +179,7 @@ class Catalog { | |
} | ||
|
||
/** | ||
* Adds multiple items to your index whilst replacing existing ones (limit of 1,000) | ||
* Adds multiple items to your index whilst replacing existing ones (limit of 10,000) | ||
* | ||
* @function createOrReplaceItems | ||
* @param {object} parameters - Additional parameters for item details | ||
|
@@ -260,7 +260,7 @@ class Catalog { | |
} | ||
|
||
/** | ||
* Update multiple items to index (limit of 1,000) | ||
* Update multiple items to index (limit of 10,000) | ||
* | ||
* @function updateItems | ||
* @param {object} parameters - Additional parameters for item details | ||
|
@@ -352,7 +352,7 @@ class Catalog { | |
} | ||
|
||
/** | ||
* Remove multiple items from your index (limit of 1,000) | ||
* Remove multiple items from your index (limit of 10,000) | ||
* | ||
* @function deleteItems | ||
* @param {object} parameters - Additional parameters for item details | ||
|
@@ -501,7 +501,7 @@ class Catalog { | |
} | ||
|
||
/** | ||
* Adds multiple variations to your index whilst replacing existing ones (limit of 1,000) | ||
* Adds multiple variations to your index whilst replacing existing ones (limit of 10,000) | ||
* | ||
* @function createOrReplaceVariations | ||
* @param {object} parameters - Additional parameters for variation details | ||
|
@@ -584,7 +584,7 @@ class Catalog { | |
} | ||
|
||
/** | ||
* Update multiple variations to index (limit of 1,000) | ||
* Update multiple variations to index (limit of 10,000) | ||
* | ||
* @function updateVariations | ||
* @param {object} parameters - Additional parameters for variation details | ||
|
@@ -677,7 +677,7 @@ class Catalog { | |
} | ||
|
||
/** | ||
* Remove multiple variations from your index (limit of 1,000) | ||
* Remove multiple variations from your index (limit of 10,000) | ||
* | ||
* @function deleteVariations | ||
* @param {object} parameters - Additional parameters for variation details | ||
|
@@ -886,7 +886,7 @@ class Catalog { | |
} | ||
|
||
/** | ||
* Add item groups to index (limit of 1,000) | ||
* Add item groups to index (limit of 10,000) | ||
* | ||
* @function addItemGroups | ||
* @param {object} parameters - Additional parameters for item group details | ||
|
@@ -1036,7 +1036,7 @@ class Catalog { | |
} | ||
|
||
/** | ||
* Add multiple item groups to index whilst updating existing ones (limit of 1,000) | ||
* Add multiple item groups to index whilst updating existing ones (limit of 10,000) | ||
* | ||
* @function addOrUpdateItemGroups | ||
* @param {object} parameters - Additional parameters for item group details | ||
|
@@ -1119,6 +1119,7 @@ class Catalog { | |
* }, | ||
* }); | ||
*/ | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. extra space here |
||
modifyItemGroup(parameters = {}, networkParameters = {}) { | ||
let requestUrl; | ||
const { fetch } = this.options; | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Mudaafi Were you able to verify with backend that this 10k change was also applied to groups endpoint? I am asking because Items and Variations are on V2 and Groups are in V1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a good point, let me ask them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverting this to 1k items following backend's lead: https://constructor.slack.com/archives/CA44G41HA/p1709562698499959?thread_ts=1709314392.618379&cid=CA44G41HA