| Аргумент | Возможный тип | Описание |
| $search_data | — | — |
foreach ($search_data as $products) {
foreach ($products as $product) {
$this->db->query("
REPLACE INTO " . DB_PREFIX . "amazon_product_search (product_id, `status`, marketplace)
VALUES (" . (int)$product['product_id'] . ", 'searching', '" . $this->db->escape($product['marketplace']) . "')");
}
}
$request_data = array(
'search' => $search_data,
'response_url' => HTTPS_CATALOG . 'index.php?route=amazon/search'
);
$this->openbay->amazon->callWithResponse('productv3/bulkSearch', $request_data);