@@ -12,7 +12,7 @@ Use queries to read server-side data, such as a specific customer's address.
12
12
13
13
### Syntax
14
14
15
- ` customer: Customer `
15
+ ` { customer: { Customer}} `
16
16
17
17
### Customer attributes {#customerAttributes}
18
18
The customer object can contain the following attributes:
@@ -163,7 +163,7 @@ Creates a new customer account.
163
163
164
164
#### Syntax
165
165
166
- ` mutation: createCustomer(input: CustomerInput!): CustomerOutput `
166
+ ` mutation: { createCustomer(input: CustomerInput!) { CustomerOutput}} `
167
167
168
168
#### Example usage
169
169
@@ -216,7 +216,7 @@ Updates the customer's personal information.
216
216
217
217
#### Syntax
218
218
219
- ` mutation: updateCustomer(input: CustomerInput!): CustomerOutput `
219
+ ` mutation: { updateCustomer(input: CustomerInput!) { CustomerOutput}} `
220
220
221
221
#### Example usage
222
222
@@ -297,7 +297,7 @@ Creates the customer's address.
297
297
298
298
#### Syntax
299
299
300
- ` mutation: createCustomerAddress(input: CustomerAddressInput!): CustomerAddress `
300
+ ` mutation: { createCustomerAddress(input: CustomerAddressInput!) { CustomerAddress}} `
301
301
302
302
#### Example usage
303
303
@@ -374,7 +374,7 @@ Updates the customer's address.
374
374
375
375
#### Syntax
376
376
377
- ` mutation: updateCustomerAddress(id: Int!input: CustomerAddressInput): CustomerAddress `
377
+ ` mutation: { updateCustomerAddress(id: Int!input: CustomerAddressInput) { CustomerAddress}} `
378
378
379
379
#### Example usage
380
380
@@ -414,7 +414,7 @@ Deletes the specified customer address.
414
414
415
415
#### Syntax
416
416
417
- ` mutation: deleteCustomerAddress(id: Int!): Boolean `
417
+ ` mutation: { deleteCustomerAddress(id: Int!) { Boolean}} `
418
418
419
419
#### Example usage
420
420
@@ -456,7 +456,7 @@ Creates a new customer token.
456
456
457
457
#### Syntax
458
458
459
- ` mutation: generateCustomerToken(email: String!password: String!): CustomerToken `
459
+ ` mutation: { generateCustomerToken(email: String!password: String!) { CustomerToken}} `
460
460
461
461
#### Example usage
462
462
@@ -493,7 +493,7 @@ Revokes the customer's token.
493
493
494
494
#### Syntax
495
495
496
- ` mutation: revokeCustomerToken: RevokeCustomerTokenOutput `
496
+ ` mutation: { revokeCustomerToken: RevokeCustomerTokenOutput} `
497
497
498
498
#### Example usage
499
499
@@ -534,7 +534,7 @@ Attribute | Data Type | Description
534
534
535
535
#### Syntax
536
536
537
- ` mutation: changeCustomerPassword(currentPassword: String!newPassword: String!): Customer `
537
+ ` mutation: { changeCustomerPassword(currentPassword: String!newPassword: String!) { Customer}} `
538
538
539
539
#### Example usage
540
540
0 commit comments