public Optional < PartnerAccount > update ( long partnerId , PartnerAccount account ) { return HTTP . PUT ( String . format ( "/v2/partners/%d/accounts/%d" , partnerId , account . getId ( ) ) , account , PARTNER_ACCOUNT ) ; }
Updates the given account .