From cf2efdfe5a0de5b25d83f07f438235a0efa1b3ad Mon Sep 17 00:00:00 2001 From: Vinoth Date: Thu, 5 Mar 2020 11:33:24 +0530 Subject: [PATCH] Updating customer output object in resolvers example --- src/guides/v2.3/graphql/develop/resolvers.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/guides/v2.3/graphql/develop/resolvers.md b/src/guides/v2.3/graphql/develop/resolvers.md index dc6b457387f..18c2e74a329 100644 --- a/src/guides/v2.3/graphql/develop/resolvers.md +++ b/src/guides/v2.3/graphql/develop/resolvers.md @@ -341,9 +341,9 @@ type Customer @doc(description: "Customer defines the customer name and address default_shipping: String @doc(description: "The ID assigned to the shipping address") date_of_birth: String @doc(description: "The customer's date of birth") taxvat: String @doc(description: "The customer's Tax/VAT number (for corporate customers)") - id: Int @doc(description: "The ID assigned to the customer") is_subscribed: Boolean @doc(description: "Indicates whether the customer is subscribed to the company's newsletter") @resolver(class: "\\Magento\\CustomerGraphQl\\Model\\Resolver\\IsSubscribed") addresses: [CustomerAddress] @doc(description: "An array containing the customer's shipping and billing addresses") + gender: Int @doc(description: "The customer's gender (Male - 1, Female - 2)") } ``` @@ -361,7 +361,6 @@ mutation { } ) { customer { - id firstname lastname email @@ -378,7 +377,6 @@ A sample response: "data": { "createCustomer": { "customer": { - "id": 5, "firstname": "John", "lastname": "Doe", "email": "j.doe@example.com",