<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.spiffystores.com.au/kb/index.php?action=history&amp;feed=atom&amp;title=API_Country</id>
	<title>API Country - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.spiffystores.com.au/kb/index.php?action=history&amp;feed=atom&amp;title=API_Country"/>
	<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;action=history"/>
	<updated>2026-06-15T09:25:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;diff=7412&amp;oldid=prev</id>
		<title>Admin: /* Optional Parameters */</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;diff=7412&amp;oldid=prev"/>
		<updated>2018-08-21T22:58:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Optional Parameters&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:58, 21 August 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l90&quot; &gt;Line 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!fields&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!fields&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|A comma-separated list of fields to return in the response. If a list of fields is provided, then the &amp;lt;code&amp;gt;provinces&amp;lt;/code&amp;gt; will always be excluded.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|A comma-separated list of fields to return in the response. If a list of fields is provided, then the &amp;lt;code&amp;gt;provinces&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;field &lt;/ins&gt;will always be excluded.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key spiffystores_kb_134-mediawiki-:diff::1.12:old-7411:rev-7412 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;diff=7411&amp;oldid=prev</id>
		<title>Admin: /* Optional Parameters */</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;diff=7411&amp;oldid=prev"/>
		<updated>2018-08-21T22:57:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Optional Parameters&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:57, 21 August 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l90&quot; &gt;Line 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!fields&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!fields&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|A comma-separated list of fields to return in the response.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|A comma-separated list of fields to return in the response&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. If a list of fields is provided, then the &amp;lt;code&amp;gt;provinces&amp;lt;/code&amp;gt; will always be excluded&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key spiffystores_kb_134-mediawiki-:diff::1.12:old-7214:rev-7411 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;diff=7214&amp;oldid=prev</id>
		<title>Admin: /* Country Properties */</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;diff=7214&amp;oldid=prev"/>
		<updated>2018-05-24T01:00:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Country Properties&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 01:00, 24 May 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l72&quot; &gt;Line 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The sub-regions of a country, such as its provinces or states.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The sub-regions of a country, such as its provinces or states.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key spiffystores_kb_134-mediawiki-:diff::1.12:old-7208:rev-7214 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;diff=7208&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;The Country resource represents the tax rates applied to orders from the different countries where a store sells its products.  Merchants select the countries for which they w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Country&amp;diff=7208&amp;oldid=prev"/>
		<updated>2018-05-23T07:44:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The Country resource represents the tax rates applied to orders from the different countries where a store sells its products.  Merchants select the countries for which they w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The Country resource represents the tax rates applied to orders from the different countries where a store sells its products.&lt;br /&gt;
