Recently Shopify added a huge range of metafield data types. I’m wondering how i get them to add MailingAddress GID (eg gid://shopify/MailingAddress/9876543210) as a reference type. I really don’t want to use a single_line_text_field
Hi @Si_Hobbs
As far as I know, there doesn’t seem to be the type you’re looking for. Is there any issue with the `single_line_text_field`?
That is a weird question. Why do you think the other ones exist? Couldn’t they just be a single line text field?
Hi @Si_Hobbs - thanks for sharing.
As @kyle_liu mentioned, MailingAddress isn’t one of the supported reference types right now. With that said, I can definitely submit a feature request for this if you’d like.
Just to make sure I capture as much detail as possible for the team, would you be open to sharing some more context about your specific use case here and how it would help your workflow?
Our members are entitled to receive a magazine 4 times per year, and we have a courtesy service that essentially allows them to define an alternatively mailing address for the magazine. That might seem unnecessary but since we are a nursery it’s very common for the default address to be the place where we send bulky plants, while the magazine address is often a residence or a doctors surgery.
I’m currently updateing this to all the customers to have better control over their addresses using the shopping recommended methods (eg /account/addresses) and I want to deprecate all the old metafields that were put in put place for their “magazine address”. What I want to do is simply have an MailingAddress gid so that the customer is selecting from one of their addresses “on file”.
