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

[API] Remove country and state input from address-input doc #3589

Conversation

SamuelMartini
Copy link
Contributor

Description
Currently, the api doc is showing country and state objects as part of the bill/ship_address request body:

Screenshot 2020-04-17 at 12 16 13

address-input already includes state_id and country_id associations.
Spree::Order accepts nested attributes for bill_address and ship_address and never expects a country or state hash attributes.

Checklist:

`address-input` already includes `state_id` and `country_id` associations.
`Spree::Order` accepts nested attributes for `bill_address` and `ship_address`
and never expects a country or state hash attributes.
Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Sam!

@kennyadsl kennyadsl added changelog:solidus_api Changes to the solidus_api gem Code Review Needed labels Apr 17, 2020
@aldesantis aldesantis merged commit 0bdb5b9 into solidusio:master Apr 19, 2020
@aldesantis aldesantis deleted the SamuelMartini/remove-country-address-from-address-input branch April 19, 2020 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_api Changes to the solidus_api gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants