public Optional < PartnerSubscription > create ( long partnerId , long accountId , List < ProductSubscription > subscriptions ) { return HTTP . POST ( String . format ( "/v2/partners/%d/accounts/%d/subscriptions" , partnerId , accountId ) , subscriptions , PARTNER_SUBSCRIPTION ) ; }
Raplaces the subscriptions on the account with the given subscriptions .