Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting product option in product response #34178

Closed
1 of 5 tasks
webgility-amazonapi opened this issue Sep 28, 2021 · 26 comments
Closed
1 of 5 tasks

Not getting product option in product response #34178

webgility-amazonapi opened this issue Sep 28, 2021 · 26 comments
Assignees
Labels
Area: APIs Component: Api Use with concrete module component label E.g. "Component: Api" + "Catalog" Issue: needs update Additional information is require, waiting for response Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: dev in progress Reported on 2.3.x Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@webgility-amazonapi
Copy link

webgility-amazonapi commented Sep 28, 2021

Preconditions (*)

  1. Magento version v2.3.7-p1

Steps to reproduce (*)

Create a Bundle Product with multiple options (more than 1) and save
reindex and clear cache
Send POST request to /rest/default/V1/integration/admin/token to generate admin access token:

Retrieve the order response by using below API

API URL: https://www.chutingstar.com/rest/V1/orders/135561
Method: GET
Token: qhzxq3jbs2a32s9rl6pkc9683p29lg29
Order_1000083749.txt
2. Download the Product by using below API

API URL: https://www.chutingstar.com/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=sku&searchCriteria[filter_groups][0][filters][0][value]=22404,22888,14407&searchCriteria[filter_groups][0][filters][0][condition_type]=in
Method: GET
Token: qhzxq3jbs2a32s9rl6pkc9683p29lg29
ProductResponse_Skus_22404,22888,14407.txt

Expected result (*)

  1. [Screenshots, logs or description]
  2. We should get the options in esponse

Actual result (*)

  1. [Screenshots, logs or description]
  2. We are not getting the options in response
  3. Options is []

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@m2-assistant
Copy link

m2-assistant bot commented Sep 28, 2021

Hi @webgility-amazonapi. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@m2-assistant
Copy link

m2-assistant bot commented Sep 28, 2021

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: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf 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 branch

    Details- 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.

@engcom-November
Copy link
Contributor

engcom-November commented Sep 29, 2021

Verified the issue on Magento 2.4-develop branch and the issue is reproducible:

Steps to reproduce:
Create a Bundle Product with multiple options (more than 1) and save
reindex and clear cache
Send POST request to /rest/default/V1/integration/admin/token to generate admin access token:
Send Get request to /rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=sku&searchCriteria[filter_groups][0][filters][0][value]=bundle1&searchCriteria[filter_groups][0][filters][0][condition_type]=in to retireve Bundle product information:
Issue: Options is []
image
image

@engcom-November engcom-November added Area: APIs Component: Api Use with concrete module component label E.g. "Component: Api" + "Catalog" Reported on 2.3.x Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Sep 29, 2021
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.magento.com/browse/AC-1341 is successfully created for this GitHub issue.

@m2-assistant
Copy link

m2-assistant bot commented Sep 29, 2021

✅ Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@engcom-Alfa engcom-Alfa added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label Oct 4, 2021
@webgility-amazonapi
Copy link
Author

Hi @engcom-November ,

Is there any update on the resolution of this issue. Our customer is getting in panic mode now.

Thanks,
Webgility team

@webgility-amazonapi
Copy link
Author

Hi,
Is there any update on the resolution of this issue. Our customer is getting in panic mode now.

Thanks,
Webgility team

2 similar comments
@webgility-amazonapi
Copy link
Author

Hi,
Is there any update on the resolution of this issue. Our customer is getting in panic mode now.

Thanks,
Webgility team

@webgility-amazonapi
Copy link
Author

Hi,
Is there any update on the resolution of this issue. Our customer is getting in panic mode now.

Thanks,
Webgility team

@webgility-amazonapi
Copy link
Author

Hi @engcom-November ,

One more customer is facing the similar issue. Now this issue has started trending. Here are the details:
Description:
We are getting the option in order response but we are not getting the option in product response from this client store to map the proper value for the option.

Order Response:
API URL: https://www.lectronfuelsystems.com/rest/V1/orders/21332
Method: GET
Token: ipfu5bw9l4oe6atjjeseu94mfnyvlxvq
Response:
Order_1000022468.txt

