Добавлена передача параметра site для методоа получения списка заказов
This commit is contained in:
parent
38e6ce092a
commit
243ec1ee99
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue