Class ByProjectKeyMeShoppingListsGet

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyMeShoppingListsGet>, ErrorableTrait<ByProjectKeyMeShoppingListsGet>, ExpandableTrait<ByProjectKeyMeShoppingListsGet>, PagingTrait<ByProjectKeyMeShoppingListsGet>, QueryTrait<ByProjectKeyMeShoppingListsGet>, SortableTrait<ByProjectKeyMeShoppingListsGet>, ClientRequestCommand<ShoppingListPagedQueryResponse>, CreateHttpRequestCommand, HttpRequestCommand<ShoppingListPagedQueryResponse>, RequestCommand<ShoppingListPagedQueryResponse>

Returns all ShoppingLists that match the given Query Predicate. Returns a 200 OK status if successful.

A ResourceNotFound error is returned in the following scenarios:

  • If no ShoppingList exists for the given Query Predicate.
  • If a ShoppingList exists but does not contain either an anonymousId that matches the anonymous_id:{id} scope, or a customer with id value that matches the customer:{id} scope.


   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.shopping_list.ShoppingListPagedQueryResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .me()
            .shoppingLists()
            .get()
            .execute()