# Shopify sync country codes

**URL:** <https://community.hubspot.com/t/shopify-sync-country-codes/52894>\
**Category:** APIs & Integrations\
**Created:** [March 10, 2022, 1:59pm UTC](https://community.hubspot.com/t/shopify-sync-country-codes/52894 "2022-03-10T13:59:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CSchroeder](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@CSchroeder](https://community.hubspot.com/u/CSchroeder)\
**Post date:** [March 10, 2022, 1:59pm UTC](https://community.hubspot.com/t/shopify-sync-country-codes/52894/1 "2022-03-10T13:59:00Z")

</div>

Hi everybody!

I am trying to connect Shopify to my HubSpot account. I’m using this plugin for this: [HubSpot Marketplace](https://app-eu1.hubspot.com/ecosystem/25040002/marketplace/apps/marketing/ecommerce/shopify).

In order to make my HubSpot work with other services, I set up the country data field as enum of country codes (ISO standard). Unfortunately, I only receive country names from Shopify via the plugin. I know that Shopify is also storing the country information as country code, but I can’t change the data type in the plugin settings.

Do you have any idea on how to solve this issue, **so that Shopify sends the country information as country codes to my HubSpot?**

Thanks!

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 10, 2022, 8:05pm UTC](https://community.hubspot.com/t/shopify-sync-country-codes/52894/2 "2022-03-10T20:05:29Z")

</div>

@John is the resident shopify expert. How about we ask him 😉

---

<div class="post-metadata">

**Author:** ![John](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/john/32/43512_2.png) [@John](https://community.hubspot.com/u/John)\
**Post date:** [March 11, 2022, 4:05pm UTC](https://community.hubspot.com/t/shopify-sync-country-codes/52894/3 "2022-03-11T16:05:36Z")

</div>

Unfortunately it has to do with the app (HubSpot is the app author btw _cough cough_). Shopify has [these country codes](https://shopify.dev/api/storefront/2022-01/enums/countrycode) in their api, but I guess HubSpot built the app to transfer over different data? You’ll most likely have to use an external service like Zapier or **PieSync** to convert the converted data to the original data. Bass Ackwards. I know.

Or you could build your own custom solution.

I feel your pain either way. If anyone else knows of an easier workaround, then you definitely owe them a beer. Cheers!

---

<div class="post-metadata">

**Author:** ![CSchroeder](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@CSchroeder](https://community.hubspot.com/u/CSchroeder)\
**Post date:** [March 14, 2022, 8:31am UTC](https://community.hubspot.com/t/shopify-sync-country-codes/52894/4 "2022-03-14T08:31:12Z")

</div>

Ugh I see, thanks for your answer anyways! I’ll try and checkout Zapier and PieSync​👍

---

<div class="post-metadata">

**Author:** ![abhiladdha07](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/abhiladdha07/32/197591_2.png) [@abhiladdha07](https://community.hubspot.com/u/abhiladdha07)\
**Post date:** [March 27, 2024, 1:56pm UTC](https://community.hubspot.com/t/shopify-sync-country-codes/52894/5 "2024-03-27T13:56:13Z")

</div>

Hi @CSchroeder,

You can simply try [**miniOrange’s Syncito - Data Sync app**](https://syncito.xecurify.com/). You can find more details [**here**](https://www.miniorange.com/data-synchronization-automation/).

You can contact the miniOrange team directly as well at [hubapps@xecurify.com](mailto:hubapps@xecurify.com) with your complete requirements and they can help you out quickly with everything you need here.

Best,

Abhishek
