EasyFreight API V2


List Trade Parties

<h1>List Trade Parties</h1> <h2>Request</h2> <ul> <li>Method: <strong>GET</strong></li> <li>URI: <code>/api/v2/tradeParties</code></li> </ul> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>String</td> <td>Search By code</td> </tr> <tr> <td>name</td> <td>String</td> <td>Search By name</td> </tr> <tr> <td>type</td> <td>String</td> <td>Search By type</td> </tr> <tr> <td>country</td> <td>String</td> <td>Search By country</td> </tr> <tr> <td>search</td> <td>String</td> <td>Search for records that partially match with code, name, address, billing_address, or bl_address</td> </tr> <tr> <td>per_page</td> <td>Number</td> <td>Number of record per page</td> </tr> <tr> <td>page</td> <td>Number</td> <td>Page number</td> </tr> </tbody> </table> <h2>Code Example</h2> <pre><code>Request: curl --location --request GET 'https://admin.easyfreight.solutions/api/v2/tradeParties' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer xxxxxx' \ Response: HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 { &amp;quot;data&amp;quot;: [ { &amp;quot;id&amp;quot;: 4158, &amp;quot;code&amp;quot;: &amp;quot;ABC&amp;quot;, &amp;quot;type&amp;quot;: &amp;quot;US Forwarder&amp;quot;, &amp;quot;name&amp;quot;: &amp;quot;TEST NAME&amp;quot;, &amp;quot;billing_to_name&amp;quot;: &amp;quot;test&amp;quot;, &amp;quot;country&amp;quot;: &amp;quot;UNITED STATES&amp;quot;, &amp;quot;state&amp;quot;: null, &amp;quot;city&amp;quot;: null, &amp;quot;zipcode&amp;quot;: null, &amp;quot;address&amp;quot;: null, &amp;quot;billing_address&amp;quot;: &amp;quot;TEST BILLING ADDRESS&amp;quot;, &amp;quot;bl_address&amp;quot;: &amp;quot;TEST BL ADDRESS&amp;quot; }, .... ], &amp;quot;links&amp;quot;: { &amp;quot;first&amp;quot;: &amp;quot;xxxx&amp;quot;, &amp;quot;last&amp;quot;: &amp;quot;xxxx&amp;quot;, &amp;quot;prev&amp;quot;: null, &amp;quot;next&amp;quot;: null }, &amp;quot;meta&amp;quot;: { &amp;quot;current_page&amp;quot;: 1, &amp;quot;from&amp;quot;: 1, &amp;quot;last_page&amp;quot;: 1, &amp;quot;path&amp;quot;: &amp;quot;xxxx&amp;quot;, &amp;quot;per_page&amp;quot;: 25, &amp;quot;to&amp;quot;: 1, &amp;quot;total&amp;quot;: 1 } }</code></pre>

页面列表

ITEM_HTML