Anchor to marketCurrencySettingsUpdatemarket
market Currency Settings Update
mutation
Requires for queries and both
as well as
for mutations.
Updates currency settings of a market.
Anchor to Arguments
Arguments
- Anchor to inputinput•
Properties to update for the market currency settings.
- Anchor to marketIdmarket•
Id ID!required The ID of the market definition to target.
Was this section helpful?
- Anchor to marketmarket•
The market object.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation marketCurrencySettingsUpdate($input: MarketCurrencySettingsUpdateInput!, $marketId: ID!) {2 marketCurrencySettingsUpdate(input: $input, marketId: $marketId) {3 market {4 # Market fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "input": {3 "baseCurrency": "",4 "localCurrencies": true5 },6 "marketId": "gid://shopify/<objectName>/10079785100"7}
{
"input": {
"baseCurrency": "",
"localCurrencies": true
},
"marketId": "gid://shopify/<objectName>/10079785100"
}
input MarketCurrencySettingsUpdateInput {
baseCurrency: CurrencyCode
localCurrencies: Boolean
}