&lt;br /&gt;
Merchants select the countries for which they wish to accept sales for their products when they set up their Shipping Countries on the Regions and Taxes page of the toolbox.&lt;br /&gt;
&lt;br /&gt;
The Country resource lets you access the countries and tax rates set up by the merchant. The countries list includes a default entry called &amp;#039;Rest of World&amp;#039;, which represents all non-specified countries.&lt;br /&gt;
&lt;br /&gt;
You can use the Country resource to modify the sales tax rate for a country or sub-region to account for surtaxes or exemptions that apply to the store.&lt;br /&gt;
&lt;br /&gt;
== Country Properties ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;reference&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;id&amp;quot; : 113 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
A unique numeric identifier for the country.&lt;br /&gt;
|-&lt;br /&gt;
!name&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;name&amp;quot;: &amp;quot;Australia&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The full name of the country in English.&lt;br /&gt;
|-&lt;br /&gt;
!code&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;code&amp;quot;: &amp;quot;AU&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The 2-letter international country code.&lt;br /&gt;
|-&lt;br /&gt;
!tax&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;tax&amp;quot;: 0.1 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The national sales tax rate applied to orders made by customers from that country.&lt;br /&gt;
|-&lt;br /&gt;
!tax_percentage&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;tax_percentage&amp;quot;: 10.0 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The national sales tax rate applied to orders made by customers from that country. This is expressed as a percentage.&lt;br /&gt;
|-&lt;br /&gt;
!tax_name&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;tax_name&amp;quot;: &amp;quot;GST&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The name of the national sales tax.&lt;br /&gt;
|-&lt;br /&gt;
!tax_inclusive&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;tax_inclusive&amp;quot;: true }&amp;lt;/pre&amp;gt;&lt;br /&gt;
Indicates whether prices are quoted including or excluding sales tax.&lt;br /&gt;
|-&lt;br /&gt;
!free_shipping&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;free_shipping&amp;quot;: true }&amp;lt;/pre&amp;gt;&lt;br /&gt;
Indicates that the country is eligible for free shipping.&lt;br /&gt;
|-&lt;br /&gt;
!handling_fee&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;handling_fee&amp;quot;: 0.0 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default handling fee that is added to the cost of shipping to the country.&lt;br /&gt;
|-&lt;br /&gt;
!currency&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;currency&amp;quot;: &amp;quot;AUD&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The currency used in this country.&lt;br /&gt;
|-&lt;br /&gt;
!unit_system&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;unit_system&amp;quot;: &amp;quot;metric&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The unit system used in this country.&lt;br /&gt;
|-&lt;br /&gt;
!provinces&lt;br /&gt;
|&amp;lt;pre&amp;gt;{&lt;br /&gt;
  &amp;quot;provinces&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;id&amp;quot;: 1218,&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;Australian Capital Territory&amp;quot;,&lt;br /&gt;
      &amp;quot;code&amp;quot;: &amp;quot;ACT&amp;quot;,&lt;br /&gt;
      &amp;quot;country_id&amp;quot;: 113,&lt;br /&gt;
      &amp;quot;tax&amp;quot;: 0.00,&lt;br /&gt;
      &amp;quot;tax_percentage&amp;quot;: 0.0,&lt;br /&gt;
      &amp;quot;tax_name&amp;quot;: &amp;quot;GST&amp;quot;,&lt;br /&gt;
      &amp;quot;free_shipping&amp;quot;: true,&lt;br /&gt;
      &amp;quot;handling_fee&amp;quot;: 0.0&lt;br /&gt;
    },&lt;br /&gt;
    ...&lt;br /&gt;
  ]&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
The sub-regions of a country, such as its provinces or states.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Endpoints ==&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;GET /api/countries.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Retrieve a list of all countries.&lt;br /&gt;
&lt;br /&gt;
==== Optional Parameters ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;reference&amp;quot;&lt;br /&gt;
!limit&lt;br /&gt;
|Number of results returned. The default is 30, with a maximum of 50 in a single request.&lt;br /&gt;
|-&lt;br /&gt;
!page&lt;br /&gt;
|The number of the page to return. The number of results per page is set by the &amp;lt;code&amp;gt;limit&amp;lt;/code&amp;gt; parameter. If more results are required, then submit the request again, increasing the page number each time.&lt;br /&gt;
|-&lt;br /&gt;
!fields&lt;br /&gt;
|A comma-separated list of fields to return in the response.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Example Request and Response ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GET /api/countries.json&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 200 OK&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;countries&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;id&amp;quot;: 270,&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;Algeria&amp;quot;,&lt;br /&gt;
      &amp;quot;code&amp;quot;: &amp;quot;DZ&amp;quot;,&lt;br /&gt;
      &amp;quot;tax&amp;quot;: 0.17,&lt;br /&gt;
      &amp;quot;tax_percentage&amp;quot;: 17.0,&lt;br /&gt;
      &amp;quot;tax_name&amp;quot;: &amp;quot;VAT&amp;quot;,&lt;br /&gt;
      &amp;quot;tax_inclusive&amp;quot;: true,&lt;br /&gt;
      &amp;quot;free_shipping&amp;quot;: false,&lt;br /&gt;
      &amp;quot;handling_fee&amp;quot;: 0.0,&lt;br /&gt;
      &amp;quot;currency&amp;quot;: &amp;quot;DZD&amp;quot;,&lt;br /&gt;
      &amp;quot;unit_system&amp;quot;: &amp;quot;metric&amp;quot;,&lt;br /&gt;
      &amp;quot;provinces&amp;quot;: [&lt;br /&gt;
      ]&lt;br /&gt;
    }, ...&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Examples using filters&lt;br /&gt;
