* Alle Bestellungen eines Monats auslesen
* Details einer Bestellung auslesen
* Versandtracking setzen
* Bestellung abschließen
''' Kunden '''
protected $api_location;
protected $cURL;
protected $available_methods = array("GET","POST");
public function __construct($url, $user_name, $user_password) {
public function get($url) {
return $this->call($url, "GET");
}
public function post($url, $params) {
return $this->call($url, "POST", $params);
}
</source>
</tabber>
<br/><br/>Paketverfolgung setzen<br/><br/>
<tabber>
Abfrage=<source lang="php">
<?php
$api->post("ordertracking/11681",array("delivery" => "DHL", "code" => "00340434174844484564"));
?>
</source>
|-|
Antwort=<source lang="php">
(
[result] => ok
)
</source>
</tabber>
<br/><br/>Bestellung abschließen<br/><br/>
<tabber>
Abfrage=<source lang="php">
<?php
$api->post("ordersent/11681",array());
?>
</source>
|-|
Antwort=<source lang="php">
(
[result] => ok
)
</source>
</tabber>