Class ByProjectKeyInStoreKeyByStoreKeyMeGet

All Implemented Interfaces:
ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyMeGet>, PagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeGet>, QueryTrait<ByProjectKeyInStoreKeyByStoreKeyMeGet>, SortableTrait<ByProjectKeyInStoreKeyByStoreKeyMeGet>, ClientRequestCommand<Customer>, CreateHttpRequestCommand, HttpRequestCommand<Customer>, RequestCommand<Customer>

Returns a Customer for a given Query Predicate in a Store. Returns a 200 OK status if successful.

A ResourceNotFound error is returned in the following scenarios:

  • If no Customer exists in the Store for the given Query Predicate.
  • If a Customer exists in the Store for the given Query Predicate, but does not have an id value that matches the customer:{id} scope.
  • If a Customer exists for the given Query Predicate but is associated with a different Store than what is specified in the manage_my_profile:{projectKey}:{storeKey} scope.


   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .me()
            .get()
            .execute()