-
Notifications
You must be signed in to change notification settings - Fork 156
Misleading country_code field and missing vat_id in graphql mutation schema #1045
Comments
Hi @daksamit. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @daksamit do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
It is expected behavior. You can set
input CustomerAddressInput {
firstname: String @doc(description: "The first name of the person associated with the shipping/billing address")
lastname: String @doc(description: "The family name of the person associated with the shipping/billing address")
company: String @doc(description: "The customer's company")
telephone: String @doc(description: "The telephone number")
street: [String] @doc(description: "An array of strings that define the street number and name")
city: String @doc(description: "The city or town")
region: CustomerAddressRegionInput @doc(description: "An object containing the region name, region code, and region ID")
postcode: String @doc(description: "The customer's ZIP or postal code")
country_id: CountryCodeEnum @doc(description: "Deprecated: use `country_code` instead.")
country_code: CountryCodeEnum @doc(description: "The customer's country")
default_shipping: Boolean @doc(description: "Indicates whether the address is the default shipping address")
default_billing: Boolean @doc(description: "Indicates whether the address is the default billing address")
fax: String @doc(description: "The fax number")
middlename: String @doc(description: "The middle name of the person associated with the shipping/billing address")
prefix: String @doc(description: "An honorific, such as Dr., Mr., or Mrs.")
suffix: String @doc(description: "A value such as Sr., Jr., or III")
vat_id: String @doc(description: "The customer's Tax/VAT number (for corporate customers)")
custom_attributes: [CustomerAddressAttributeInput] @doc(description: "Deprecated: Custom attributes should not be put into container.")
} |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: