Address Verification from the CarrierService API

emagintechnolo
New Member
2 0 0

CarrierService API has an attribute of 

address_type 

in the destination object, but it's always null in the request. Is there in the settings or via Shopify themselves to return whether the address is business or residential? Do I need a special app for that?

I need this information to be available in the request. I am also no using active shipping as I have my own shipping provider system. 

 

Thank you. 

0 Likes
awwdam
Shopify Staff
Shopify Staff
64 6 3

Hey @emagintechnolo,

If you take a closer look at our CarrierService documentation here, it is stated that only specific fields should be used for API created Carrier Services. 

The address3, fax, address_type, and company_name fields are returned by specific ActiveShipping providers. For API-created carrier services, you should use only the following shipping address fields:

address1
address2
city
zip
province
country

Other values remain as null and are not sent to the callback URL.




awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes