public static MozuClient<com.mozu.api.contracts.customer.B2BUser> updateUserClient(com.mozu.api.contracts.customer.B2BUser user, Integer accountId, String userId, String responseFields) throws Exception
	{
		MozuUrl url = com.mozu.api.urls.commerce.customer.B2BAccountUrl.updateUserUrl(accountId, responseFields, userId);
		String verb = "PUT";
		Class<?> clz = com.mozu.api.contracts.customer.B2BUser.class;
		MozuClient<com.mozu.api.contracts.customer.B2BUser> mozuClient = (MozuClient<com.mozu.api.contracts.customer.B2BUser>) MozuClientFactory.getInstance(clz);
		mozuClient.setVerb(verb);
		mozuClient.setResourceUrl(url);
		mozuClient.setBody(user);
		return mozuClient;

	}
public static MozuClient < com . mozu . api . contracts . customer . B2BUser > updateUserClient ( com . mozu . api . contracts . customer . B2BUser user , Integer accountId , String userId , String responseFields ) throws Exception { MozuUrl url = com . mozu . api . urls . commerce . customer . B2BAccountUrl . updateUserUrl ( accountId , responseFields , userId ) ; String verb = "PUT" ; Class < ? > clz = com . mozu . api . contracts . customer . B2BUser . class ; MozuClient < com . mozu . api . contracts . customer . B2BUser > mozuClient = ( MozuClient < com . mozu . api . contracts . customer . B2BUser > ) MozuClientFactory . getInstance ( clz ) ; mozuClient . setVerb ( verb ) ; mozuClient . setResourceUrl ( url ) ; mozuClient . setBody ( user ) ; return mozuClient ; }
<p><pre><code>
MozuClient<com.mozu.api.contracts.customer.B2BUser> mozuClient=UpdateUserClient( user,  accountId,  userId,  responseFields);
client.setBaseAddress(url);
client.executeRequest();
B2BUser b2BUser = client.Result();
</code></pre></p>
@param accountId Unique identifier of the customer account.
@param responseFields Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.
@param userId Unique identifier of the user whose tenant scopes you want to retrieve.
@param user
@return Mozu.Api.MozuClient <com.mozu.api.contracts.customer.B2BUser>
@see com.mozu.api.contracts.customer.B2BUser
@see com.mozu.api.contracts.customer.B2BUser