Skip to content

Commit 4a17c51

Browse files
committed
Merge branch 'master' of https://github.com/P7CoreOrg/PitStopPro
2 parents 0be3473 + 7251a8b commit 4a17c51

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

docs/customer-management.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Customer Management
2+
3+
```
4+
mutation q($input:CustomerInput!){
5+
upsertCustomer(input: $input){
6+
id
7+
name
8+
address
9+
city
10+
emailAddress
11+
postalCode
12+
telephoneNumber
13+
}
14+
}
15+
```
16+
```
17+
{
18+
"input": {
19+
"id": "a901ec6c-f5af-4521-a712-a13a418f354c",
20+
"name": "Bugs Bunny",
21+
"address": "address 123",
22+
"postalCode": "postalCode 123",
23+
"city": "city 123",
24+
"telephoneNumber": "telephoneNumber 123",
25+
"emailAddress": "emailAddress 123"
26+
}
27+
}
28+
```
29+
```
30+
query{
31+
customer(id: "a901ec6c-f5af-4521-a712-a13a418f354c"){
32+
address
33+
city
34+
emailAddress
35+
id
36+
name
37+
postalCode
38+
telephoneNumber
39+
}
40+
}
41+
```

0 commit comments

Comments
 (0)