Skip to content

Commit

Permalink
Removing Deprecated customer id from createCustomer Mutation (magento…
Browse files Browse the repository at this point in the history
…#6663)

* Removing Deprecated customer id from createCustomer Mutation

* changes
  • Loading branch information
VinothKumar361 authored Feb 20, 2020
1 parent 4a78cd3 commit 4453473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/_includes/graphql/customer-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Attribute | Data Type | Description
`firstname` | String | The customer's first name
`gender` | Int | The customer's gender (Male - 1, Female - 2)
`group_id` | Int | Deprecated. This attribute is not applicable for GraphQL. The group assigned to the user. Default values are 0 (Not logged in), 1 (General), 2 (Wholesale), and 3 (Retailer)
`id` | Int | The ID assigned to the customer
`id` | Int | Deprecated. This attribute is not applicable for GraphQL.The ID assigned to the customer
`is_subscribed` | Boolean | Indicates whether the customer is subscribed to the company's newsletter
`lastname` | String | The customer's family name
`middlename` |String | The customer's middle name
Expand All @@ -19,4 +19,4 @@ Attribute | Data Type | Description
`taxvat` | String | The customer's Tax/VAT number (for corporate customers)
`wishlist` | Wishlist! | Contains the contents of the customer's wish lists

{% include graphql/customer-address-output.md %}
{% include graphql/customer-address-output.md %}
2 changes: 0 additions & 2 deletions src/guides/v2.3/graphql/mutations/create-customer.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ mutation {
}
) {
customer {
id
firstname
lastname
email
Expand All @@ -46,7 +45,6 @@ mutation {
"data": {
"createCustomer": {
"customer": {
"id": 5,
"firstname": "Bob",
"lastname": "Loblaw",
"email": "[email protected]",
Expand Down

0 comments on commit 4453473

Please sign in to comment.