Using the admin API to set certain products unable to be shipped overseas

Using the admin API to set certain products unable to be shipped overseas

Colin_Smith
Shopify Partner
2 0 0

Using a particular metafield, is there a way to either inside shopify, or using the graphql admin interface to set certain products to be unable to be shipped overseas?

I have been looking through the API docs and haven't found anything relevant as of yet. I have a third party syncing data to shopify, and with a custom metafield, i would like to be able to on a per product basis set it to allow or disallow international shipping. 

 

Thanks for any assistance.

Replies 2 (2)

YOD_Solutions
Shopify Partner
220 23 32

I think you can restrict the products from loading in certain countries using a combination of "localization.country.iso_code" and the custom metafield value. 

Founder @ JsRates: Custom Shipping Rates
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more about JsRates visit the JsRates home page or JsRates documentation
- Find JsRates on Shopify app store
Colin_Smith
Shopify Partner
2 0 0

Thank you for that, im looking into it now to see if it will be suitable. We dont want to use a third party app (locksmith) so doing it in house is a priority.