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

Rest API: JSON Response for Orders showing incorrect shipping address #4402

Closed
rwemmercksys opened this issue May 4, 2016 · 3 comments
Closed
Assignees

Comments

@rwemmercksys
Copy link

Steps to reproduce

  1. Create at least 2 Orders in Magento 2.0.5
  2. Execute a REST call to retrieve orders using GET Method
    a. Example URL: http://192.168.1.9/magento/index.php/rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=status&searchCriteria[filter_groups][0][filters][0][value]=Processing
  3. If you use my url, be sure to change the order statuses to processing for both orders.

Expected result

  1. If you navigate down these nodes in the JSON response: extension_attributes -> shipping_assignments -> shipping -> address, I expected the address to show the correct shipping address information.

Actual result

  1. The first order's shipping address is actually the second order's shipping address.
  2. Attached, an example of the JSON response.
    Rest-Orders-json-response.txt
  3. Please note that the attached document has 2 orders. The first is incorrect, the second is correct.
@rwemmercksys rwemmercksys changed the title JSON Response for Orders showing incorrect shipping address Rest API: JSON Response for Orders showing incorrect shipping address May 4, 2016
@YevSent
Copy link
Contributor

YevSent commented May 5, 2016

Hi @rwemmercksys, thanks for your reporting. We created internal ticket MAGETWO-52554.

@YevSent
Copy link
Contributor

YevSent commented May 6, 2016

Duplicate for #4019

@asemenenko
Copy link

Hi @rwemmercksys
#4019 is already resolved on develop branch. Closing this one as duplicate.

p-bystritsky pushed a commit to p-bystritsky/magento2 that referenced this issue Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants