FAQ

News

20.01.2024 | Erweiterung API-Funktion getCustomCatalogue

Die Funktion getCustomCatalogue wurde erweitert. Es ist jetzt möglich Preise für mehrere Mengen (bis zu 10) in einer Anfrage abzurufen.
Dazu werden im Parameter quantity mehrere Mengen angegeben.

Beispiel:
quantity=1_quantity|50_quantity|100_quantity

Die Preise werden im XML productList – selectGroupList – optionList im Array optionTranslations zurückgegeben.
Dabei entspricht der Wert im Feld optionName der angefragten Menge. (Im Beispiel 1_quantity oder 50_quantity oder 100_quantity)

Archiv

 

Bei der Bestellung können auch Sonderformate definiert werden. Dazu wählen Sie den gewünschten Artikel im nächstgrößeren Format und übergeben die Sonderformat-Werte über folgende zusätzliche Parameter im createOrder().

Beispiel
Für einen Flyer im Format 150 x 150 mm ist das nächst größere Format mit 183 x 273 mm auszuwählen.

class specialFormatType {
public $width; // int
public $height; // int
public $formatType; // string
}

class orderDataType {
public $customerProductId; // string
public $orderQuantity; // int
public $aspectRatio; // string
public $shippingType; // string
public $orderName; // string
public $customerCopy; // int
public $customerComment; // string
public $specialFormatValues;
}

$args->orderPositions[0]->orderInformation->specialFormatValues = new specialFormatType();
$args->orderPositions[0]->orderInformation->specialFormatValues->width = 150;
$args->orderPositions[0]->orderInformation->specialFormatValues->height = 150;
$args->orderPositions[0]->orderInformation->specialFormatValues->formatType = ‚special format‚;

Kategorie: Auftrag