Class ByProjectKeyAssociateRolesPostString

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyAssociateRolesPostString>, ErrorableTrait<ByProjectKeyAssociateRolesPostString>, ExpandableTrait<ByProjectKeyAssociateRolesPostString>, 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("")
            .execute()