Closed gainesyeild closed 2 years ago
Hi @gainesyeild. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release
For more details, review the Magento Contributor Assistant documentation.
Add a comment to assign the issue: @magento I am working on this
To learn more about issue processing workflow, refer to the Code Contributions.
Join Magento Community Engineering Slack and ask your questions in #github channel.
:warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
:clock10: You can find the schedule on the Magento Community Calendar page.
:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel
Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).Details
If the issue has a valid description, the label Issue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid
appears.
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description
label to the issue by yourself.
[ ] 3. Add Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.4-develop
branchDetails
- Add the comment @magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 5. Add label Issue: Confirmed
once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hi @gainesyeild , Thank you for reporting and collaboration. Verified this issue on Magento 2.4-develop branch with Inventory / MSI enabled but couldnot reproduce the issue. Steps performed:
HI,
I am having trouble understanding a few of the items. Firstly, I thought this was a Rest API and I am wondering why I need to install the Magento package. I can successfully hit other endpoints just not Inventory or Refunds. Second, what did you do in step 2? Third, I could never get the generate tokens endpoint to work which is why I have to do it for each endpoint.
I am using this: https://magento.redoc.ly/2.3.7-admin/tag/inventorystocks/#operation/inventoryApiStockRepositoryV1GetListGet as documentation. Do you have a more indepth documentation that developers can use? This might help me in understanding all of my above comments.
Thank you,
Gaines
On Tue, Jul 19, 2022 at 10:31 AM Girija Bhavani Kudupudi < @.***> wrote:
Hi @gainesyeild https://github.com/gainesyeild , Thank you for reporting and collaboration. Verified this issue on Magento 2.4-develop branch with Inventory / MSI enabled but couldnot reproduce the issue. Steps performed:
- Installed Magento inventory using ref guide https://github.com/magento/inventory/wiki/Metapackage-Installation-Guide
- Added source and stock in Stores - Inventory - Sources and Stock
- Sent POST API request to get admin integration token using /V1/integration/admin/token
- Sent GET API request to /V1/inventory/source-items/ No issue: Response retrieved as expected. [image: image] https://user-images.githubusercontent.com/60198231/179775767-cca777b0-ea60-4787-9ce5-689393cfef89.png Kindly recheck the issue on Magento 2.4-develop branch or latest 2.4.4 version and provide missing steps if any if the issue is still reproducible. Thank you.
— Reply to this email directly, view it on GitHub https://github.com/magento/magento2/issues/35778#issuecomment-1189128875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUSCUQKGWBVTSLARFVKBW7DVU232NANCNFSM535BZZKA . You are receiving this because you were mentioned.Message ID: @.***>
Hi @gainesyeild , Inventory package is not available on Magento 2.4-develop version hence I installed it separately but this is not required when working on Project-community-edition as it is available by default. I just checked available Sources and stocks in inventory to make sure the source is assigned to the products Ref Guide. https://docs.magento.com/user-guide/catalog/sources.html Verified the behavior on Magento 2.4.4 project-community-edition for which inventory is enabled by default by directly performing step 3 and step 4 mentioned in comment and response retrieved with 200 status code. Please check below reference documentations that may help you understand in generating tokens and also working with inventory api's. https://developer.adobe.com/commerce/webapi/get-started/authentication/gs-authentication-token/#integration-tokens https://developer.adobe.com/commerce/webapi/rest/modules/inventory/manage-source-items/ https://developer.adobe.com/commerce/webapi/rest/tutorials/inventory/reassign-products-to-another-source/
Hi @gainesyeild , We are closing this issue as there has been no latest update on the same. Kindly reopen / create new issue if you are still facing any issues. Thank you.
Hi,
I attempted your steps and I am still getting "Request does not match any route." In my Postman request. Has this not been released yet?
On Wed, Jul 20, 2022 at 8:25 AM Girija Bhavani Kudupudi < @.***> wrote:
Hi @gainesyeild https://github.com/gainesyeild , Inventory package is not available on Magento 2.4-develop version hence I installed it separately but this is not required when working on Project-community-edition as it is available by default. I just checked available Sources and stocks in inventory to make sure the source is assigned to the products Ref Guide https://docs.magento.com/user-guide/v2.3/catalog/inventory-sources-add.html . https://docs.magento.com/user-guide/catalog/sources.html Verified the behavior on Magento 2.4.4 project-community-edition for which inventory is enabled by default by directly performing step 3 and step 4 mentioned in comment https://github.com/magento/magento2/issues/35778#issuecomment-1189128875 and response retrieved with 200 status code. Please check below reference documentations that may help you understand in generating tokens and also working with inventory api's.
https://developer.adobe.com/commerce/webapi/rest/modules/inventory/manage-source-items/
— Reply to this email directly, view it on GitHub https://github.com/magento/magento2/issues/35778#issuecomment-1190221840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUSCUQNX46KJQQWCJQCMUWDVU7V2DANCNFSM535BZZKA . You are receiving this because you were mentioned.Message ID: @.***>
@gainesyeild I'm having the same issue - were you ever able to figure out what was up here?
Preconditions and environment
Steps to reproduce
Request and Response Message: GET https://magento2-1.glew.io/rest/default/V1/inventory/source-items Authorization: OAuth oauth_consumer_key="486mpokb0vpeod2kg5b3qo09mm832wdn",oauth_token="2q1mlu7nxpsg3vwoq25jkd012pw5ft6l",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1657918559",oauth_nonce="h0P0zYZTxRmrWHGZR0eY",oauth_version="1.0",oauth_signature="S43o9n57MI%2BTqVQU78BLNa77qbQ%3D" User-Agent: PostmanRuntime/7.29.0 Accept: / Cache-Control: no-cache Postman-Token: 33e75b1c-6c7c-469d-b1fc-75e571f5243f Host: magento2-1.glew.io Accept-Encoding: gzip, deflate, br Connection: keep-alive Cookie: mage-messages=%5B%5D
HTTP/1.1 404 Not Found Date: Fri, 15 Jul 2022 20:56:04 GMT Content-Type: application/json; charset=utf-8 Content-Length: 60 Connection: keep-alive Server: Apache/2.4.10 (Debian) X-Powered-By: PHP/5.6.31 Set-Cookie: PHPSESSID=ad1efb77e8af5bbbe38344cbf2e2c1ad; expires=Fri, 15-Jul-2022 21:56:04 GMT; Max-Age=3600; path=/; domain=magento2-1.glew.io; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache
Expected result
Expected Inventory payload
Actual result
Request does not match any route
Additional information
No response
Release note
No response
Triage and priority