Is it possible to get Shopify Market settings?

iNovikov
Shopify Partner
6 1 0

Hello all,

 

I'm curious, is it possible to get Shopify Market settings for chosen country - price adjustments, rounding rules, but not only market price?

Reply 1 (1)

oliversinz
Shopify Partner
96 7 17

Hi @iNovikov 

Hope you're having a great day!

Yes, is it possible to get Shopify Market settings for chosen country.
Using marketByGeography via GraphQL Admin API, you could get some market settings (currency settings, web presence, prices list, etc.) based on a country.


Here is an example that I have just done

 

{
  marketByGeography(countryCode: US) {
    id
    name
    priceList {
      id
      currency
      fixedPricesCount
      name
    }
    catalogs(first: 10) {
      nodes {
        title
        id
        priceList {
          id
          prices(first: 10) {
            nodes {
              compareAtPrice {
                amount
                currencyCode
              }
              price {
                amount
              }
            }
          }
        }
      }
    }
    primary
    webPresence {
      domain {
        marketWebPresence {
          defaultLocale
        }
      }
      alternateLocales
    }
    currencySettings {
      baseCurrency {
        currencyCode
        currencyName
        enabled
        rateUpdatedAt
      }
      localCurrencies
    }
  }
}

 

 

 

 

Deluxyys-·-Shopify-GraphiQL-App-·-Shopify(1).png

- Was my reply helpful then Click Like and Mark it as an Accepted Solution

- Feel free to contact me regarding any help on: Twitter | LinkedIn | My website



- Want to modify or custom changes on store Hire me.
Shopify Partner | Full Stack Software Developer