updateMerchantContactInfo method

Future updateMerchantContactInfo(
  1. dynamic id,
  2. dynamic contactInfo,
  3. dynamic contactAddress
)

update merchant contact info

Implementation

Future updateMerchantContactInfo(id,contactInfo, contactAddress) async {
  var data = {
    'merchant_id': id,
    'contact_info': contactInfo,
    'contact_address': contactAddress,
  };
  var apiResponse = await post("/merchant/update-merchant-contact-and-address", data);
  return apiResponse;
}