Добавлена передача параметра site для методоа получения списка заказов
This commit is contained in:
parent
38e6ce092a
commit
243ec1ee99
@ -179,7 +179,7 @@ class RetailCrmOrder
|
||||
$length = 0;
|
||||
|
||||
if ('ordersEdit' === $methodApi) {
|
||||
$response = RCrmActions::apiMethod($api, 'ordersGet', __METHOD__, $order['externalId']);
|
||||
$response = RCrmActions::apiMethod($api, 'ordersGet', __METHOD__, $order['externalId'], $site);
|
||||
if (isset($response['order'])) {
|
||||
foreach ($response['order']['items'] as $k => $item) {
|
||||
$externalId = $k .'_'. $item['offer']['externalId'];
|
||||
|
Loading…
Reference in New Issue
Block a user