Projekt

Allgemein

Profil

GX-Bug #69340

Von Moritz Bunjes vor etwa 3 Jahren aktualisiert

This new column google_export_condition_id in the table products_item_codes has currently (as of 4.5.1.0 RC1) 4.5.1.0) the default id 0, which does not exists. This can lead to products having not google export condition preselected.  

 The old column google_export_condition had a default value of "neu". Accordingly the google_export_condition_id column should have 1 as default value. "neu" 

 With the usage of Gambio Admin it is not possible to leave this required field empty but it is possible using the V2 REST API. The REST-API user is responsible for not sending 0 as a value. Nevertheless the old column googleExportCondition with the possible values neu, gebraucht and erneuert should still be supported. If the Body contains googleExportCondition and googleExportConditionId, googleExportCondition will be ignored. 

 Example JSON-Body for POST api.php/v2/products request is attached.

Zurück