Customer
<h5>Brief Description</h5>
<ul>
<li>Create customer data.</li>
</ul>
<h5>Request URL</h5>
<ul>
<li><code>https://6409627.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=646&amp;deploy=1</code></li>
</ul>
<h5>Request Method</h5>
<ul>
<li>POST</li>
</ul>
<h5>Request Parameter Description</h5>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Required</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>name</td>
<td>True</td>
<td>String</td>
<td>1C Customer Company name</td>
</tr>
<tr>
<td>abbreviation</td>
<td>False</td>
<td>String</td>
<td>1C Customer abbreviation</td>
</tr>
<tr>
<td>category</td>
<td>False</td>
<td>Number</td>
<td>1C Customer category.List of values:[customer categery](<a href="https://www.showdoc.com.cn/2076069668546132/9591168335720565">https://www.showdoc.com.cn/2076069668546132/9591168335720565</a> "customer categery")</td>
</tr>
<tr>
<td>country</td>
<td>True</td>
<td>String</td>
<td>1C Customer country</td>
</tr>
<tr>
<td>salesRep</td>
<td>False</td>
<td>Array[String]</td>
<td>1C Customer sales representative</td>
</tr>
<tr>
<td>salesDept</td>
<td>False</td>
<td>String</td>
<td>1C Customer sales department</td>
</tr>
<tr>
<td>mainSubsidiary</td>
<td>True</td>
<td>String</td>
<td>1C Customer main subsidiary,Default to:"徐工俄罗斯有限责任公司(新徐俄)"</td>
</tr>
<tr>
<td>subsidiary</td>
<td>False</td>
<td>Array[String]</td>
<td>1C Customer subsidiary,Default to:"徐工俄罗斯有限责任公司(新徐俄)"</td>
</tr>
<tr>
<td>contact</td>
<td>False</td>
<td>String</td>
<td>1C Customer contact</td>
</tr>
<tr>
<td>address</td>
<td>False</td>
<td>String</td>
<td>1C Customer company address</td>
</tr>
<tr>
<td>mainCurrency</td>
<td>True</td>
<td>String</td>
<td>1C Customer Currency,fix value “RUB”</td>
</tr>
<tr>
<td>taxRegistNum</td>
<td>True</td>
<td>String</td>
<td>1C Customer Tax Registration Number,Unique identification</td>
</tr>
<tr>
<td>account</td>
<td>False</td>
<td>String</td>
<td>1C Customer account</td>
</tr>
<tr>
<td>email</td>
<td>False</td>
<td>String</td>
<td>1C Customer email</td>
</tr>
</tbody>
</table>
<h5>Samples</h5>
<pre><code> {
&quot;name&quot;: &quot;ДИЗИ СЕРВИС ООО&quot;,
&quot;abbreviation&quot;: &quot;ДИЗИ СЕРВИС ООО&quot;,
&quot;category&quot;: 2,
&quot;country&quot;: &quot;RU&quot;,
&quot;salesRep&quot;: [
&quot;Москаленко Сергей Игоревич&quot;,&quot;lisa&quot;
],
&quot;salesDept&quot;: &quot;Департамент продаж техники&quot;,
&quot;mainSubsidiary&quot;: &quot;徐工俄罗斯有限责任公司(新徐俄)&quot;,
&quot;subsidiary&quot;: [
&quot;a&quot;,&quot;b&quot;
],
&quot;contact&quot;: &quot;Челябинская обл&quot;,
&quot;address&quot;: &quot;394089, Воронежская обл, Воронеж г, ул. Октябрьская, дом № 25&quot;,
&quot;mainCurrency&quot;: &quot;RUB&quot;,
&quot;taxRegistNum&quot;: &quot;3662280299&quot;,
&quot;account&quot;: &quot;62.01&quot;,
&quot;email&quot;:&quot;info@tigr86.ru&quot;
}</code></pre>
<h5>Response Parameter Description</h5>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>success</td>
<td>Boolean</td>
<td>true:success,false:failed</td>
</tr>
<tr>
<td>message</td>
<td>String</td>
<td>errors message</td>
</tr>
<tr>
<td>data</td>
<td>Array</td>
<td>Data</td>
</tr>
</tbody>
</table>
<h5>Return Samples</h5>
<pre><code> // Error
{
&quot;success&quot;: false,
&quot;message&quot;: &quot;name must be filled!&quot;,
&quot;data&quot;: []
}
// Success
{
&quot;success&quot;: true,
&quot;message&quot;: &quot;&quot;,
&quot;data&quot;: [{
&quot;internalid&quot; :3995
}]
}
</code></pre>
<h5>Memo</h5>
<ul>
<li>For certification information, please see <a href="https://www.showdoc.com.cn/xcmgnsapi/9352531526636929">Interface Certification Information</a></li>
</ul>