updateMerchantShippingAndTaxInfo method

Future updateMerchantShippingAndTaxInfo(
  1. dynamic id,
  2. dynamic taxId,
  3. dynamic taxPercent,
  4. dynamic shippingFee,
)

update merchant shipping and tax info

Implementation

Future updateMerchantShippingAndTaxInfo(id, taxId, taxPercent, shippingFee) async {
  var data = {
    'merchant_id': id,
    'tax_id': taxId,
    'tax_percent': taxPercent,
    'shipping_fee': shippingFee,
  };
  var apiResponse = await post("/merchant/update-merchant-tax-and-fee", data);
  return apiResponse;
}