&lt;br /&gt;
GET /api/countries.json?fields=id,name,currency&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;GET /api/countries/count.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Return a count of the number of countries.&lt;br /&gt;
&lt;br /&gt;
==== Example Request and Response ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GET /api/countries/count.json&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 200 OK&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;count&amp;quot;: 15&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;GET /api/countries/COUNTRY_ID.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Retrieves a single country by ID.&lt;br /&gt;
&lt;br /&gt;
==== Optional Parameters ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;reference&amp;quot;&lt;br /&gt;
!fields&lt;br /&gt;
|A comma-separated list of fields to return in the response.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Example Request and Response ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GET /api/countries/270.json&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 200 OK&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;country&amp;quot;: {&lt;br /&gt;
    &amp;quot;id&amp;quot;: 270,&lt;br /&gt;
    &amp;quot;name&amp;quot;: &amp;quot;Algeria&amp;quot;,&lt;br /&gt;
    &amp;quot;code&amp;quot;: &amp;quot;DZ&amp;quot;,&lt;br /&gt;
    &amp;quot;tax&amp;quot;: 0.17,&lt;br /&gt;
    &amp;quot;tax_percentage&amp;quot;: 17.0,&lt;br /&gt;
    &amp;quot;tax_name&amp;quot;: &amp;quot;VAT&amp;quot;,&lt;br /&gt;
    &amp;quot;tax_inclusive&amp;quot;: true,&lt;br /&gt;
    &amp;quot;free_shipping&amp;quot;: false,&lt;br /&gt;
    &amp;quot;handling_fee&amp;quot;: 0.0,&lt;br /&gt;
    &amp;quot;currency&amp;quot;: &amp;quot;DZD&amp;quot;,&lt;br /&gt;
    &amp;quot;unit_system&amp;quot;: &amp;quot;metric&amp;quot;,&lt;br /&gt;
    &amp;quot;provinces&amp;quot;: [&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;POST /api/countries.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Add a country to the store.&lt;br /&gt;
&lt;br /&gt;
==== Example Request and Response ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST /api/countries.json&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;country&amp;quot;: {&lt;br /&gt;
    &amp;quot;code&amp;quot;: &amp;quot;FR&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;country&amp;quot;: {&lt;br /&gt;
    &amp;quot;name&amp;quot;: &amp;quot;France&amp;quot;,&lt;br /&gt;
    &amp;quot;tax&amp;quot;: 0.15,&lt;br /&gt;
    &amp;quot;tax_name&amp;quot;: &amp;quot;VAT&amp;quot;,&lt;br /&gt;
    ...&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 201 Created&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;PUT /api/countries/COUNTRY_ID.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Updates a store country.&lt;br /&gt;
&lt;br /&gt;
==== Example Request and Response ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PUT /api/countries/270.json&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;country&amp;quot;: {&lt;br /&gt;
    &amp;quot;id&amp;quot;: 270,&lt;br /&gt;
    &amp;quot;free_shipping&amp;quot;: true&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 200 OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;DELETE /api/countries/COUNTRY_ID.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Deletes a country from the store.&lt;br /&gt;
&lt;br /&gt;
==== Example Request and Response ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DELETE /api/countries/270.json&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 200 OK&lt;br /&gt;
&lt;br /&gt;
{}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Further Reference ==&lt;br /&gt;
&lt;br /&gt;
* [[An Introduction to the Spiffy Stores API]]&lt;br /&gt;
* [[Creating Private API Keys]]&lt;br /&gt;
* [[Using the API]]&lt;br /&gt;
* [[API Reference]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>