Get delivery information - celdotro/marketplace GitHub Wiki

About

Get information about delivery taxes

Class

celmarket\Admin\AdminInformation

Method

getDeliveryInformation

API

  • method: admininfo
  • action: getDeliveryInformation

Parameters

  • (none) = a dummy parameter will be sent

Response

An object with the following attributes

  • minim_bucuresti = minimum sum for free delivery in Bucharest
  • minim_tara = minimum sum for free delivery in the country
  • kgincluse = number of kg included in the minimum sum for free delivery
  • pretkginplus = price for every extra kg on top of the minimum sum for free delivery
  • deschiderecolet = package opening tax
    • -1 = no package opening
    • 0 = free package opening
    • > 0 = tax amount
  • baza = base price for transport

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Admin/17.getDeliveryInformation.php

Example - JSON

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