def update_items(items): api=MerchantsAPI() res=api.update_items(items) if res is False: self._log_error("cimriservice update failed") return res