Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit e4b251e

Browse files
Update directory-currency.md (#8288)
* Update directory-currency.md Output of the query will be incorrect. Modify the output and give full description to the available_currency_codes attributes. * Update directory-currency.md * Update directory-currency.md Co-authored-by: Kevin Harper <keharper@users.noreply.github.com>
1 parent 9f3a609 commit e4b251e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guides/v2.3/graphql/queries/directory-currency.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ query {
3939
"currency": {
4040
"base_currency_code": "USD",
4141
"base_currency_symbol": "$",
42-
"default_display_currency_code": null,
43-
"default_display_currency_symbol": null,
42+
"default_display_currency_code": "USD",
43+
"default_display_currency_symbol": "$",
4444
"available_currency_codes": [
4545
"USD"
4646
],
@@ -61,7 +61,7 @@ The `currency` object provides the following attributes:
6161

6262
Attribute | Data type | Description
6363
--- | --- | ---
64-
`available_currency_codes` | [String] | An array of currencies accepted by the store
64+
`available_currency_codes` | [String] | An array of three-letter currency codes accepted by the store, such as `USD` and `EUR`
6565
`base_currency_code` | String | The base currency set for the store, such as USD
6666
`base_currency_symbol` | String | The symbol for the specified base currency, such as $
6767
`default_display_currency_code` | String | Specifies if the currency code is set as the store's default

0 commit comments

Comments
 (0)