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

Sales Order extension_attributes #3967

Closed
jhildreth opened this issue Apr 1, 2016 · 2 comments
Closed

Sales Order extension_attributes #3967

jhildreth opened this issue Apr 1, 2016 · 2 comments
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@jhildreth
Copy link

There seems to be a problem with extension_attributes on the sales order object, as retrieved by the API. It seems that only one property is able to exist under extension_attributes for the order. I had this problem with some extensions in 2.0.2, but was able to test without any extensions added in 2.0.4.

For example:

  1. Place an order, and retrieve it from the API (GET /orders/{order_id}). In 2.0.4, it has "shipping_assignments" under extension_attributes.
  2. Place another order, but add a gift message for the entire order (this behavior exists even if you simply add the message to the first order). When you retrieve this order, it only has "gift_message" under extension attributes.

I would expect that both "shipping_assignments" and "gift_message" (as well as anything added by other extensions) would exist as properties under extension_attributes.

@sshrewz sshrewz added the PS label Apr 5, 2016
@mazhalai
Copy link
Contributor

@jhildreth Thank you for reporting, we have created MAGETWO-51791 to investigate and fix.

@piotrekkaminski
Copy link
Contributor

This issue is fixed in latest develop branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

4 participants