We are using the shopify node api to create orders. Orders are created fine, however a number of countries within the shipping address object pull through to the shopify orders as "unrecognised". So if we navigate to the dashboard they show as unrecognised, even though a valid country was input.
Additionally, if we were to input the country as a nation of the UK for instance, it would be removed and no country would show. So inputting Scotland, would mean the order had no country. We would have to explicitly put United Kingdom in order for it to feed through correctly to shopify
Is there any way to stop the country been removed? Should we be populating our country app field from a predefined list of countries shopify supports? As far as I can see in the API docs, it just says country can be a string.
Hey @OscarGearedApp, that behaviour doesn't seem expected - can you confirm if this is happening only when you're using the Node library or does it happen when you try to replicate the call using an API client like Postman? Could you also share an example X-Request-ID from a Shopify response header for one of the API calls that results in a country coming back as "unrecognised"? Happy to dig into this on my end - hope to hear from you soon!
I just created an order through the node sdk, the number is 1156 and the ID is 5113259196661, and the app id is 609288193. I put the country within the shipping address as uk. On the shopify dashboard, no country has pulled through. The "unrecognised" I was speaking about, actually is what shows on a system we have linked to shopify to print postage labels on order fulfilment - but I assume this is as the country thats set here isnt feeding through? As when the country does show in the dashboard, it feeds through to the system fine.
I cannot attest as to if this is happening only on the node sdk, currently I dont have time to try to call the API directly.