Skip to content

Commit 6fe9f2f

Browse files
Get Customer Detail from graphql order query (#50)
1 parent 0b7f3a4 commit 6fe9f2f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/GraphQlSdk.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,34 @@ public function getOrder(string $orderId)
581581
redirectToCheckoutUrl
582582
dashboardUrl
583583
status
584+
customer {
585+
givenName
586+
surname
587+
phoneNumber
588+
email
589+
}
590+
shippingAddress {
591+
name
592+
phoneNumber
593+
company
594+
line1
595+
line2
596+
city
597+
state
598+
postcode
599+
countryCode
600+
}
601+
billingAddress {
602+
name
603+
phoneNumber
604+
company
605+
line1
606+
line2
607+
city
608+
state
609+
postcode
610+
countryCode
611+
}
584612
payments {
585613
id
586614
status

0 commit comments

Comments
 (0)