UNPKG

@apite/magento2-utility

Version:

Shopgate WebCheckout utility for Magento 2 extensions

61 lines (60 loc) 3.37 kB
{ "status": 404, "statusText": "Not Found", "headers": { "cache-control": "no-store", "content-type": "application/json; charset=utf-8", "expires": "Thu, 19 Nov 1981 08:52:00 GMT", "pragma": "no-cache", "server": "Caddy", "set-cookie": [ "PHPSESSID=4cknotcffq63g0sa45bun5e3kd; expires=Sat, 07 Sep 2024 21:23:27 GMT; Max-Age=3600; path=/; domain=192.168.1.33; HttpOnly; SameSite=Lax" ], "status": "404 Not Found", "x-powered-by": "PHP/8.2.3", "date": "Sat, 07 Sep 2024 20:23:27 GMT", "content-length": "1939", "connection": "close" }, "config": { "url": "/guest-carts/mZoty4WMy0PyY2Oxglqt7FYv6a7mJUK6/items/999", "method": "delete", "headers": { "Accept": "application/json", "shopgate-check": "true", "Cookie": "XDEBUG_SESSION=1;", "Content-Type": "application/json", "User-Agent": "axios/0.21.4" }, "baseURL": "http://192.168.1.33/rest/default/V1", "transformRequest": [ null ], "transformResponse": [ null ], "timeout": 0, "withCredentials": true, "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN", "maxContentLength": -1, "maxBodyLength": -1, "transitional": { "silentJSONParsing": true, "forcedJSONParsing": true, "clarifyTimeoutError": false } }, "request": { "method": "DELETE", "path": "/rest/default/V1/guest-carts/mZoty4WMy0PyY2Oxglqt7FYv6a7mJUK6/items/999" }, "data": { "message": "The %1 Cart doesn't contain the %2 item.", "parameters": [ "466", 999 ], "trace": "#0 /Users/konstantin/Dev/apite/m2-dev1/magento2/vendor/magento/module-quote/Model/GuestCart/GuestCartItemRepository.php(76): Magento\\Quote\\Model\\Quote\\Item\\Repository->deleteById()\n#1 [internal function]: Magento\\Quote\\Model\\GuestCart\\GuestCartItemRepository->deleteById()\n#2 /Users/konstantin/Dev/apite/m2-dev1/magento2/vendor/magento/module-webapi/Controller/Rest/SynchronousRequestProcessor.php(95): call_user_func_array()\n#3 /Users/konstantin/Dev/apite/m2-dev1/magento2/vendor/magento/module-webapi/Controller/Rest.php(202): Magento\\Webapi\\Controller\\Rest\\SynchronousRequestProcessor->process()\n#4 /Users/konstantin/Dev/apite/m2-dev1/magento2/vendor/magento/framework/Interception/Interceptor.php(58): Magento\\Webapi\\Controller\\Rest->dispatch()\n#5 /Users/konstantin/Dev/apite/m2-dev1/magento2/vendor/magento/framework/Interception/Interceptor.php(138): Magento\\Webapi\\Controller\\Rest\\Interceptor->___callParent()\n#6 /Users/konstantin/Dev/apite/m2-dev1/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\\Webapi\\Controller\\Rest\\Interceptor->Magento\\Framework\\Interception\\{closure}()\n#7 /Users/konstantin/Dev/apite/m2-dev1/magento2/generated/code/Magento/Webapi/Controller/Rest/Interceptor.php(23): Magento\\Webapi\\Controller\\Rest\\Interceptor->___callPlugins()\n#8 /Users/konstantin/Dev/apite/m2-dev1/magento2/vendor/magento/framework/App/Http.php(116): Magento\\Webapi\\Controller\\Rest\\Interceptor->dispatch()\n#9 /Users/konstantin/Dev/apite/m2-dev1/magento2/vendor/magento/framework/App/Bootstrap.php(264): Magento\\Framework\\App\\Http->launch()\n#10 /Users/konstantin/Dev/apite/m2-dev1/magento2/pub/index.php(30): Magento\\Framework\\App\\Bootstrap->run()\n#11 {main}" } }