备件主数据接口
<h5>Brief Description</h5>
<ul>
<li>· Item interface</li>
</ul>
<h5>Request URL</h5>
<ul>
<li><code>https://6409627-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=618&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>itemId</td>
<td>true</td>
<td>String</td>
<td>Item number of spare parts</td>
</tr>
<tr>
<td>displayName</td>
<td>true</td>
<td>String</td>
<td>product name</td>
</tr>
<tr>
<td>enName</td>
<td>false</td>
<td>String</td>
<td>English name</td>
</tr>
<tr>
<td>baseUnit</td>
<td>true</td>
<td>String</td>
<td>Main basic unit</td>
</tr>
<tr>
<td>subsidiary</td>
<td>true</td>
<td>String</td>
<td>subsidiary company</td>
</tr>
</tbody>
</table>
<h5>Samples</h5>
<pre><code>{
&quot;itemId&quot; : &quot;test&quot;,
&quot;displayName&quot; :&quot;test&quot;,
&quot;enName&quot;:&quot;1234567&quot;,
&quot;baseUnit&quot; : &quot;PCS&quot;,
&quot;subsidiary&quot;: &quot;731465285701206016&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
{</code></pre>
<p> "success": false,
"message": "{\"meesage\":\"The packet format is incorrect and should be an object\"}",
"data": []
}
// Success
{
"success": true,
"message": "",
"data": [{
"internalid" :3995
}]
}</p>
<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>