All Release Notes

Add Store to Shopping List

23 April 2021
Enhancement
CartsStoresGraphQL

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 store field to ShoppingList, ShoppingListDraft, and MyShoppingListDraft.
  • [API] Added new Store-related scopes, view_shopping_lists, manage_shopping_lists, and manage_my_shopping_lists
  • [API] Added Get a ShoppingList in a Store by ID method to Shopping Lists and My Shopping Lists.
  • [API] Added Get a ShoppingList in a Store by Key method to Shopping Lists and My Shopping Lists.
  • [API] Added Query ShoppingLists in a Store method to Shopping Lists and My Shopping Lists.
  • [API] Added Create a ShoppingList in a Store method to Shopping Lists and My Shopping Lists.
  • [API] Added Update a ShoppingList in a Store by ID method to Shopping Lists and My Shopping Lists.
  • [API] Added Update a ShoppingList in a Store by Key method to Shopping Lists and My Shopping Lists.
  • [API] Added Set Store update action to Shopping Lists.
  • [API] Added Delete a ShoppingList in a Store by ID method to Shopping Lists and My Shopping Lists.
  • [API] Added Delete a ShoppingList in a Store by Key method to Shopping Lists and My Shopping Lists.
  • [GraphQL API] The existing query fields inStore and inStores can 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 ShoppingListQuery type:
    • Added the store field to the ShoppingListQuery type.

The following changes were introduced in terms of GraphQL SDL:

extend type ShoppingListQuery {
store: Store
}
Copyright © 2021 commercetools