Schema Documentation

allowedCountryStates

Description

Countries that the store sells to

Response

Returns [CountryState]

Arguments
NameDescription
country - CountriesEnum! Target country

Example

Query
query allowedCountryStates($country: CountriesEnum!){  allowedCountryStates(country: $country){    codename  }}
Variables
{"country":"AD"}
Response
{"data":{"allowedCountryStates":[{"code":"abc123","name":"xyz789"}]}}
©  2021-2023WPGraphQL WooCommerce.All rights reserved.