Class ByProjectKeyAssociateRolesPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyAssociateRolesPost>, ErrorableTrait<ByProjectKeyAssociateRolesPost>, ExpandableTrait<ByProjectKeyAssociateRolesPost>, ClientRequestCommand<AssociateRole>, CreateHttpRequestCommand, HttpRequestCommand<AssociateRole>, RequestCommand<AssociateRole>

Creating a Associate Role generates the AssociateRoleCreated Message.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.associate_role.AssociateRole>> result = apiRoot
            .withProjectKey("{projectKey}")
            .associateRoles()
            .post(null)
            .execute()