{"id":7289,"date":"2026-05-20T13:47:20","date_gmt":"2026-05-20T06:47:20","guid":{"rendered":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/?p=7289"},"modified":"2026-05-20T16:38:40","modified_gmt":"2026-05-20T09:38:40","slug":"api_supplier","status":"publish","type":"post","link":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/","title":{"rendered":"Supplier Module"},"content":{"rendered":"<h5><strong>SKYBIZ API \u2014 Supplier Module<\/strong><\/h5>\n<h3><strong>Supplier<\/strong><\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">The Supplier module allows you to retrieve and create supplier records in your SKYBIZ account. Supports both <strong>read<\/strong> and <strong>create<\/strong> operations.<\/p>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\"><strong>Endpoint:<\/strong> <code class=\"bg-text-200\/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]\">\/apiv2\/modules\/supplier.php<\/code><\/p>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\"><strong>Required Permissions:<\/strong> Supplier \u2014 Read, Supplier \u2014 Create<\/p>\n<hr \/>\n<h3><strong>Read Suppliers<\/strong><\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">Retrieves suppliers modified within the given date range, ordered by <code class=\"bg-text-200\/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]\">CusCode<\/code>.<\/p>\n<h4>Base Request Structure<\/h4>\n<pre>{\r\n  \"api_key\": \"your-api-key\",\r\n  \"api_secret\": \"your-api-secret\",\r\n  \"action\": \"read\",\r\n  \"date_from\": \"YYYY-MM-DD\",\r\n  \"date_to\": \"YYYY-MM-DD\",\r\n  \"fields\": [],\r\n  \"filters\": {}\r\n}<\/pre>\n<h4>Request Parameters<\/h4>\n<div class=\"overflow-x-auto w-full px-2 mb-6\">\n<table class=\"min-w-full border-collapse text-sm leading-[1.7] whitespace-normal\">\n<thead class=\"text-left\">\n<tr>\n<th class=\"text-text-100 border-b-0.5 border-border-300\/60 py-2 pr-4 align-top font-bold\" scope=\"col\">Parameter<\/th>\n<th class=\"text-text-100 border-b-0.5 border-border-300\/60 py-2 pr-4 align-top font-bold\" scope=\"col\">Description<\/th>\n<th class=\"text-text-100 border-b-0.5 border-border-300\/60 py-2 pr-4 align-top font-bold\" scope=\"col\">Required<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\"><code>api_key<\/code><\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Your API key<\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Yes<\/td>\n<\/tr>\n<tr>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\"><code>api_secret<\/code><\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Your API secret<\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Yes<\/td>\n<\/tr>\n<tr>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\"><code>action<\/code><\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Must be <code>\"read\"<\/code><\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Yes<\/td>\n<\/tr>\n<tr>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\"><code>date_from<\/code><\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Start date (YYYY-MM-DD)<\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Yes<\/td>\n<\/tr>\n<tr>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\"><code>date_to<\/code><\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">End date (YYYY-MM-DD). Max 31 days range.<\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Yes<\/td>\n<\/tr>\n<tr>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\"><code>fields<\/code><\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Array of specific fields to return. Empty <code>[]<\/code> returns all.<\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">No<\/td>\n<\/tr>\n<tr>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\"><code>filters<\/code><\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">Object to filter results (e.g., <code>{\"Town\": \"Shah Alam\"}<\/code>)<\/td>\n<td class=\"border-b-0.5 border-border-300\/30 py-2 pr-4 align-top\">No<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h4>Date Rules<\/h4>\n<ul>\n<li>Format must be <code>YYYY-MM-DD<\/code> \u2014 e.g. <code>\"2026-04-01\"<\/code><\/li>\n<li>Maximum range is <strong>31 days<\/strong><\/li>\n<li><code>date_from<\/code> cannot be after <code>date_to<\/code><\/li>\n<\/ul>\n<hr \/>\n<h3><strong>Available Fields (Read Only)<\/strong><\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">Use the <code>fields<\/code> parameter to return only the fields you need. Leave empty to return all fields.<\/p>\n<div class=\"overflow-x-auto w-full px-2 mb-6\">\n<table class=\"min-w-full border-collapse text-sm leading-[1.7] whitespace-normal\">\n<thead class=\"text-left\">\n<tr>\n<th>Field<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>CusCode<\/code><\/td>\n<td>string<\/td>\n<td>Unique supplier code (identifier)<\/td>\n<\/tr>\n<tr>\n<td><code>CusName<\/code><\/td>\n<td>string<\/td>\n<td>Supplier name<\/td>\n<\/tr>\n<tr>\n<td><code>Address<\/code><\/td>\n<td>string<\/td>\n<td>Full address<\/td>\n<\/tr>\n<tr>\n<td><code>AreaCode<\/code><\/td>\n<td>string<\/td>\n<td>Area code<\/td>\n<\/tr>\n<tr>\n<td><code>CurCode<\/code><\/td>\n<td>string<\/td>\n<td>Currency code (e.g., RM, SGD, USD)<\/td>\n<\/tr>\n<tr>\n<td><code>Tel<\/code><\/td>\n<td>string<\/td>\n<td>Primary telephone<\/td>\n<\/tr>\n<tr>\n<td><code>Tel2<\/code><\/td>\n<td>string<\/td>\n<td>Secondary telephone<\/td>\n<\/tr>\n<tr>\n<td><code>Fax<\/code><\/td>\n<td>string<\/td>\n<td>Fax number<\/td>\n<\/tr>\n<tr>\n<td><code>Fax2<\/code><\/td>\n<td>string<\/td>\n<td>Secondary fax number<\/td>\n<\/tr>\n<tr>\n<td><code>Email<\/code><\/td>\n<td>string<\/td>\n<td>Email address<\/td>\n<\/tr>\n<tr>\n<td><code>Contact<\/code><\/td>\n<td>string<\/td>\n<td>Contact person name<\/td>\n<\/tr>\n<tr>\n<td><code>ContactTel<\/code><\/td>\n<td>string<\/td>\n<td>Contact person telephone<\/td>\n<\/tr>\n<tr>\n<td><code>Town<\/code><\/td>\n<td>string<\/td>\n<td>Town\/City<\/td>\n<\/tr>\n<tr>\n<td><code>State<\/code><\/td>\n<td>string<\/td>\n<td>State<\/td>\n<\/tr>\n<tr>\n<td><code>Country<\/code><\/td>\n<td>string<\/td>\n<td>Country<\/td>\n<\/tr>\n<tr>\n<td><code>PostCode<\/code><\/td>\n<td>string<\/td>\n<td>Postal code<\/td>\n<\/tr>\n<tr>\n<td><code>SalesPersonCode<\/code><\/td>\n<td>string<\/td>\n<td>Assigned salesperson code (for purchase contact)<\/td>\n<\/tr>\n<tr>\n<td><code>CreditLimit<\/code><\/td>\n<td>float<\/td>\n<td>Credit limit amount<\/td>\n<\/tr>\n<tr>\n<td><code>TermCode<\/code><\/td>\n<td>integer<\/td>\n<td>Payment term in days<\/td>\n<\/tr>\n<tr>\n<td><code>StatusBadYN<\/code><\/td>\n<td>string<\/td>\n<td>Bad status flag \u2014 <code>\"0\"<\/code> or <code>\"1\"<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>DateStart<\/code><\/td>\n<td>string<\/td>\n<td>Supplier start date<\/td>\n<\/tr>\n<tr>\n<td><code>DOB<\/code><\/td>\n<td>string<\/td>\n<td>Date of birth (if individual)<\/td>\n<\/tr>\n<tr>\n<td><code>Sex<\/code><\/td>\n<td>string<\/td>\n<td>Gender<\/td>\n<\/tr>\n<tr>\n<td><code>MemberType<\/code><\/td>\n<td>string<\/td>\n<td>Member type<\/td>\n<\/tr>\n<tr>\n<td><code>DateTimeModified<\/code><\/td>\n<td>string<\/td>\n<td>Last modified datetime \u2014 used as the date filter<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<hr \/>\n<h3><strong>Example 1 \u2014 Get All Suppliers (All Fields)<\/strong><\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">This request returns all supplier fields for suppliers modified between April 1, 2026 and April 30, 2026.<\/p>\n<h4>Request<\/h4>\n<pre>{\r\n  \"api_key\": \"your-api-key\",\r\n  \"api_secret\": \"your-api-secret\",\r\n  \"action\": \"read\",\r\n  \"date_from\": \"2026-04-01\",\r\n  \"date_to\": \"2026-04-30\",\r\n  \"fields\": [],\r\n  \"filters\": {}\r\n}<\/pre>\n<h4>Sample Code for making an API READ request using php<\/h4>\n<pre>&lt;?php\r\nheader('Content-Type: application\/json');\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 1: CONFIGURATION\r\n\/\/ ============================================================\r\n\r\n$API_KEY = \"your-api-key\";\r\n$API_SECRET = \"your-api-secret\";\r\n$ACTION = \"read\";\r\n\r\n\/\/ Date range (required for all endpoints, max 31 days)\r\n$DATE_FROM = \"2026-04-01\";\r\n$DATE_TO = \"2026-04-30\";\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 2: ENDPOINT\r\n\/\/ ============================================================\r\n\r\n$BASE_URL = \"https:\/\/domain-name\/01\/clientportal\/apiv2\/modules\"; \/\/(replace it with your skybiz domain name url)\r\n$ENDPOINT = \"supplier.php\";\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 3: REQUEST PARAMETERS\r\n\/\/ ============================================================\r\n\r\n$requestParams = [\r\n    \"date_from\" =&gt; $DATE_FROM,\r\n    \"date_to\" =&gt; $DATE_TO,\r\n    \"fields\" =&gt; [], \/\/ Leave empty for all fields\r\n    \"filters\" =&gt; [] \/\/ Optional filters\r\n];\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 4: BUILD PAYLOAD\r\n\/\/ ============================================================\r\n\r\n$payload = array_merge(\r\n    [\r\n        \"api_key\" =&gt; $API_KEY,\r\n        \"api_secret\" =&gt; $API_SECRET,\r\n        \"action\" =&gt; $ACTION\r\n    ],\r\n    $requestParams\r\n);\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 5: SEND REQUEST\r\n\/\/ ============================================================\r\n\r\n$url = rtrim($BASE_URL, '\/') . '\/' . ltrim($ENDPOINT, '\/');\r\n\r\n$ch = curl_init($url);\r\n\r\ncurl_setopt_array($ch, [\r\n    CURLOPT_RETURNTRANSFER =&gt; true,\r\n    CURLOPT_POST =&gt; true,\r\n    CURLOPT_POSTFIELDS =&gt; http_build_query($payload),\r\n    CURLOPT_TIMEOUT =&gt; 30,\r\n]);\r\n\r\n$response = curl_exec($ch);\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 6: HANDLE CURL ERROR\r\n\/\/ ============================================================\r\n\r\nif ($response === false) {\r\n    echo json_encode([\r\n        \"status\" =&gt; \"error\",\r\n        \"timestamp\" =&gt; date(\"c\"),\r\n        \"request_id\" =&gt; uniqid(\"req_\"),\r\n        \"message\" =&gt; curl_error($ch)\r\n    ], JSON_PRETTY_PRINT);\r\n    curl_close($ch);\r\n    exit;\r\n}\r\n\r\n$httpStatus = curl_getinfo($ch, CURLINFO_HTTP_CODE);\r\ncurl_close($ch);\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 7: DECODE RESPONSE\r\n\/\/ ============================================================\r\n\r\n$result = json_decode($response, true);\r\n\r\nif (!$result) {\r\n    echo json_encode([\r\n        \"status\" =&gt; \"error\",\r\n        \"timestamp\" =&gt; date(\"c\"),\r\n        \"request_id\" =&gt; uniqid(\"req_\"),\r\n        \"message\" =&gt; \"Invalid JSON from API\",\r\n        \"raw_response\" =&gt; $response\r\n    ], JSON_PRETTY_PRINT);\r\n    exit;\r\n}\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 8: RETURN CLEAN JSON FORMAT\r\n\/\/ ============================================================\r\n\r\necho json_encode([\r\n    \"status\" =&gt; $result['status'] ?? \"error\",\r\n    \"timestamp\" =&gt; date(\"c\"),\r\n    \"request_id\" =&gt; $result['request_id'] ?? uniqid(\"req_\"),\r\n    \"data\" =&gt; $result['data'] ?? null,\r\n    \"message\" =&gt; $result['message'] ?? null\r\n], JSON_PRETTY_PRINT);<\/pre>\n<h4>Response (Success)<\/h4>\n<pre>{\r\n  \"status\": \"response\",\r\n  \"timestamp\": \"2026-04-30T04:07:04+00:00\",\r\n  \"request_id\": \"req_69f2d56891e57\",\r\n  \"data\": {\r\n    \"requested_by\": \"your-api-key\",\r\n    \"mode\": \"2\",\r\n    \"date_range\": {\r\n      \"from\": \"2026-04-01\",\r\n      \"to\": \"2026-04-30\",\r\n      \"days\": 30\r\n    },\r\n    \"total_returned\": 2,\r\n    \"data\": [\r\n      {\r\n        \"CusCode\": \"SUPP001\",\r\n        \"CusName\": \"Global Supplies Sdn Bhd\",\r\n        \"CurCode\": \"RM\",\r\n        \"Tel\": \"03-12345678\",\r\n        \"Email\": \"purchase@globalsupplies.com\",\r\n        \"Town\": \"Shah Alam\",\r\n        \"State\": \"Selangor\",\r\n        \"DateTimeModified\": \"2026-04-15 10:30:00\"\r\n      },\r\n      {\r\n        \"CusCode\": \"SUPP002\",\r\n        \"CusName\": \"Tech Components Sdn Bhd\",\r\n        \"CurCode\": \"RM\",\r\n        \"Tel\": \"03-87654321\",\r\n        \"Email\": \"order@techcomponents.com\",\r\n        \"Town\": \"Kuala Lumpur\",\r\n        \"State\": \"Kuala Lumpur\",\r\n        \"DateTimeModified\": \"2026-04-20 14:45:00\"\r\n      }\r\n    ]\r\n  }\r\n}<\/pre>\n<hr \/>\n<h3><strong>Example 2 \u2014 Get Specific Fields Only<\/strong><\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">This request returns only <code>CusCode<\/code>, <code>CusName<\/code>, <code>Email<\/code>, and <code>Tel<\/code> fields.<\/p>\n<h4>Request<\/h4>\n<pre>{\r\n  \"api_key\": \"your-api-key\",\r\n  \"api_secret\": \"your-api-secret\",\r\n  \"action\": \"read\",\r\n  \"date_from\": \"2026-04-01\",\r\n  \"date_to\": \"2026-04-30\",\r\n  \"fields\": [\"CusCode\", \"CusName\", \"Email\", \"Tel\"],\r\n  \"filters\": {}\r\n}<\/pre>\n<hr \/>\n<h3><strong>Example 3 \u2014 With Filters<\/strong><\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">This request returns only suppliers with <code>TestAPI<\/code> CusName.<\/p>\n<h4>Request<\/h4>\n<pre>{\r\n  \"api_key\": \"your-api-key\",\r\n  \"api_secret\": \"your-api-secret\",\r\n  \"action\": \"read\",\r\n  \"date_from\": \"2026-04-01\",\r\n  \"date_to\": \"2026-04-30\",\r\n  \"fields\": [],\r\n  \"filters\": {\"CusName\": \"TestAPI\"}\r\n}<\/pre>\n<hr \/>\n<h4>Postman Steps \u2014 READ Request<\/h4>\n<ol>\n<li>Set method to <strong>POST<\/strong><\/li>\n<\/ol>\n<p><a href=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7290\" src=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png\" alt=\"\" width=\"1226\" height=\"408\" srcset=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png 1226w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1-300x100.png 300w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1-1024x341.png 1024w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1-768x256.png 768w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1-150x50.png 150w\" sizes=\"auto, (max-width: 1226px) 100vw, 1226px\" \/><\/a><\/p>\n<p>2. Enter URL: <code class=\"bg-text-200\/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]\">https:\/\/your-domain\/01\/clientportal\/apiv2\/modules\/supplier.php<\/code><\/p>\n<p><a href=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7291\" src=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier2.png\" alt=\"\" width=\"1220\" height=\"386\" srcset=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier2.png 1220w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier2-300x95.png 300w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier2-1024x324.png 1024w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier2-768x243.png 768w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier2-150x47.png 150w\" sizes=\"auto, (max-width: 1220px) 100vw, 1220px\" \/><\/a><\/p>\n<p>3. Set header: <code class=\"bg-text-200\/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]\">Content-Type: application\/json<\/code><\/p>\n<p><a href=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7292\" src=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier3.png\" alt=\"\" width=\"1224\" height=\"284\" srcset=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier3.png 1224w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier3-300x70.png 300w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier3-1024x238.png 1024w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier3-768x178.png 768w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier3-150x35.png 150w\" sizes=\"auto, (max-width: 1224px) 100vw, 1224px\" \/><\/a><\/p>\n<p>4. Under <strong>Body<\/strong>, select <strong>raw<\/strong> and format <strong>JSON<\/strong><\/p>\n<p><a href=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7293\" src=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier4.png\" alt=\"\" width=\"1223\" height=\"360\" srcset=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier4.png 1223w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier4-300x88.png 300w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier4-1024x301.png 1024w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier4-768x226.png 768w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier4-150x44.png 150w\" sizes=\"auto, (max-width: 1223px) 100vw, 1223px\" \/><\/a><\/p>\n<p>5. Paste your request payload and click <strong>Send<\/strong><\/p>\n<p><a href=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7294\" src=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier5.png\" alt=\"\" width=\"1226\" height=\"935\" srcset=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier5.png 1226w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier5-300x229.png 300w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier5-1024x781.png 1024w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier5-768x586.png 768w, https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier5-150x114.png 150w\" sizes=\"auto, (max-width: 1226px) 100vw, 1226px\" \/><\/a><\/p>\n<hr \/>\n<h3><strong>Create Supplier<\/strong><\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">Creates one or more supplier records. All documents are validated before any are saved. If any document fails, the entire batch is rejected.<\/p>\n<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\"><strong>Note:<\/strong> <code>FinCatCode<\/code> is automatically set to <code>B70<\/code> by the system. Do not include it in your request.<\/p>\n<h4>Compulsory Fields<\/h4>\n<div class=\"overflow-x-auto w-full px-2 mb-6\">\n<table class=\"min-w-full border-collapse text-sm leading-[1.7] whitespace-normal\">\n<thead class=\"text-left\">\n<tr>\n<th>Field<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>AccountCode<\/code><\/td>\n<td>string<\/td>\n<td>GL account code (e.g., AP-001)<\/td>\n<\/tr>\n<tr>\n<td><code>CusCode<\/code><\/td>\n<td>string<\/td>\n<td>Unique supplier code. Must not already exist.<\/td>\n<\/tr>\n<tr>\n<td><code>CusName<\/code><\/td>\n<td>string<\/td>\n<td>Supplier name<\/td>\n<\/tr>\n<tr>\n<td><code>CurCode<\/code><\/td>\n<td>string<\/td>\n<td>Currency code. Must exist in SKYBIZ currency table.<\/td>\n<\/tr>\n<tr>\n<td><code>D_ay<\/code><\/td>\n<td>integer<\/td>\n<td>Payment term in days \u2014 e.g. <code>30<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>CategoryCode<\/code><\/td>\n<td>string<\/td>\n<td>Supplier category<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h4>Optional Fields<\/h4>\n<div class=\"overflow-x-auto w-full px-2 mb-6\">\n<table class=\"min-w-full border-collapse text-sm leading-[1.7] whitespace-normal\">\n<thead class=\"text-left\">\n<tr>\n<th>Field<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>Address1<\/code> to <code>Address4<\/code><\/td>\n<td>string<\/td>\n<td>Address lines 1 to 4. Concatenated into <code>Address<\/code> field.<\/td>\n<\/tr>\n<tr>\n<td><code>AreaCode<\/code><\/td>\n<td>string<\/td>\n<td>Area code<\/td>\n<\/tr>\n<tr>\n<td><code>CreditLimit<\/code><\/td>\n<td>float<\/td>\n<td>Credit limit. Default: <code>0<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>SalesPersonCode<\/code><\/td>\n<td>string<\/td>\n<td>Assigned purchase contact code<\/td>\n<\/tr>\n<tr>\n<td><code>Tel<\/code> \/ <code>Tel2<\/code><\/td>\n<td>string<\/td>\n<td>Phone numbers<\/td>\n<\/tr>\n<tr>\n<td><code>Fax<\/code> \/ <code>Fax2<\/code><\/td>\n<td>string<\/td>\n<td>Fax numbers<\/td>\n<\/tr>\n<tr>\n<td><code>Contact<\/code> \/ <code>ContactTel<\/code><\/td>\n<td>string<\/td>\n<td>Contact person name and phone<\/td>\n<\/tr>\n<tr>\n<td><code>URL<\/code> \/ <code>Email<\/code><\/td>\n<td>string<\/td>\n<td>Website URL and email address<\/td>\n<\/tr>\n<tr>\n<td><code>Town<\/code> \/ <code>State<\/code> \/ <code>Country<\/code> \/ <code>PostCode<\/code><\/td>\n<td>string<\/td>\n<td>Address components<\/td>\n<\/tr>\n<tr>\n<td><code>GSTNo<\/code><\/td>\n<td>string<\/td>\n<td>GST registration number<\/td>\n<\/tr>\n<tr>\n<td><code>NRICNo<\/code><\/td>\n<td>string<\/td>\n<td>NRIC number (if individual supplier)<\/td>\n<\/tr>\n<tr>\n<td><code>SalesTaxNo<\/code> \/ <code>TaxExemptionNo<\/code><\/td>\n<td>string<\/td>\n<td>Tax-related numbers<\/td>\n<\/tr>\n<tr>\n<td><code>TaxTel<\/code> \/ <code>TaxEmail<\/code><\/td>\n<td>string<\/td>\n<td>Tax office contact details<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h4>Base Create Request Structure<\/h4>\n<pre>{\r\n  \"api_key\": \"your-api-key\",\r\n  \"api_secret\": \"your-api-secret\",\r\n  \"action\": \"create\",\r\n  \"supplier_data\": {\r\n    \"documents\": [\r\n      {\r\n        \"AccountCode\": \"AP-001\",\r\n        \"CusCode\": \"SUPP001\",\r\n        \"CusName\": \"Supplier Name\",\r\n        \"CurCode\": \"RM\",\r\n        \"D_ay\": 30,\r\n        \"CategoryCode\": \"LOCAL\",\r\n        \"Address1\": \"123 Industrial Area\",\r\n        \"Address2\": \"Section 2\",\r\n        \"AreaCode\": \"SEL\",\r\n        \"CreditLimit\": 100000.00,\r\n        \"SalesPersonCode\": \"PURCHASE01\",\r\n        \"Tel\": \"03-12345678\",\r\n        \"Email\": \"supplier@test.com\",\r\n        \"Town\": \"Shah Alam\",\r\n        \"State\": \"Selangor\",\r\n        \"Country\": \"Malaysia\",\r\n        \"PostCode\": \"40000\"\r\n      }\r\n    ]\r\n  }\r\n}<\/pre>\n<h4>Sample Code for making an API CREATE request using php<\/h4>\n<pre>&lt;?php\r\nheader('Content-Type: application\/json');\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 1: CONFIGURATION\r\n\/\/ ============================================================\r\n\r\n$API_KEY = \"your-api-key\";\r\n$API_SECRET = \"your-api-secret\";\r\n$ACTION = \"create\";\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 2: ENDPOINT\r\n\/\/ ============================================================\r\n\r\n$BASE_URL = \"https:\/\/domain-name\/01\/clientportal\/apiv2\/modules\"; \/\/(replace it with your skybiz domain name url)\r\n$ENDPOINT = \"supplier.php\";\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 3: DATA KEY\r\n\/\/ ============================================================\r\n\r\n$DATA_KEY = \"supplier_data\";\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 4: BUILD YOUR DOCUMENTS ARRAY\r\n\/\/ ============================================================\r\n\r\n$DOCUMENTS = [];\r\n\r\n\/\/ --- Supplier example ---\r\n$DOCUMENTS[] = [\r\n    \"AccountCode\" =&gt; \"AP-001\",\r\n    \"CusCode\" =&gt; \"SUPP001\",\r\n    \"CusName\" =&gt; \"Supplier Name\",\r\n    \"CurCode\" =&gt; \"RM\",\r\n    \"D_ay\" =&gt; 30,\r\n    \"CategoryCode\" =&gt; \"LOCAL\",\r\n    \"Address1\" =&gt; \"123 Industrial Area\",\r\n    \"Address2\" =&gt; \"Section 2\",\r\n    \"AreaCode\" =&gt; \"SEL\",\r\n    \"CreditLimit\" =&gt; 100000.00,\r\n    \"SalesPersonCode\" =&gt; \"PURCHASE01\",\r\n    \"Tel\" =&gt; \"03-12345678\",\r\n    \"Email\" =&gt; \"supplier@test.com\",\r\n    \"Town\" =&gt; \"Shah Alam\",\r\n    \"State\" =&gt; \"Selangor\",\r\n    \"Country\" =&gt; \"Malaysia\",\r\n    \"PostCode\" =&gt; \"40000\"\r\n];\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 5: CLIENT-SIDE COUNT CHECK (Please do not modify this)\r\n\/\/ ============================================================\r\n\r\n$totalDocuments = 0;\r\n\r\nforeach ($DOCUMENTS as $document) {\r\n    $totalDocuments++;\r\n\r\n    if (empty($document['CusCode'])) {\r\n        echo json_encode([\r\n            \"status\" =&gt; \"REJECTED_BY_CLIENT\",\r\n            \"timestamp\" =&gt; date(\"c\"),\r\n            \"request_id\" =&gt; uniqid(\"req_\"),\r\n            \"message\" =&gt; \"CLIENT-SIDE REJECTION: Document at position {$totalDocuments} has empty CusCode\",\r\n            \"action_required\" =&gt; \"Fix the document before sending to server\"\r\n        ], JSON_PRETTY_PRINT);\r\n        exit;\r\n    }\r\n}\r\n\r\nif ($totalDocuments &gt; 500) {\r\n    echo json_encode([\r\n        \"status\" =&gt; \"REJECTED_BY_CLIENT\",\r\n        \"timestamp\" =&gt; date(\"c\"),\r\n        \"request_id\" =&gt; uniqid(\"req_\"),\r\n        \"message\" =&gt; \"CLIENT-SIDE REJECTION: You have {$totalDocuments} documents. Maximum is 500.\",\r\n        \"your_document_count\" =&gt; $totalDocuments,\r\n        \"max_allowed\" =&gt; 500,\r\n        \"action_required\" =&gt; \"Reduce your documents to 500 or less BEFORE sending to server\"\r\n    ], JSON_PRETTY_PRINT);\r\n    exit;\r\n}\r\n\r\necho \"=== CLIENT-SIDE VALIDATION ===\\n\";\r\necho \"Looped through all {$totalDocuments} documents one by one\\n\";\r\necho \"All documents passed client validation\\n\";\r\necho \"Document count: {$totalDocuments} (max 500)\\n\";\r\necho \"Sending to server...\\n\\n\";\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 6: SEND REQUEST\r\n\/\/ ============================================================\r\n\r\n$url = rtrim($BASE_URL, '\/') . '\/' . ltrim($ENDPOINT, '\/');\r\n\r\n$payload = [\r\n    \"api_key\" =&gt; $API_KEY,\r\n    \"api_secret\" =&gt; $API_SECRET,\r\n    \"action\" =&gt; $ACTION,\r\n    $DATA_KEY =&gt; [\"documents\" =&gt; $DOCUMENTS]\r\n];\r\n\r\n$ch = curl_init($url);\r\n\r\ncurl_setopt_array($ch, [\r\n    CURLOPT_RETURNTRANSFER =&gt; true,\r\n    CURLOPT_POST =&gt; true,\r\n    CURLOPT_POSTFIELDS =&gt; json_encode($payload),\r\n    CURLOPT_HTTPHEADER =&gt; ['Content-Type: application\/json'],\r\n    CURLOPT_TIMEOUT =&gt; 120,\r\n]);\r\n\r\n$response = curl_exec($ch);\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 7: HANDLE CURL ERROR\r\n\/\/ ============================================================\r\n\r\nif ($response === false) {\r\n    echo json_encode([\r\n        \"status\" =&gt; \"error\",\r\n        \"timestamp\" =&gt; date(\"c\"),\r\n        \"request_id\" =&gt; uniqid(\"req_\"),\r\n        \"message\" =&gt; curl_error($ch)\r\n    ], JSON_PRETTY_PRINT);\r\n    curl_close($ch);\r\n    exit;\r\n}\r\n\r\n$httpStatus = curl_getinfo($ch, CURLINFO_HTTP_CODE);\r\ncurl_close($ch);\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 8: DECODE RESPONSE\r\n\/\/ ============================================================\r\n\r\n$result = json_decode($response, true);\r\n\r\nif (!$result) {\r\n    echo json_encode([\r\n        \"status\" =&gt; \"error\",\r\n        \"timestamp\" =&gt; date(\"c\"),\r\n        \"request_id\" =&gt; uniqid(\"req_\"),\r\n        \"message\" =&gt; \"Invalid JSON from API\",\r\n        \"raw_response\" =&gt; $response\r\n    ], JSON_PRETTY_PRINT);\r\n    exit;\r\n}\r\n\r\n\/\/ ============================================================\r\n\/\/ STEP 9: RETURN CLEAN JSON FORMAT\r\n\/\/ ============================================================\r\n\r\necho \"=== SERVER RESPONSE ===\\n\";\r\necho json_encode([\r\n    \"status\" =&gt; $result['status'] ?? \"error\",\r\n    \"timestamp\" =&gt; date(\"c\"),\r\n    \"request_id\" =&gt; $result['request_id'] ?? uniqid(\"req_\"),\r\n    \"data\" =&gt; $result['data'] ?? null,\r\n    \"message\" =&gt; $result['message'] ?? null\r\n], JSON_PRETTY_PRINT);<\/pre>\n<h4>Response (Success)<\/h4>\n<pre>{\r\n  \"status\": \"response\",\r\n  \"timestamp\": \"2026-05-20T10:30:00+08:00\",\r\n  \"request_id\": \"req_69fc0070d83cf\",\r\n  \"data\": {\r\n    \"requested_by\": \"your-api-key\",\r\n    \"mode\": \"2\",\r\n    \"summary\": {\r\n      \"total_documents\": 1,\r\n      \"inserted\": 1,\r\n      \"failed\": 0\r\n    },\r\n    \"successful_documents\": [\"SUPP001\"],\r\n    \"failed_documents\": [],\r\n    \"fail_details\": {\r\n      \"compulsory_fields_missing\": [],\r\n      \"duplicate_suppliers\": [],\r\n      \"invalid_currencies\": [],\r\n      \"validation_errors\": []\r\n    }\r\n  }\r\n}<\/pre>\n<h4>Response (Error \u2014 Duplicate Supplier)<\/h4>\n<pre>{\r\n  \"status\": \"response\",\r\n  \"timestamp\": \"2026-05-20T10:30:00+08:00\",\r\n  \"request_id\": \"req_69fc03e446a20\",\r\n  \"data\": {\r\n    \"requested_by\": \"your-api-key\",\r\n    \"mode\": \"2\",\r\n    \"summary\": {\r\n      \"total_documents\": 1,\r\n      \"inserted\": 0,\r\n      \"failed\": 1\r\n    },\r\n    \"successful_documents\": [],\r\n    \"failed_documents\": [\"SUPP001\"],\r\n    \"fail_details\": {\r\n      \"duplicate_suppliers\": [\r\n        {\r\n          \"cuscode\": \"SUPP001\",\r\n          \"error\": \"Supplier code already exists\"\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}<\/pre>\n<hr \/>\n<h3><strong>Error Responses<\/strong><\/h3>\n<h4>Missing Date Range (READ)<\/h4>\n<pre>{\r\n  \"status\": \"error\",\r\n  \"timestamp\": \"2026-04-07T10:46:15+08:00\",\r\n  \"request_id\": \"req_6612f3b9c21a7\",\r\n  \"message\": \"date_from and date_to are required\"\r\n}<\/pre>\n<h4>Invalid Date Format<\/h4>\n<pre>{\r\n  \"status\": \"error\",\r\n  \"timestamp\": \"2026-04-07T10:46:15+08:00\",\r\n  \"request_id\": \"req_6612f3b9c21a7\",\r\n  \"message\": \"Invalid date format. Use YYYY-MM-DD format.\"\r\n}<\/pre>\n<h4>Missing Compulsory Fields (CREATE)<\/h4>\n<pre>{\r\n  \"status\": \"response\",\r\n  \"timestamp\": \"2026-05-20T10:30:00+08:00\",\r\n  \"request_id\": \"req_123456\",\r\n  \"data\": {\r\n    \"summary\": {\r\n      \"total_documents\": 1,\r\n      \"inserted\": 0,\r\n      \"failed\": 1\r\n    },\r\n    \"failed_documents\": [\"SUPP001\"],\r\n    \"fail_details\": {\r\n      \"compulsory_fields_missing\": [\r\n        \"Document 1 (CusCode: SUPP001): Missing fields - AccountCode, CusName, CurCode, D_ay, CategoryCode\"\r\n      ]\r\n    }\r\n  }\r\n}<\/pre>\n<h4>Invalid Currency Code (CREATE)<\/h4>\n<pre>{\r\n  \"status\": \"response\",\r\n  \"timestamp\": \"2026-05-20T10:30:00+08:00\",\r\n  \"request_id\": \"req_123456\",\r\n  \"data\": {\r\n    \"summary\": {\r\n      \"total_documents\": 1,\r\n      \"inserted\": 0,\r\n      \"failed\": 1\r\n    },\r\n    \"failed_documents\": [\"SUPP001\"],\r\n    \"fail_details\": {\r\n      \"invalid_currencies\": [\r\n        \"Document 1 (CusCode: SUPP001): Currency code 'INVALID' does not exist\"\r\n      ]\r\n    }\r\n  }\r\n}<\/pre>\n<h4>No Read Permission<\/h4>\n<pre>{\r\n  \"status\": \"error\",\r\n  \"timestamp\": \"2026-04-07T10:46:15+08:00\",\r\n  \"request_id\": \"req_6612f3b9c21a7\",\r\n  \"message\": \"Supplier read permission denied\"\r\n}<\/pre>\n<h4>No Create Permission<\/h4>\n<pre>{\r\n  \"status\": \"error\",\r\n  \"timestamp\": \"2026-05-20T10:30:00+08:00\",\r\n  \"request_id\": \"req_123456\",\r\n  \"message\": \"Supplier create permission denied\"\r\n}<\/pre>\n<hr \/>\n<h3><strong>Common Errors \u2014 Supplier Module<\/strong><\/h3>\n<div class=\"overflow-x-auto w-full px-2 mb-6\">\n<table class=\"min-w-full border-collapse text-sm leading-[1.7] whitespace-normal\">\n<thead class=\"text-left\">\n<tr>\n<th>Error Message<\/th>\n<th>Cause<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>\"date_from and date_to are required\"<\/code><\/td>\n<td>Missing date range (READ only)<\/td>\n<td>Add both fields to your request<\/td>\n<\/tr>\n<tr>\n<td><code>\"Invalid date format. Use YYYY-MM-DD format.\"<\/code><\/td>\n<td>Wrong date format<\/td>\n<td>Use YYYY-MM-DD \u2014 e.g. <code>\"2026-04-01\"<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>\"Date range cannot exceed 31 days.\"<\/code><\/td>\n<td>Date range too wide<\/td>\n<td>Narrow range to 31 days or fewer<\/td>\n<\/tr>\n<tr>\n<td><code>\"Missing fields - AccountCode, CusName, CurCode, D_ay, CategoryCode\"<\/code><\/td>\n<td>Compulsory fields not provided (CREATE)<\/td>\n<td>Include all required fields for Supplier module<\/td>\n<\/tr>\n<tr>\n<td><code>\"Currency code 'X' does not exist\"<\/code><\/td>\n<td>Invalid currency code (CREATE)<\/td>\n<td>Use a valid currency code (e.g., RM, SGD, USD)<\/td>\n<\/tr>\n<tr>\n<td><code>\"Supplier code already exists\"<\/code><\/td>\n<td>Duplicate <code>CusCode<\/code> in database (CREATE)<\/td>\n<td>Use a unique supplier code or update existing record if permitted<\/td>\n<\/tr>\n<tr>\n<td><code>\"Duplicate CusCode found in the same batch\"<\/code><\/td>\n<td>Same <code>CusCode<\/code> appears multiple times in one request (CREATE)<\/td>\n<td>Remove duplicate entries from your documents array<\/td>\n<\/tr>\n<tr>\n<td><code>\"Supplier read permission denied\"<\/code><\/td>\n<td>No read permission for Supplier module<\/td>\n<td>Enable read permission in portal by contacting your SkyBiz Admin<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>SKYBIZ API \u2014 Supplier Module Supplier The Supplier module allows you to retrieve and create supplier records in your SKYBIZ account. Supports both read and create operations. Endpoint: \/apiv2\/modules\/supplier.php Required Permissions: Supplier \u2014 Read, Supplier \u2014 Create Read Suppliers Retrieves suppliers modified within the given date range, ordered by CusCode. Base Request Structure { &#8220;api_key&#8221;: ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[213,217],"tags":[],"class_list":["post-7289","post","type-post","status-publish","format-standard","hentry","category-10-api-documentation","category-1005-supplier"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Supplier Module - SKYBIZ Cloud ERP Support<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Supplier Module - SKYBIZ Cloud ERP Support\" \/>\n<meta property=\"og:description\" content=\"SKYBIZ API \u2014 Supplier Module Supplier The Supplier module allows you to retrieve and create supplier records in your SKYBIZ account. Supports both read and create operations. Endpoint: \/apiv2\/modules\/supplier.php Required Permissions: Supplier \u2014 Read, Supplier \u2014 Create Read Suppliers Retrieves suppliers modified within the given date range, ordered by CusCode. Base Request Structure { &quot;api_key&quot;: ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/\" \/>\n<meta property=\"og:site_name\" content=\"SKYBIZ Cloud ERP Support\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-20T06:47:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-20T09:38:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1226\" \/>\n\t<meta property=\"og:image:height\" content=\"408\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"team 03\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"team 03\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/\"},\"author\":{\"name\":\"team 03\",\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/#\\\/schema\\\/person\\\/f3a2bcb10e55b23238c1b160bb06d9a9\"},\"headline\":\"Supplier Module\",\"datePublished\":\"2026-05-20T06:47:20+00:00\",\"dateModified\":\"2026-05-20T09:38:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/\"},\"wordCount\":610,\"image\":{\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/api_supplier1.png\",\"articleSection\":[\"10. API Documentation\",\"1005. Supplier\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/\",\"url\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/\",\"name\":\"Supplier Module - SKYBIZ Cloud ERP Support\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/api_supplier1.png\",\"datePublished\":\"2026-05-20T06:47:20+00:00\",\"dateModified\":\"2026-05-20T09:38:40+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/#\\\/schema\\\/person\\\/f3a2bcb10e55b23238c1b160bb06d9a9\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/#primaryimage\",\"url\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/api_supplier1.png\",\"contentUrl\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/api_supplier1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/api_supplier\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Supplier Module\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/#website\",\"url\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/\",\"name\":\"SKYBIZ Cloud ERP Support\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/#\\\/schema\\\/person\\\/f3a2bcb10e55b23238c1b160bb06d9a9\",\"name\":\"team 03\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed4575e459e48798469dd7ea3f93c83386ac432dd3bfebbf7d56837d067cbb88?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed4575e459e48798469dd7ea3f93c83386ac432dd3bfebbf7d56837d067cbb88?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed4575e459e48798469dd7ea3f93c83386ac432dd3bfebbf7d56837d067cbb88?s=96&d=blank&r=g\",\"caption\":\"team 03\"},\"sameAs\":[\"http:\\\/\\\/skybiz.com.my\"],\"url\":\"https:\\\/\\\/aisupport.skybizglobal.com\\\/skybizclouderp\\\/author\\\/team03skybiz-com-my\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Supplier Module - SKYBIZ Cloud ERP Support","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Supplier Module - SKYBIZ Cloud ERP Support","og_description":"SKYBIZ API \u2014 Supplier Module Supplier The Supplier module allows you to retrieve and create supplier records in your SKYBIZ account. Supports both read and create operations. Endpoint: \/apiv2\/modules\/supplier.php Required Permissions: Supplier \u2014 Read, Supplier \u2014 Create Read Suppliers Retrieves suppliers modified within the given date range, ordered by CusCode. Base Request Structure { \"api_key\": ..Read more","og_url":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/","og_site_name":"SKYBIZ Cloud ERP Support","article_published_time":"2026-05-20T06:47:20+00:00","article_modified_time":"2026-05-20T09:38:40+00:00","og_image":[{"width":1226,"height":408,"url":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png","type":"image\/png"}],"author":"team 03","twitter_card":"summary_large_image","twitter_misc":{"Written by":"team 03","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/#article","isPartOf":{"@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/"},"author":{"name":"team 03","@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/#\/schema\/person\/f3a2bcb10e55b23238c1b160bb06d9a9"},"headline":"Supplier Module","datePublished":"2026-05-20T06:47:20+00:00","dateModified":"2026-05-20T09:38:40+00:00","mainEntityOfPage":{"@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/"},"wordCount":610,"image":{"@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/#primaryimage"},"thumbnailUrl":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png","articleSection":["10. API Documentation","1005. Supplier"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/","url":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/","name":"Supplier Module - SKYBIZ Cloud ERP Support","isPartOf":{"@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/#primaryimage"},"image":{"@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/#primaryimage"},"thumbnailUrl":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png","datePublished":"2026-05-20T06:47:20+00:00","dateModified":"2026-05-20T09:38:40+00:00","author":{"@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/#\/schema\/person\/f3a2bcb10e55b23238c1b160bb06d9a9"},"breadcrumb":{"@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/#primaryimage","url":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png","contentUrl":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-content\/uploads\/2026\/05\/api_supplier1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/api_supplier\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/"},{"@type":"ListItem","position":2,"name":"Supplier Module"}]},{"@type":"WebSite","@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/#website","url":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/","name":"SKYBIZ Cloud ERP Support","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/#\/schema\/person\/f3a2bcb10e55b23238c1b160bb06d9a9","name":"team 03","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed4575e459e48798469dd7ea3f93c83386ac432dd3bfebbf7d56837d067cbb88?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed4575e459e48798469dd7ea3f93c83386ac432dd3bfebbf7d56837d067cbb88?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed4575e459e48798469dd7ea3f93c83386ac432dd3bfebbf7d56837d067cbb88?s=96&d=blank&r=g","caption":"team 03"},"sameAs":["http:\/\/skybiz.com.my"],"url":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/author\/team03skybiz-com-my\/"}]}},"_links":{"self":[{"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/posts\/7289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/comments?post=7289"}],"version-history":[{"count":3,"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/posts\/7289\/revisions"}],"predecessor-version":[{"id":7297,"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/posts\/7289\/revisions\/7297"}],"wp:attachment":[{"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/media?parent=7289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/categories?post=7289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aisupport.skybizglobal.com\/skybizclouderp\/wp-json\/wp\/v2\/tags?post=7289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}