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

M2.1.1 : Rest API V1 error when trying to use the 'useForShipping'-parameter when saving a billing address #6557

Closed
kanduvisla opened this issue Sep 9, 2016 · 2 comments
Assignees
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@kanduvisla
Copy link
Contributor

kanduvisla commented Sep 9, 2016

I try to save a billing address for a quote using the REST API, but when I want to make use of the useForShipping-flag (as documented in the original API), I get a strange error:

Property "UseForShipping" does not have corresponding setter in class "Magento\Quote\Api\Data\AddressInterface"

My request goes to http://www.domain.com/rest/V1/guest-carts/{masked quote ID}/billing-addressand the payload is:

{
    "address": {
        "street": ["Street\n100\n"],
        "postcode": "1234AB",
        "city": "Eindhoven",
        "firstname": "Giel",
        "useForShipping": true
    }
}

Link to the API: http://devdocs.magento.com/swagger/index.html#!/quoteBillingAddressManagementV1/quoteBillingAddressManagementV1AssignPost

@mbrinton01
Copy link

Thank you @kanduvisla for reporting this issue. I was able to reproduce it and we are tracking it internally under issue MAGETWO-58269.

@mbrinton01 mbrinton01 added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report 2.0.x labels Sep 9, 2016
@mbrinton01 mbrinton01 self-assigned this Sep 9, 2016
@SerhiyShkolyarenko
Copy link
Contributor

MAGETWO-58269 is delivered to develop branch. Closing the issue. Please feel free to leave comments anyway.

mmansoor-magento pushed a commit that referenced this issue Sep 28, 2016
mmansoor-magento pushed a commit that referenced this issue Sep 28, 2016
mmansoor-magento pushed a commit that referenced this issue Sep 28, 2016
Bugs

MAGETWO-56752 Fix, verify and unisolate CreateTaxRuleEntityTest::CreateTaxRuleEntityTestVariation5
MAGETWO-56159 Newsletter need to confirm doesn't work
MAGETWO-54776 User unable to do a full payment with gift card for the order containing gift wrap
MAGETWO-58062 Ship To section on Checkout's Review & Payments step, clears out the Ship To address on page reload
MAGETWO-58609 default_frontend_label is ignored on REST product attributes call
MAGETWO-58677 Cart Price Rule (coupon) works no longer than current date
MAGETWO-58269 [GitHub] Error in 'useForShipping'-parameter when saving billing address via API #6557
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report 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

3 participants