Git Product home page Git Product logo

Comments (15)

m2-assistant avatar m2-assistant commented on July 17, 2024

Hi @webgility-amazonapi. Thank you for your report.
To speed up processing of this issue, 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:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ 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, join the Community Contributions Triage session to discuss the appropriate ticket.

from magento2.

m2-assistant avatar m2-assistant commented on July 17, 2024

Hi @engcom-Bravo. 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).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas 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.

from magento2.

engcom-Bravo avatar engcom-Bravo commented on July 17, 2024

Hi @webgility-amazonapi,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.

Steps to reproduce

We hit the API
http://php72.webgility.com/magento230_test/index.php/rest/V1/creditmemos?searchCriteria[filter_groups][0][filters][0][field]=order_id&searchCriteria[filter_groups][0][filters][0][value]=410

Screenshot from 2024-01-04 15-08-36

product_type and parent_item_id is returned in the refund response.

Kindly recheck the behaviour on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible.

Thanks.

from magento2.

webgility-amazonapi avatar webgility-amazonapi commented on July 17, 2024

Hello
@engcom-Bravo

Thanks for your reply.

Let us refresh our question again, we want the product_type and parent_item_id in the refund response not parent_id.

So we request you to please check this.

Thanks & BR
Webgility

from magento2.

engcom-Bravo avatar engcom-Bravo commented on July 17, 2024

@magento give me 2.4-develop instance

from magento2.

magento-deployment-service avatar magento-deployment-service commented on July 17, 2024

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

from magento2.

magento-deployment-service avatar magento-deployment-service commented on July 17, 2024

Hi @engcom-Bravo, here is your Magento Instance: https://0e504a2db8e6a26b766fa26a77ba2c6c.instances-prod.magento-community.engineering
Admin access: https://0e504a2db8e6a26b766fa26a77ba2c6c.instances-prod.magento-community.engineering/admin_3144
Login: b66d6d0b
Password: 24bbd90fdd00

from magento2.

engcom-Bravo avatar engcom-Bravo commented on July 17, 2024

Hi @webgility-amazonapi,

Thanks for your update.

Screenshot from 2024-01-05 14-55-49

Screenshot from 2024-01-05 14-56-06

We are getting parent_id in the response.

As per the document https://developer.adobe.com/commerce/webapi/rest/quick-reference/ there is no such field product_type mentioned in the document Kindly refer the document.

Thanks

from magento2.

webgility-amazonapi avatar webgility-amazonapi commented on July 17, 2024

Could you provide clarification on the purpose of the "parent_id" field? In our previous correspondence, we observed that the "parent_id" value is consistently set to 64 for all items. Could you shed light on the significance of this value?

In the context of Magento responses, when dealing with bundle items, Magento includes both the bundle item and its associated simple items. However, during total calculations, Magento internally considers only one item. To address this, we require the inclusion of "product_type" and "parent_item_id" fields. This is especially crucial in cases of bundle item refunds, as distinguishing between the bundle product and its associated items becomes challenging without these fields.

We hope this clarifies the necessity of having the "product_type" and "parent_item_id" fields for our specific use case involving bundle item refunds.

from magento2.

engcom-Bravo avatar engcom-Bravo commented on July 17, 2024

@magento give me 2.4-develop instance

from magento2.

magento-deployment-service avatar magento-deployment-service commented on July 17, 2024

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

from magento2.

magento-deployment-service avatar magento-deployment-service commented on July 17, 2024

Hi @engcom-Bravo, here is your Magento Instance: https://0e504a2db8e6a26b766fa26a77ba2c6c.instances-prod.magento-community.engineering
Admin access: https://0e504a2db8e6a26b766fa26a77ba2c6c.instances-prod.magento-community.engineering/admin_f05c
Login: 441262f8
Password: 3e88be8a6f5a

from magento2.

engcom-Bravo avatar engcom-Bravo commented on July 17, 2024

Hi @webgility-amazonapi,

Thanks for your update.

Regarding parent_id it might be possible all related child products are related to same parent product so in that case the value will be same.

As per Document https://developer.adobe.com/commerce/webapi/rest/quick-reference/ the product_type is not mentioned in the responses.

Hence we are considering this as Feature Request because it will be a good feature to have while creditmemo having different types of products.

Thanks.

from magento2.

webgility-amazonapi avatar webgility-amazonapi commented on July 17, 2024

Thanks for considering this as feature request , could you provide the estimated time when can we expect this from your end so that we can plan our deliveries accordingly?
Also for parent_id, if you check the order of this refund , its incorrect. In order response the parent_id for the same item is different , I would request to check your parent_id logic inside refund, as it is working absolutely fine in case of order.

from magento2.

webgility-amazonapi avatar webgility-amazonapi commented on July 17, 2024

Any update on this issue?

from magento2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.