Preia taxa de transport - celdotro/marketplace GitHub Wiki

Despre

Preia taxa de transport

Clasa

celmarket\Admin\AdminInformation

Metoda

getTransportTax

API

  • metoda: admininfo
  • actiune: getTransportTax

Parametri

  • (optional) id = ID-ul categoriei

Raspuns

Un obiect cu urmatoarele atribute

  • categ = taxa pentru fiecare categorie
  • default = implicit -> array
    • id_categorie = ID-ul categoriei
    • limita = limita
    • valoare = valoarea

Exemplu - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Admin/13.getTransportTax.php

Exemplu - JSON

{
  "request": {
   "id": 1 
  },
  
  "response": {
    "categ": [],
    "default": {
      "id_categorie": 1,
      "limit": 1,
      "valoare": 1
    }
  }
}
⚠️ **GitHub.com Fallback** ⚠️