Extract Personal Customs Code from Shopify Order

Hello

I’m wondering if there is a way to extract customer’s Personal Customs Code from Shopify orders. As far as I know this this only captured during the Shopify checkout process and not store in the customer’s account information. There are ways to access this information through GraphQL and can it be implemented through a flow here.

Link to GraphQL process here Manage country fields using localization extensions

Thanks in advance for your time

Hey @Maxwell_Cooper :wave:

Thanks for linking the GraphQL docs – this snippet should help you pull in the fields mentioned in the example response:

Snippet: parabola:cb:8408a968cec44c718c523e638b5baaf3

Query:

{
  order(id: "gid://shopify/Order/1") {
    id
    localizationExtensions(first: 5) {
      edges {
        node {
          countryCode
          purpose
          title
          value
        }
      }
    }
  }
}

Feel free to give this snippet a shot and let me know if you’re able to pull in the customer’s Personal Customs Code!