<?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_Customer</id>
	<title>API Customer - 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_Customer"/>
	<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;action=history"/>
	<updated>2026-06-09T18:16:26Z</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_Customer&amp;diff=7547&amp;oldid=prev</id>
		<title>Admin: /* Customer Properties */</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7547&amp;oldid=prev"/>
		<updated>2019-04-09T02:36:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Customer 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 02:36, 9 April 2019&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-l27&quot; &gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&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;{ &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot; }&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;{ &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot; }&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 customer&amp;#039;s full name.&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 customer&amp;#039;s full name.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;!company&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&amp;lt;pre&amp;gt;{ &amp;quot;company&amp;quot;: &amp;quot;ABC Packing Company&amp;quot; }&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The customer&amp;#039;s company.&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;div&gt;!email&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;!email&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key spiffystores_kb_134-mediawiki-:diff::1.12:old-7441:rev-7547 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7441&amp;oldid=prev</id>
		<title>Admin: /* Example Request and Response */</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7441&amp;oldid=prev"/>
		<updated>2018-08-31T01:07:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Example Request and Response&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:07, 31 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-l442&quot; &gt;Line 442:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 442:&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;quot;wholesale&amp;quot;: false,&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;quot;wholesale&amp;quot;: false,&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;     &amp;quot;credit&amp;quot;: 0.0,&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;quot;credit&amp;quot;: 0.0,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;quot;accounting_id&amp;quot;: &amp;quot;2b74006d-a599-42dd-b228-52596f49333c&amp;quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;quot;pos_id&amp;quot;: &amp;quot;JDKYHBWT1D4F8MFH63DBMEN8Y4&amp;quot;,&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;     &amp;quot;tags&amp;quot;: &amp;quot;wholesaler&amp;quot;,&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;quot;tags&amp;quot;: &amp;quot;wholesaler&amp;quot;,&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;     &amp;quot;default_address&amp;quot;: {&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;quot;default_address&amp;quot;: {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key spiffystores_kb_134-mediawiki-:diff::1.12:old-7440:rev-7441 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7440&amp;oldid=prev</id>
		<title>Admin: /* Example Request and Response */</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7440&amp;oldid=prev"/>
		<updated>2018-08-31T01:07:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Example Request and Response&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:07, 31 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-l235&quot; &gt;Line 235:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 235:&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;quot;wholesale&amp;quot;: false,&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;quot;wholesale&amp;quot;: false,&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;       &amp;quot;credit&amp;quot;: 0.0,&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;quot;credit&amp;quot;: 0.0,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;      &amp;quot;accounting_id&amp;quot;: &amp;quot;2b74006d-a599-42dd-b228-52596f49333c&amp;quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;      &amp;quot;pos_id&amp;quot;: &amp;quot;JDKYHBWT1D4F8MFH63DBMEN8Y4&amp;quot;,&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;       &amp;quot;tags&amp;quot;: &amp;quot;wholesaler&amp;quot;,&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;quot;tags&amp;quot;: &amp;quot;wholesaler&amp;quot;,&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;       &amp;quot;default_address&amp;quot;: {&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;quot;default_address&amp;quot;: {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

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

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Customer 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:05, 31 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-l139&quot; &gt;Line 139:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 139:&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;{ &amp;quot;credit&amp;quot;: 15.40 }&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;{ &amp;quot;credit&amp;quot;: 15.40 }&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 amount of store credit that the customer has in their account.&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 amount of store credit that the customer has in their account.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;!accounting_id&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&amp;lt;pre&amp;gt;{ &amp;quot;accounting_id&amp;quot;: &amp;quot;2b74006d-a599-42dd-b228-52596f49333c&amp;quot; }&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This field is used if the store has a supported accounting app installed. The field is used to store the value of the customer record id in the associated accounting software. This value can then be used to ensure that all orders for this customer are posted to the same customer account in the accounting software.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;!pos_id&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&amp;lt;pre&amp;gt;{ &amp;quot;pos_id&amp;quot;: &amp;quot;JDKYHBWT1D4F8MFH63DBMEN8Y4&amp;quot; }&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This field is used if the store has a supported point of sale app installed. The field is used to store the value of the customer record id in the associated point of sale software. This value can then be used to ensure that all orders for this customer are posted to the same customer account in the point of sale software.&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;div&gt;!tags&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;!tags&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key spiffystores_kb_134-mediawiki-:diff::1.12:old-7415:rev-7439 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7415&amp;oldid=prev</id>
		<title>Admin: /* GET /api/customers/CUSTOMER_ID.json */</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7415&amp;oldid=prev"/>
		<updated>2018-08-21T23:52:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;GET /api/customers/CUSTOMER_ID.json&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 23:52, 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-l399&quot; &gt;Line 399:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 399:&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;{| class=&amp;quot;reference&amp;quot;&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;{| class=&amp;quot;reference&amp;quot;&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;default_address&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;addresses&amp;lt;/code&amp;gt; fields 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-7414:rev-7415 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7414&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_Customer&amp;diff=7414&amp;oldid=prev"/>
		<updated>2018-08-21T23:52:05Z</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 23:52, 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-l334&quot; &gt;Line 334:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 334:&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;default_address&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;addresses&amp;lt;/code&amp;gt; fields 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-7413:rev-7414 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7413&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_Customer&amp;diff=7413&amp;oldid=prev"/>
		<updated>2018-08-21T23:49:47Z</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 23:49, 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-l193&quot; &gt;Line 193:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 193:&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;default_address&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;addresses&amp;lt;/code&amp;gt; fields 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-7205:rev-7413 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7205&amp;oldid=prev</id>
		<title>Admin at 05:11, 23 May 2018</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7205&amp;oldid=prev"/>
		<updated>2018-05-23T05:11:26Z</updated>

		<summary type="html">&lt;p&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 05:11, 23 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-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;&amp;lt;html&amp;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;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;  &amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;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;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;    table.reference {&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;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;      width: 100%;&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;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;      border: 1px solid #c9c9c9;&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;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;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;    table.reference th, table.reference td {&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;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;      border: 1px solid #c9c9c9;&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;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;      padding: 10px;&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;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;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;    table.reference th {&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;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;      text-align: left;&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;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;      vertical-align: top;&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;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;      width: 30%;&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;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;      font-size: 100%;&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;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;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;    table.reference td pre {&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;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;      margin: 10px 0px;&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;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;      font-size: 80%;&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;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;      display: block;&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;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;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;    pre {&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;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;      width: 100%;&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;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;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;  &amp;lt;/style&amp;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;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;&amp;lt;/html&amp;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;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;The Customer resource stores information about a store&amp;#039;s customers, such as their contact details, their order history, and whether they&amp;#039;ve agreed to receive email marketing.&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 Customer resource stores information about a store&amp;#039;s customers, such as their contact details, their order history, and whether they&amp;#039;ve agreed to receive email marketing.&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-7200:rev-7205 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7200&amp;oldid=prev</id>
		<title>Admin: /* Page Properties */</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7200&amp;oldid=prev"/>
		<updated>2018-05-23T02:53:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Page 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 02:53, 23 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-l32&quot; &gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&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;For security reasons, the Customer resource doesn&amp;#039;t store credit card information. Customers always need to enter this information when they go to the checkout.&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;For security reasons, the Customer resource doesn&amp;#039;t store credit card information. Customers always need to enter this information when they go to the checkout.&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;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 class=&quot;diffchange diffchange-inline&quot;&gt;Page &lt;/del&gt;Properties ==&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;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Customer &lt;/ins&gt;Properties ==&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;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;{| class=&amp;quot;reference&amp;quot;&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;{| class=&amp;quot;reference&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key spiffystores_kb_134-mediawiki-:diff::1.12:old-7199:rev-7200 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7199&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;&lt;html&gt;   &lt;style type=&quot;text/css&quot;&gt;     table.reference {       width: 100%;       border: 1px solid #c9c9c9;     }     table.reference th, table.reference td {       border: 1px...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=API_Customer&amp;diff=7199&amp;oldid=prev"/>
		<updated>2018-05-23T02:37:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;html&amp;gt;   &amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;     table.reference {       width: 100%;       border: 1px solid #c9c9c9;     }     table.reference th, table.reference td {       border: 1px...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
    table.reference {&lt;br /&gt;
      width: 100%;&lt;br /&gt;
      border: 1px solid #c9c9c9;&lt;br /&gt;
    }&lt;br /&gt;
    table.reference th, table.reference td {&lt;br /&gt;
      border: 1px solid #c9c9c9;&lt;br /&gt;
      padding: 10px;&lt;br /&gt;
    }&lt;br /&gt;
    table.reference th {&lt;br /&gt;
      text-align: left;&lt;br /&gt;
      vertical-align: top;&lt;br /&gt;
      width: 30%;&lt;br /&gt;
      font-size: 100%;&lt;br /&gt;
    }&lt;br /&gt;
    table.reference td pre {&lt;br /&gt;
      margin: 10px 0px;&lt;br /&gt;
      font-size: 80%;&lt;br /&gt;
      display: block;&lt;br /&gt;
    }&lt;br /&gt;
    pre {&lt;br /&gt;
      width: 100%;&lt;br /&gt;
    }&lt;br /&gt;
  &amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Customer resource stores information about a store&amp;#039;s customers, such as their contact details, their order history, and whether they&amp;#039;ve agreed to receive email marketing.&lt;br /&gt;
&lt;br /&gt;
The Customer resource also holds information on the status of a customer&amp;#039;s account. Customers with accounts save time at checkout when they&amp;#039;re logged in because they don&amp;#039;t need to enter their contact information. You can use the Customer API to check whether a customer has an active account, and then invite them to create one if they don&amp;#039;t.&lt;br /&gt;
&lt;br /&gt;
For security reasons, the Customer resource doesn&amp;#039;t store credit card information. Customers always need to enter this information when they go to the checkout.&lt;br /&gt;
&lt;br /&gt;
== Page 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; : 123456789 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
A unique numeric identifier for the customer.&lt;br /&gt;
|-&lt;br /&gt;
!title&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The salutation or title for the customer.&lt;br /&gt;
|-&lt;br /&gt;
!first_name&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The customer&amp;#039;s first name.&lt;br /&gt;
|-&lt;br /&gt;
!last_name&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The customer&amp;#039;s last name.&lt;br /&gt;
|-&lt;br /&gt;
!name&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The customer&amp;#039;s full name.&lt;br /&gt;
|-&lt;br /&gt;
!email&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;email&amp;quot;: &amp;quot;bilbo@lordoftherings.com&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The unique email address of the customer. Attempting to assign the same email address to multiple&lt;br /&gt;
customers returns an error.&lt;br /&gt;
|-&lt;br /&gt;
!default_address&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;default_address&amp;quot;: {&lt;br /&gt;
          &amp;quot;id&amp;quot;: 1969,&lt;br /&gt;
          &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
          &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot;,&lt;br /&gt;
          &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot;,&lt;br /&gt;
          &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot;,&lt;br /&gt;
          &amp;quot;company&amp;quot;: &amp;quot;The Fellowship of the Ring&amp;quot;,&lt;br /&gt;
          &amp;quot;address1&amp;quot;: &amp;quot;2 Bag End&amp;quot;,&lt;br /&gt;
          &amp;quot;address2&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
          &amp;quot;city&amp;quot;: &amp;quot;Hobbiton&amp;quot;,&lt;br /&gt;
          &amp;quot;province&amp;quot;: &amp;quot;Waikato&amp;quot;,&lt;br /&gt;
          &amp;quot;province_code&amp;quot;: &amp;quot;WKO&amp;quot;,&lt;br /&gt;
          &amp;quot;country&amp;quot;: &amp;quot;New Zealand&amp;quot;,&lt;br /&gt;
          &amp;quot;country_code&amp;quot;: &amp;quot;NZ&amp;quot;,&lt;br /&gt;
          &amp;quot;zip&amp;quot;: &amp;quot;1234&amp;quot;,&lt;br /&gt;
          &amp;quot;phone&amp;quot;: &amp;quot;123456789&amp;quot;,&lt;br /&gt;
          &amp;quot;default&amp;quot;: true&lt;br /&gt;
        }&lt;br /&gt;
      }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default address for the customer.&lt;br /&gt;
|-&lt;br /&gt;
!addresses&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;addresses&amp;quot;: [&lt;br /&gt;
          {&lt;br /&gt;
            &amp;quot;id&amp;quot;: 1969,&lt;br /&gt;
            &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
            &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot;,&lt;br /&gt;
            &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot;,&lt;br /&gt;
            &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot;,&lt;br /&gt;
            &amp;quot;company&amp;quot;: &amp;quot;The Fellowship of the Ring&amp;quot;,&lt;br /&gt;
            &amp;quot;address1&amp;quot;: &amp;quot;2 Bag End&amp;quot;,&lt;br /&gt;
            &amp;quot;address2&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
            &amp;quot;city&amp;quot;: &amp;quot;Hobbiton&amp;quot;,&lt;br /&gt;
            &amp;quot;province&amp;quot;: &amp;quot;Waikato&amp;quot;,&lt;br /&gt;
            &amp;quot;province_code&amp;quot;: &amp;quot;WKO&amp;quot;,&lt;br /&gt;
            &amp;quot;country&amp;quot;: &amp;quot;New Zealand&amp;quot;,&lt;br /&gt;
            &amp;quot;country_code&amp;quot;: &amp;quot;NZ&amp;quot;,&lt;br /&gt;
            &amp;quot;zip&amp;quot;: &amp;quot;1234&amp;quot;,&lt;br /&gt;
            &amp;quot;phone&amp;quot;: &amp;quot;123456789&amp;quot;,&lt;br /&gt;
            &amp;quot;default&amp;quot;: true&lt;br /&gt;
          }&lt;br /&gt;
        ]&lt;br /&gt;
      }&amp;lt;/pre&amp;gt;&lt;br /&gt;
A list of the customer&amp;#039;s addresses.&lt;br /&gt;
|-&lt;br /&gt;
!accepts_marketing&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;accepts_marketing&amp;quot;: false }&amp;lt;/pre&amp;gt;&lt;br /&gt;
This indicates whether the customer has consented to receive marketing material via email.&lt;br /&gt;
|-&lt;br /&gt;
!note&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;note&amp;quot;: &amp;quot;This customer is eligible for the frequent traveller bonus.&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
A note about the customer.&lt;br /&gt;
|-&lt;br /&gt;
!orders_count&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;orders_count&amp;quot;: 32 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The number of orders associated with this customer.&lt;br /&gt;
|-&lt;br /&gt;
!state&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;state&amp;quot;: &amp;quot;enabled&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The state of the customer&amp;#039;s account with a store. The state can be changed in the toolbox or by the&lt;br /&gt;
customer, but not through the API. It is disabled by default.&lt;br /&gt;
&lt;br /&gt;
Valid values are:&lt;br /&gt;
&lt;br /&gt;
* guest: The customer does not have an account.&lt;br /&gt;
* disabled: The customer doesn&amp;#039;t have an active account. Customer acounts can be disabled from the toolbox at any time.&lt;br /&gt;
* invited: The customer has received an emailed invitation to create an account.&lt;br /&gt;
* enabled: The customer has created an account.&lt;br /&gt;
* declined: The customer declined the email invitation to create an account.&lt;br /&gt;
|-&lt;br /&gt;
!total_spent&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;total_spent&amp;quot;: &amp;quot;465.30&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The total amount of money that the customer has spent across their order history.&lt;br /&gt;
|-&lt;br /&gt;
!sign_in_count&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;sign_in_count&amp;quot;: 314 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The number of times that the customer has signed in.&lt;br /&gt;
|-&lt;br /&gt;
!current_sign_in_at&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;current_sign_in_at&amp;quot;: &amp;quot;2017-09-20T10:47:18.424+10:00&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The time of the current sign-in.&lt;br /&gt;
|-&lt;br /&gt;
!current_sign_in_ip&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;current_sign_in_ip&amp;quot;: &amp;quot;192.168.10.200&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The IP address used by the customer for the current sign-in.&lt;br /&gt;
|-&lt;br /&gt;
!last_sign_in_at&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;last_sign_in_at&amp;quot;: &amp;quot;2017-09-20T10:43:18.716+10:00&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The time of the previous sign-in.&lt;br /&gt;
|-&lt;br /&gt;
!last_sign_in_ip&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;last_sign_in_ip&amp;quot;: &amp;quot;192.168.10.200&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The IP address used by the customer for the previous sign-in.&lt;br /&gt;
|-&lt;br /&gt;
!last_order_id&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;last_order_id&amp;quot;: 23919 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The ID of the customer&amp;#039;s last order.&lt;br /&gt;
|-&lt;br /&gt;
!wholesale&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;wholesale&amp;quot;: true }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The customer has access to wholesale pricing.&lt;br /&gt;
|-&lt;br /&gt;
!credit&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;credit&amp;quot;: 15.40 }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The amount of store credit that the customer has in their account.&lt;br /&gt;
|-&lt;br /&gt;
!tags&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;tags&amp;quot;: &amp;quot;loyal,wholesaler&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
Tags that the store owner has attached to the customer, formatted as a string of comma-separated values.&lt;br /&gt;
|-&lt;br /&gt;
!created_at&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;created_at&amp;quot;: &amp;quot;2008-07-15T20:00:00-04:00&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The date and time (ISO 8601 format) when the customer was created.&lt;br /&gt;
|-&lt;br /&gt;
!updated_at&lt;br /&gt;
|&amp;lt;pre&amp;gt;{ &amp;quot;updated_at&amp;quot;: &amp;quot;2008-07-16T20:00:00-04:00&amp;quot; }&amp;lt;/pre&amp;gt;&lt;br /&gt;
The date and time (ISO 8601 format) when the customer was last updated.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Endpoints ==&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;GET /api/customers.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Retrieve a list of customers.&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;
!ids&lt;br /&gt;
|Restrict results to customers specified by a comma-separated list of IDs.&lt;br /&gt;
|-&lt;br /&gt;
!since_id&lt;br /&gt;
|Limit the results to only include objects which have an id greater than the given value.&lt;br /&gt;
|-&lt;br /&gt;
!wholesale_status&lt;br /&gt;
|Limit the results to only include customers with the given wholesale status (&amp;#039;wholesale&amp;#039; or &amp;#039;retail&amp;#039;).&lt;br /&gt;
|-&lt;br /&gt;
!marketing_status&lt;br /&gt;
|Limit the results to only include customers with the given marketing status (&amp;#039;accepts_marketing&amp;#039; or &amp;#039;rejects_marketing&amp;#039;).&lt;br /&gt;
|-&lt;br /&gt;
!created_at_min&lt;br /&gt;
|Return only the customers created after the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!created_at_max&lt;br /&gt;
|Return only the customers created before the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!updated_at_min&lt;br /&gt;
|Return only the customers updated after the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!updated_at_max&lt;br /&gt;
|Return only the customers updated before the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&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/customers.json&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 200 OK&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;customers&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;id&amp;quot;: 6,&lt;br /&gt;
      &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
      &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot;,&lt;br /&gt;
      &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot;,&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot;,&lt;br /&gt;
      &amp;quot;email&amp;quot;: &amp;quot;bilbo@lordoftherings.com&amp;quot;,&lt;br /&gt;
      &amp;quot;accepts_marketing&amp;quot;: true,&lt;br /&gt;
      &amp;quot;note&amp;quot;: &amp;quot;Here is some sample text.&amp;quot;,&lt;br /&gt;
      &amp;quot;orders_count&amp;quot;: 200,&lt;br /&gt;
      &amp;quot;state&amp;quot;: &amp;quot;enabled&amp;quot;,&lt;br /&gt;
      &amp;quot;total_spent&amp;quot;: 13908.63,&lt;br /&gt;
      &amp;quot;created_at&amp;quot;: &amp;quot;2010-06-15T23:15:50.925+10:00&amp;quot;,&lt;br /&gt;
      &amp;quot;updated_at&amp;quot;: &amp;quot;2017-09-20T10:47:18.428+10:00&amp;quot;,&lt;br /&gt;
      &amp;quot;sign_in_count&amp;quot;: 314,&lt;br /&gt;
      &amp;quot;current_sign_in_at&amp;quot;: &amp;quot;2017-09-20T10:47:18.424+10:00&amp;quot;,&lt;br /&gt;
      &amp;quot;current_sign_in_ip&amp;quot;: &amp;quot;192.168.10.200&amp;quot;,&lt;br /&gt;
      &amp;quot;last_sign_in_at&amp;quot;: &amp;quot;2017-09-20T10:43:18.716+10:00&amp;quot;,&lt;br /&gt;
      &amp;quot;last_sign_in_ip&amp;quot;: &amp;quot;192.168.10.200&amp;quot;,&lt;br /&gt;
      &amp;quot;last_order_id&amp;quot;: 1353,&lt;br /&gt;
      &amp;quot;wholesale&amp;quot;: false,&lt;br /&gt;
      &amp;quot;credit&amp;quot;: 0.0,&lt;br /&gt;
      &amp;quot;tags&amp;quot;: &amp;quot;wholesaler&amp;quot;,&lt;br /&gt;
      &amp;quot;default_address&amp;quot;: {&lt;br /&gt;
        &amp;quot;id&amp;quot;: 1969,&lt;br /&gt;
        &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
        &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot;,&lt;br /&gt;
        &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot;,&lt;br /&gt;
        &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot;,&lt;br /&gt;
        &amp;quot;company&amp;quot;: &amp;quot;The Fellowship of the Ring&amp;quot;,&lt;br /&gt;
        &amp;quot;address1&amp;quot;: &amp;quot;2 Bag End&amp;quot;,&lt;br /&gt;
        &amp;quot;address2&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
        &amp;quot;city&amp;quot;: &amp;quot;Hobbiton&amp;quot;,&lt;br /&gt;
        &amp;quot;province&amp;quot;: &amp;quot;Waikato&amp;quot;,&lt;br /&gt;
        &amp;quot;province_code&amp;quot;: &amp;quot;WKO&amp;quot;,&lt;br /&gt;
        &amp;quot;country&amp;quot;: &amp;quot;New Zealand&amp;quot;,&lt;br /&gt;
        &amp;quot;country_code&amp;quot;: &amp;quot;NZ&amp;quot;,&lt;br /&gt;
        &amp;quot;zip&amp;quot;: &amp;quot;1234&amp;quot;,&lt;br /&gt;
        &amp;quot;phone&amp;quot;: &amp;quot;123456789&amp;quot;,&lt;br /&gt;
        &amp;quot;default&amp;quot;: true&lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;addresses&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
          &amp;quot;id&amp;quot;: 1969,&lt;br /&gt;
          &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
          &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot;,&lt;br /&gt;
          &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot;,&lt;br /&gt;
          &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot;,&lt;br /&gt;
          &amp;quot;company&amp;quot;: &amp;quot;The Fellowship of the Ring&amp;quot;,&lt;br /&gt;
          &amp;quot;address1&amp;quot;: &amp;quot;2 Bag End&amp;quot;,&lt;br /&gt;
          &amp;quot;address2&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
          &amp;quot;city&amp;quot;: &amp;quot;Hobbiton&amp;quot;,&lt;br /&gt;
          &amp;quot;province&amp;quot;: &amp;quot;Waikato&amp;quot;,&lt;br /&gt;
          &amp;quot;province_code&amp;quot;: &amp;quot;WKO&amp;quot;,&lt;br /&gt;
          &amp;quot;country&amp;quot;: &amp;quot;New Zealand&amp;quot;,&lt;br /&gt;
          &amp;quot;country_code&amp;quot;: &amp;quot;NZ&amp;quot;,&lt;br /&gt;
          &amp;quot;zip&amp;quot;: &amp;quot;1234&amp;quot;,&lt;br /&gt;
          &amp;quot;phone&amp;quot;: &amp;quot;123456789&amp;quot;,&lt;br /&gt;
          &amp;quot;default&amp;quot;: true&lt;br /&gt;
        }&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/customers.json?fields=id,name,email&lt;br /&gt;
&lt;br /&gt;
GET /api/customers.json?whole_status=wholesale&lt;br /&gt;
&lt;br /&gt;
GET /api/customers.json?ids=232133,354345,234234&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;GET /api/customers/search.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Searches for customers that match a supplied query.&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;
!query&lt;br /&gt;
|Text to search for in the store&amp;#039;s customer data. The text is used to search the customer&amp;#039;s name, email address and location.&lt;br /&gt;
&lt;br /&gt;
Additionally, or instead, search filters can be added to limit the search. A search filter may be prefixed by &amp;#039;-&amp;#039; to indicate the condition is negated.&lt;br /&gt;
&lt;br /&gt;
For example, the following search filter could be specified - &amp;#039;-country:Australia total_spent:&amp;gt;100&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The following search filters can be specified:&lt;br /&gt;
&lt;br /&gt;
* accepts_marketing (0 or 1)&lt;br /&gt;
* country (country name)&lt;br /&gt;
* last_abandoned_order_date (last_week or last_month)&lt;br /&gt;
* order_date (last_week, last_month, last_3_months, &amp;lt;yyyy-mm-dd or &amp;gt;yyyy-mm-dd)&lt;br /&gt;
* orders_count (n, &amp;lt;n or &amp;gt;n)&lt;br /&gt;
* state (guest, enabled, disabled, invited, declined)&lt;br /&gt;
* total_spent (n, &amp;lt;n or &amp;gt;n)&lt;br /&gt;
* credit (n, &amp;lt;n or &amp;gt;n)&lt;br /&gt;
* wholesale (0 or 1)&lt;br /&gt;
|-&lt;br /&gt;
!since_id&lt;br /&gt;
|Limit the results to only include objects which have an id greater than the given value.&lt;br /&gt;
|-&lt;br /&gt;
!wholesale_status&lt;br /&gt;
|Limit the results to only include customers with the given wholesale status (&amp;#039;wholesale&amp;#039; or &amp;#039;retail&amp;#039;).&lt;br /&gt;
|-&lt;br /&gt;
!marketing_status&lt;br /&gt;
|Limit the results to only include customers with the given marketing status (&amp;#039;accepts_marketing&amp;#039; or &amp;#039;rejects_marketing&amp;#039;).&lt;br /&gt;
|-&lt;br /&gt;
!created_at_min&lt;br /&gt;
|Return only the customers created after the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!created_at_max&lt;br /&gt;
|Return only the customers created before the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!updated_at_min&lt;br /&gt;
|Return only the customers updated after the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!updated_at_max&lt;br /&gt;
|Return only the customers updated before the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&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/customers/search.json?query=Bilbo country:&amp;quot;New Zealand&amp;quot; total_spent:&amp;gt;100&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;GET /api/customers/count.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Return a count of the number of customers.&lt;br /&gt;
&lt;br /&gt;
==== Optional Parameters ====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;reference&amp;quot;&lt;br /&gt;
!since_id&lt;br /&gt;
|Limit the results to only include objects which have an id greater than the given value.&lt;br /&gt;
|-&lt;br /&gt;
!wholesale_status&lt;br /&gt;
|Limit the results to only include customers with the given wholesale status (&amp;#039;wholesale&amp;#039; or &amp;#039;retail&amp;#039;).&lt;br /&gt;
|-&lt;br /&gt;
!marketing_status&lt;br /&gt;
|Limit the results to only include customers with the given marketing status (&amp;#039;accepts_marketing&amp;#039; or &amp;#039;rejects_marketing&amp;#039;).&lt;br /&gt;
|-&lt;br /&gt;
!created_at_min&lt;br /&gt;
|Return only the customers created after the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!created_at_max&lt;br /&gt;
|Return only the customers created before the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!updated_at_min&lt;br /&gt;
|Return only the customers updated after the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
!updated_at_max&lt;br /&gt;
|Return only the customers updated before the given date and time. Use the format &amp;quot;2014-12-31 12:00&amp;quot;.&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/customers/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;: 14567&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Examples using filters&lt;br /&gt;
&lt;br /&gt;
GET /api/customers/count.json?marketing_status=accepts_marketing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;GET /api/customers/CUSTOMER_ID.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Retrieves a single customer 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/customers/6.json&lt;br /&gt;
&lt;br /&gt;
HTTP/1.1 200 OK&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;customer&amp;quot;: {&lt;br /&gt;
    &amp;quot;id&amp;quot;: 6,&lt;br /&gt;
    &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
    &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot;,&lt;br /&gt;
    &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot;,&lt;br /&gt;
    &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot;,&lt;br /&gt;
    &amp;quot;email&amp;quot;: &amp;quot;bilbo@lordoftherings.com&amp;quot;,&lt;br /&gt;
    &amp;quot;accepts_marketing&amp;quot;: true,&lt;br /&gt;
    &amp;quot;note&amp;quot;: &amp;quot;Here is some sample text.&amp;quot;,&lt;br /&gt;
    &amp;quot;orders_count&amp;quot;: 200,&lt;br /&gt;
    &amp;quot;state&amp;quot;: &amp;quot;enabled&amp;quot;,&lt;br /&gt;
    &amp;quot;total_spent&amp;quot;: 13908.63,&lt;br /&gt;
    &amp;quot;created_at&amp;quot;: &amp;quot;2010-06-15T23:15:50.925+10:00&amp;quot;,&lt;br /&gt;
    &amp;quot;updated_at&amp;quot;: &amp;quot;2017-09-20T10:47:18.428+10:00&amp;quot;,&lt;br /&gt;
    &amp;quot;sign_in_count&amp;quot;: 314,&lt;br /&gt;
    &amp;quot;current_sign_in_at&amp;quot;: &amp;quot;2017-09-20T10:47:18.424+10:00&amp;quot;,&lt;br /&gt;
    &amp;quot;current_sign_in_ip&amp;quot;: &amp;quot;192.168.10.200&amp;quot;,&lt;br /&gt;
    &amp;quot;last_sign_in_at&amp;quot;: &amp;quot;2017-09-20T10:43:18.716+10:00&amp;quot;,&lt;br /&gt;
    &amp;quot;last_sign_in_ip&amp;quot;: &amp;quot;192.168.10.200&amp;quot;,&lt;br /&gt;
    &amp;quot;last_order_id&amp;quot;: 1353,&lt;br /&gt;
    &amp;quot;wholesale&amp;quot;: false,&lt;br /&gt;
    &amp;quot;credit&amp;quot;: 0.0,&lt;br /&gt;
    &amp;quot;tags&amp;quot;: &amp;quot;wholesaler&amp;quot;,&lt;br /&gt;
    &amp;quot;default_address&amp;quot;: {&lt;br /&gt;
      &amp;quot;id&amp;quot;: 1969,&lt;br /&gt;
      &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
      &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot;,&lt;br /&gt;
      &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot;,&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot;,&lt;br /&gt;
      &amp;quot;company&amp;quot;: &amp;quot;The Fellowship of the Ring&amp;quot;,&lt;br /&gt;
      &amp;quot;address1&amp;quot;: &amp;quot;2 Bag End&amp;quot;,&lt;br /&gt;
      &amp;quot;address2&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
      &amp;quot;city&amp;quot;: &amp;quot;Hobbiton&amp;quot;,&lt;br /&gt;
      &amp;quot;province&amp;quot;: &amp;quot;Waikato&amp;quot;,&lt;br /&gt;
      &amp;quot;province_code&amp;quot;: &amp;quot;WKO&amp;quot;,&lt;br /&gt;
      &amp;quot;country&amp;quot;: &amp;quot;New Zealand&amp;quot;,&lt;br /&gt;
      &amp;quot;country_code&amp;quot;: &amp;quot;NZ&amp;quot;,&lt;br /&gt;
      &amp;quot;zip&amp;quot;: &amp;quot;1234&amp;quot;,&lt;br /&gt;
      &amp;quot;phone&amp;quot;: &amp;quot;123456789&amp;quot;,&lt;br /&gt;
      &amp;quot;default&amp;quot;: true&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;addresses&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
        &amp;quot;id&amp;quot;: 1969,&lt;br /&gt;
        &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
        &amp;quot;first_name&amp;quot;: &amp;quot;Bilbo&amp;quot;,&lt;br /&gt;
        &amp;quot;last_name&amp;quot;: &amp;quot;Baggins&amp;quot;,&lt;br /&gt;
        &amp;quot;name&amp;quot;: &amp;quot;Mr Bilbo Baggins&amp;quot;,&lt;br /&gt;
        &amp;quot;company&amp;quot;: &amp;quot;The Fellowship of the Ring&amp;quot;,&lt;br /&gt;
        &amp;quot;address1&amp;quot;: &amp;quot;2 Bag End&amp;quot;,&lt;br /&gt;
        &amp;quot;address2&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
        &amp;quot;city&amp;quot;: &amp;quot;Hobbiton&amp;quot;,&lt;br /&gt;
        &amp;quot;province&amp;quot;: &amp;quot;Waikato&amp;quot;,&lt;br /&gt;
        &amp;quot;province_code&amp;quot;: &amp;quot;WKO&amp;quot;,&lt;br /&gt;
        &amp;quot;country&amp;quot;: &amp;quot;New Zealand&amp;quot;,&lt;br /&gt;
        &amp;quot;country_code&amp;quot;: &amp;quot;NZ&amp;quot;,&lt;br /&gt;
        &amp;quot;zip&amp;quot;: &amp;quot;1234&amp;quot;,&lt;br /&gt;
        &amp;quot;phone&amp;quot;: &amp;quot;123456789&amp;quot;,&lt;br /&gt;
        &amp;quot;default&amp;quot;: true&lt;br /&gt;
      }&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/customers.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Creates a customer.&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/customers.json&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;customer&amp;quot;: {&lt;br /&gt;
    &amp;quot;title&amp;quot;: &amp;quot;Mr&amp;quot;,&lt;br /&gt;
    &amp;quot;first_name&amp;quot;: &amp;quot;Gandalf&amp;quot;,&lt;br /&gt;
    &amp;quot;last_name&amp;quot;: &amp;quot;Wizard&amp;quot;,&lt;br /&gt;
    &amp;quot;email&amp;quot;: &amp;quot;gandalf@lordoftherings.com&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/customers/CUSTOMER_ID.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Updates a customer.&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/customers/6.json&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;customer&amp;quot;: {&lt;br /&gt;
    &amp;quot;id&amp;quot;: 6,&lt;br /&gt;
    &amp;quot;note&amp;quot;: &amp;quot;The ring has been found.&amp;quot;&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/customers/CUSTOMER_ID.json&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Deletes a customer.&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/customers/6.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>