Product Response:
API URL: https://www.lectronfuelsystems.com/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=sku&searchCriteria[filter_groups][0][filters][0][value]=1462-HV&searchCriteria[filter_groups][0][filters][0][condition_type]=in
Method: GET
Token: ipfu5bw9l4oe6atjjeseu94mfnyvlxvq
Response:
ProductSKU_1462-HV.txt

Please tell us an ETA. We need this fix asap.

Thanks,
@webgility-amazonapi

@webgility-amazonapi
Copy link
Author

Hi,
Is there any update on the resolution of this issue.

Thanks,
Webgility team

@webgility-amazonapi
Copy link
Author

Hi,
Is there any update on the resolution of this issue.

Thanks,
Webgility team

3 similar comments
@webgility-amazonapi
Copy link
Author

Hi,
Is there any update on the resolution of this issue.

Thanks,
Webgility team

@webgility-amazonapi
Copy link
Author

Hi,
Is there any update on the resolution of this issue.

Thanks,
Webgility team

@webgility-amazonapi
Copy link
Author

Hi,
Is there any update on the resolution of this issue.

Thanks,
Webgility team

@webgility-amazonapi
Copy link
Author

Hi @engcom-November , Is there any update on the issue fix??

Thanks,

Webgility Apollo Team

@webgility-amazonapi
Copy link
Author

Hi @engcom-November ,
Is there any update on the issue fix??

Thanks,

Webgility Apollo Team

1 similar comment
@webgility-amazonapi
Copy link
Author

Hi @engcom-November ,
Is there any update on the issue fix??

Thanks,

Webgility Apollo Team

@Poovarasan-06
Copy link

@magento I am working on this

@m2-assistant
Copy link

m2-assistant bot commented Jul 28, 2023

Hi @Poovarasan-06! 👋
Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.

@Poovarasan-06
Copy link

@magento add to contributors team

@m2-assistant
Copy link

m2-assistant bot commented Jul 28, 2023

Hi @Poovarasan-06! 👋
Thank you for joining. Please accept team invitation 👉 here 👈 and add your comment one more time.

@Poovarasan-06
Copy link

@magento I am working on this

@Poovarasan-06
Copy link

Poovarasan-06 commented Jul 28, 2023

For bundle product the customisable options are restricted in admin, that might be the reason why the options field is empty for bundle products, whereas the bundle_product_options is showing the bundle options.

On the other hand options field contains values for configurable products. Please go through screenshots below.

Configurable product : congigbook, sku - congigbook
Bundle product : Books, sku - Books-1

Screenshot 2023-07-28 at 4 15 57 PM Screenshot 2023-07-28 at 4 17 55 PM Screenshot 2023-07-28 at 4 16 56 PM Screenshot 2023-07-28 at 4 17 18 PM image

@engcom-Delta
Copy link
Contributor

Hi @webgility-amazonapi ,

Thanks for your reporting and collaboration.
We have verified the issue in latest 2.4 develop instance, but we are unable to reproduce the issue. Kindly refer the screenshots.

Steps to reproduce

  1. Create a Bundle Product with multiple options (more than 1) and save
  2. reindex and clear cache
  3. Send POST request to /rest/default/V1/integration/admin/token to generate admin access token:
  4. Send Get request to /rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=sku&searchCriteria[filter_groups][0][filters][0][value]=bundle1&searchCriteria[filter_groups][0][filters][0][condition_type]=in to retireve Bundle product information:
  5. Observe options are displaying as expected.

Image

Image

Image

Can you please re-verify in 2.4 develop and confirm.

Thanks.

@engcom-Delta engcom-Delta added Issue: needs update Additional information is require, waiting for response and removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Mar 5, 2025
@engcom-Delta
Copy link
Contributor

Hi @webgility-amazonapi ,

Thanks for your reporting and collaboration.

We have tried to reproduce the issue in Latest 2.4-develop instance and the issue is no more reproducible.
Kindly refer the screenshots in the above comment.
Hence, we are closing this issue.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: APIs Component: Api Use with concrete module component label E.g. "Component: Api" + "Catalog" Issue: needs update Additional information is require, waiting for response Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: dev in progress Reported on 2.3.x Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
None yet
Development

No branches or pull requests

6 participants