Bulk update transport taxes - celdotro/marketplace GitHub Wiki

About

Updates all transport taxes for available categories

Class

celmarket\Admin\AdminInformation

Method

insertTaxForAllCategories

API

  • method: admininfo
  • action: insertTaxForAllCategories

Parameters

  • newValue = new value for all taxes
  • newLimit = new limit for all taxes

Response

An object with the following attributes

  • success = 1 - operation successfully executed

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Admin/15.insertTaxForAllCategories.php

Example - JSON

{
  "request": {
   "newValue": 1,
   "newLimit": 1 
  },
  
  "response": {
    "success": 1
  }
}
⚠️ **GitHub.com Fallback** ⚠️