Exemplo n.º 1
0
 public CustomerUpdateResponse Update(string customerIdOrCode, string firstName = null, string lastName = null, string phone = null)
 =>
 _api.Put <CustomerUpdateResponse>($"customer/{customerIdOrCode}",
                                   new CustomerUpdateRequest()
 {
     FirstName = firstName,
     LastName  = lastName,
     Phone     = phone,
 }
                                   );
Exemplo n.º 2
0
 public SubAccountUpdateResponse Update(string idOrSlug, SubAccountUpdateRequest request) => _api.Put <SubAccountUpdateResponse>($"subaccount/{idOrSlug}", request);