Update delivery information - celdotro/marketplace GitHub Wiki

About

Updates information about delivery taxes

Class

celmarket\Admin\AdminInformation

Method

updateDeliveryInformation

API

  • method: admininfo
  • action: updateDeliveryInformation

Parameters

  • minimTara = minimum sum for free delivery inside the country
  • minimBucuresti = minimum sum for delivery in Bucharest
  • kgIncluse = weight in kg included in minimum sum
  • pretKgInPlus = price for each kg over the minimum weight
  • deschidereColet = tax for package opening
    • -1 = no package opening
    • 0 = free package opening
    • > 0 = tax amount
  • baza = base transport price

Response

An object with the following attributes

  • success = 1 - operation was successfully executed

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Admin/16.updateDeliveryInformation.php

Example - JSON

{
  "request": {
   "minimTara": 1,
   "minimBucuresti": 1,
   "kgIncluse": 1,
   "pretKgInPlus": 1,
   "deschidere colet": 0,
   "baza": 0 
  },
  
  "response": {
    "success": 1
  }
}
⚠️ **GitHub.com Fallback** ⚠️