GraphQL createDraftOrder mutation field 'provinceCode' not working as expected

Hey everyone,

I’m running into an issue with the draftOrderCreate GraphQL mutation. No matter what valid provinceCode I input, the frontend throws a “Region is unspecified” error.

I’ve attached the draft_order_create_req.csv and draft_order_create_res.csv files in case they’re helpful.

Has anyone else encountered this? Any tips or solutions would be greatly appreciated!

Thanks in advance for your help.

Hi , there

I know the reason . you need to specify explicitly the country code such as “US”. when you done , the province code works.

1 Like