diff --git a/vendor/magento/module-webapi-async/Controller/Rest/Asynchronous/InputParamsResolver.php b/vendor/magento/module-webapi-async/Controller/Rest/Asynchronous/InputParamsResolver.php index 8601e5011bd..6718087888b 100644 --- a/vendor/magento/module-webapi-async/Controller/Rest/Asynchronous/InputParamsResolver.php +++ b/vendor/magento/module-webapi-async/Controller/Rest/Asynchronous/InputParamsResolver.php @@ -113,12 +113,13 @@ class InputParamsResolver $this->requestValidator->validate(); $webapiResolvedParams = []; + $inputData = $this->getInputData(); $route = $this->getRoute(); $routeServiceClass = $route->getServiceClass(); $routeServiceMethod = $route->getServiceMethod(); $this->inputArraySizeLimitValue->set($route->getInputArraySizeLimit()); - foreach ($this->getInputData() as $key => $singleEntityParams) { + foreach ($inputData as $key => $singleEntityParams) { $webapiResolvedParams[$key] = $this->resolveBulkItemParams( $singleEntityParams, $routeServiceClass,