-
Notifications
You must be signed in to change notification settings - Fork 6
Migration Guide V3 to V4
The only breaking change in V4 is in the catalog module. If you are not using the catalog module, you can upgrade to V4 without any changes to your code.
- addItem
- addItemsBatch
- addOrUpdateItem
- getItem
- modifyItem
- removeItem
- addOrUpdateItemsBatch ➜ createOrReplaceItems
- getItems ➜ retrieveItems
- removeItemsBatch ➜ deleteItems
- updateItems
- createOrReplaceVariations
- updateVariations
- retrieveVariations
- deleteVariations
The rest of the functions do not have any changes.
One of the important changes is the separation of “Items” and “Variations”. Previously, variations lived under an “item” as an attribute. However, they now have their own functions for create, update, and remove operations. This change provides users more flexibility when making changes to variations.
The attributes of an “Item” did not change, however, the structure of the schema has changed. Detailed explanation of the attributes and an example can be found here.
The attributes of an “Variation” did not change, however, the structure of the schema has changed. Detailed explanation of the attributes and an example can be found here.
- createOrReplaceItems
- createOrReplaceVariations
- updateItems
- updateVariations
- deleteItems
- deleteVariations
Extended documentation about the functions in this SDK can be found here and REST API documentation can be found here.