Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vat_id (and company) to account queries #39

Merged
merged 3 commits into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ mutation address (
$middlename: String,
$lastname: String,
$company: String,
$vat_id: String,
$telephone: String,
$street: [String],
$country_code: CountryCodeEnum,
Expand All @@ -15,11 +16,12 @@ mutation address (
middlename: $middlename,
lastname: $lastname,
company: $company,
vat_id: $vat_id,
telephone: $telephone,
street: $street,
country_code: $country_code,
city: $city,
postcode: $postcode,
default_billing: $default_billing,
default_shipping: $default_shipping
} ) { id } }
} ) { id } }
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ mutation address (
$middlename: String,
$lastname: String,
$company: String,
$vat_id: String,
$telephone: String,
$street: [String],
$country_code: CountryCodeEnum,
Expand All @@ -16,11 +17,12 @@ mutation address (
middlename: $middlename,
lastname: $lastname,
company: $company,
vat_id: $vat_id,
telephone: $telephone,
street: $street,
country_code: $country_code,
city: $city,
postcode: $postcode,
default_billing: $default_billing,
default_shipping: $default_shipping
} ) { id } }
} ) { id } }
2 changes: 2 additions & 0 deletions resources/views/account/partials/queries/overview.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ query customerOverview($ordersPageSize: Int = 5 $ordersCurrentPage: Int = 1) {
postcode
country_code
telephone
company
vat_id
default_billing
default_shipping
}
Expand Down