File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
app/code/Magento/GiftMessage/etc
api-functional/testsuite/Magento/GiftMessage/Api
static/testsuite/Magento/Test/Php/_files/whitelist Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 19
19
<resource ref =" Magento_Sales::create" />
20
20
</resources >
21
21
</route >
22
- <route url =" /V1/carts/:cartId/gift-message" method =" PUT " >
22
+ <route url =" /V1/carts/:cartId/gift-message" method =" POST " >
23
23
<service class =" Magento\GiftMessage\Api\CartRepositoryInterface" method =" save" />
24
24
<resources >
25
25
<resource ref =" Magento_Sales::create" />
26
26
</resources >
27
27
</route >
28
- <route url =" /V1/carts/:cartId/gift-message/:itemId" method =" PUT " >
28
+ <route url =" /V1/carts/:cartId/gift-message/:itemId" method =" POST " >
29
29
<service class =" Magento\GiftMessage\Api\ItemRepositoryInterface" method =" save" />
30
30
<resources >
31
31
<resource ref =" Magento_Sales::create" />
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public function testSave()
77
77
$ serviceInfo = [
78
78
'rest ' => [
79
79
'resourcePath ' => self ::RESOURCE_PATH . $ cartId . '/gift-message ' ,
80
- 'httpMethod ' => RestConfig::HTTP_METHOD_PUT ,
80
+ 'httpMethod ' => RestConfig::HTTP_METHOD_POST ,
81
81
],
82
82
'soap ' => [
83
83
'service ' => self ::SERVICE_NAME ,
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function testSave()
82
82
$ serviceInfo = [
83
83
'rest ' => [
84
84
'resourcePath ' => self ::RESOURCE_PATH . $ cartId . '/gift-message/ ' . $ itemId ,
85
- 'httpMethod ' => RestConfig::HTTP_METHOD_PUT ,
85
+ 'httpMethod ' => RestConfig::HTTP_METHOD_POST ,
86
86
],
87
87
'soap ' => [
88
88
'service ' => self ::SERVICE_NAME ,
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ app/code/Magento/Directory/Model/Resource/Region
63
63
app/code/Magento/Eav/Model/Cache/Type.php
64
64
app/code/Magento/GiftMessage/Model/Plugin
65
65
app/code/Magento/GiftMessage/Model/Type/Plugin
66
- app/code/Magento/GiftMessage/Service
67
66
app/code/Magento/GoogleShopping/Block/SiteVerification.php
68
67
app/code/Magento/GoogleShopping/Model/AttributeFactory.php
69
68
app/code/Magento/GroupedImportExport
You can’t perform that action at this time.
0 commit comments