gutterboy Posted May 24, 2014 Report Posted May 24, 2014 In the settings in admin I have my default country set as "Australia" but when I create a client via the API and don't pass a country their country is set to "US" by default. Is there any way to change this? Thanks! Quote
Blesta Addons Posted May 25, 2014 Report Posted May 25, 2014 yes, if you have not set the country the default will be US . country The ISO 3166-1 2-character country code (optional; required if state is given; defaults to 'US') Quote
gutterboy Posted May 25, 2014 Author Report Posted May 25, 2014 Shouldn't it default to your default country as set in admin? Quote
Blesta Addons Posted May 25, 2014 Report Posted May 25, 2014 Shouldn't it default to your default country as set in admin? default if you use the order form or the registration form . but in API you sould send the country code.... add a field that contain your default country . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.