Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/code/Magento/CustomerGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ input CustomerAddressInput {
input CustomerAddressRegionInput @doc(description: "CustomerAddressRegionInput defines the customer's state or province") {
region_code: String @doc(description: "The address region code")
region: String @doc(description: "The state or province name")
region_id: Int @doc(description: "Uniquely identifies the region")
region_id: Int @doc(description: "region_id is deprecated. Region ID is excessive on storefront and region code should suffice for all scenarios")
}

input CustomerAddressAttributeInput {
Expand Down Expand Up @@ -99,7 +99,7 @@ type CustomerAddress @doc(description: "CustomerAddress contains detailed inform
id: Int @doc(description: "The ID assigned to the address object")
customer_id: Int @doc(description: "The customer ID")
region: CustomerAddressRegion @doc(description: "An object containing the region name, region code, and region ID")
region_id: Int @doc(description: "A number that uniquely identifies the state, province, or other area")
region_id: Int @deprecated(reason: "Region ID is excessive on storefront and region code should suffice for all scenarios")
country_id: String @doc(description: "The customer's country")
street: [String] @doc(description: "An array of strings that define the street number and name")
company: String @doc(description: "The customer's company")
Expand All @@ -122,7 +122,7 @@ type CustomerAddress @doc(description: "CustomerAddress contains detailed inform
type CustomerAddressRegion @doc(description: "CustomerAddressRegion defines the customer's state or province") {
region_code: String @doc(description: "The address region code")
region: String @doc(description: "The state or province name")
region_id: Int @doc(description: "Uniquely identifies the region")
region_id: Int @deprecated(reason: "Region ID is excessive on storefront and region code should suffice for all scenarios")
}

type CustomerAddressAttribute {
Expand Down