23 April 2021
CartsProject configurationGraphQL
You can now set a Store on Shopping Lists, and view and manage Shopping Lists and My Shopping Lists in a Store.
When expanding the Line Items on a Shopping List in a Store, the prices, locales, and inventory are filtered to only include data for the specified Store.
- [API] Added the
storefield to ShoppingList, ShoppingListDraft, and MyShoppingListDraft. - [API] Added new Store-related scopes,
view_shopping_lists,manage_shopping_lists, andmanage_my_shopping_lists - [API] Added Get ShoppingList in Store by ID method to Shopping Lists and My Shopping Lists.
- [API] Added Get ShoppingList in Store by Key method to Shopping Lists and My Shopping Lists.
- [API] Added Query ShoppingLists in Store method to Shopping Lists and My Shopping Lists.
- [API] Added Create ShoppingList in Store method to Shopping Lists and My Shopping Lists.
- [API] Added Update ShoppingList in Store by ID method to Shopping Lists and My Shopping Lists.
- [API] Added Update ShoppingList in Store by Key method to Shopping Lists and My Shopping Lists.
- [API] Added Set Store update action to Shopping Lists.
- [API] Added Delete ShoppingList in Store by ID method to Shopping Lists and My Shopping Lists.
- [API] Added Delete ShoppingList in Store by Key method to Shopping Lists and My Shopping Lists.
- [GraphQL API] The existing query fields
inStoreandinStorescan be used to query, update and delete Shopping Lists in one or more Stores. The query fields can also be used for My Shopping Lists. - [GraphQL API] Changed the
ShoppingListQuerytype:- Added the
storefield to theShoppingListQuerytype.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type ShoppingListQuery {
store: Store
}