Class ByProjectKeyMeShoppingListsPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyMeShoppingListsPost>, ErrorableTrait<ByProjectKeyMeShoppingListsPost>, ExpandableTrait<ByProjectKeyMeShoppingListsPost>, ClientRequestCommand<ShoppingList>, CreateHttpRequestCommand, HttpRequestCommand<ShoppingList>, RequestCommand<ShoppingList>

Creates a ShoppingList for the Customer or anonymous user. The customerId or anonymousId on the ShoppingList is automatically set based on the given customer:{id} or anonymous_id:{id} scope.



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