{"info":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","description":"<html><head></head><body><h1 id=\"overview\">Overview</h1>\n<h2 id=\"bussiness-flow\">Bussiness Flow</h2>\n<p><a href=\"https://drive.google.com/uc?id=1goXO1Y3gM1foD-YEoKXC0k-UinpAWxpd\">Click here for detail diagram</a></p>\n<h1 id=\"features\">Features</h1>\n<h2 id=\"easy-to-integrate-api\">Easy to Integrate API</h2>\n<ul>\n<li><p>Our RESTful API’s enable our partners to integrate to our solution seamlessly;</p>\n</li>\n<li><p>Tetama API support: Purchase Order, Sales Order, Product.</p>\n</li>\n</ul>\n<h2 id=\"dashboard\">Dashboard</h2>\n<ul>\n<li>Tetama provides a portal for our partners to see partner credentials for accessing our API and also changing webhook URL;</li>\n</ul>\n<h1 id=\"setting-up\">Setting Up</h1>\n<p>Once a partner has registered, it will have an access to our sandbox environment. Tetama partner dashboard will also be accessible.</p>\n<h2 id=\"getting-notification\">Getting Notification</h2>\n<p>Tetama allows partners to receive realtime notifications about Tetama related information, by configuring a endpoint url on the Tetama Partner Dashboard.</p>\n<p>We are sending notifications to Webhook URL. This endpoint will only be triggered if there are status changes to existing subscription. Please refer to notification status triggers table refecenced below this section for which statuses are sent in the notification.</p>\n<p>Once configured, Tetama will send a HTTP POST payload to the url, containing detail about specific event which can be seen in the notification payload section.</p>\n<p><strong>Configuring the Endpoint URL</strong></p>\n<ul>\n<li><p>To setup an Endpoint URL on Tetama, head over to the <strong>SETTINGS</strong> tab on the sidebar, and edit the values on <strong>WEBHOOK URL</strong>.</p>\n</li>\n<li><p>Save the notification URL using the <strong>Submit</strong> button. The notification URL can be modified anytime from the settings page.</p>\n</li>\n</ul>\n<h2 id=\"notification-payload\">Notification Payload</h2>\n<p>Example Payload:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"po_id\": 235,\n  \"po_no\": \"PO-000000235\",\n  \"po_status\": \"being_processed\",\n  \"reason_detail\": null,\n  \"reason_category\": null,\n  \"supporting_document\": null,\n  \"last_modified_time\": \"2023-06-15T12:46:12.417Z\",\n  \"sales_order_id\": 1145,\n  \"sales_order_no\": \"OMS-SO-000001145\",\n  \"platform_sales_order_no\": \"SO-000002876\",\n  \"so_status\": \"submitted\",\n  \"platform_so_status\": \"Siap Kirim\"\n}\n\n</code></pre>\n<h3 id=\"payload-description\">Payload Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>po_id</td>\n<td><code>number</code> The purchase order ID.</td>\n</tr>\n<tr>\n<td>po_no</td>\n<td><code>string</code> The purchase order number.</td>\n</tr>\n<tr>\n<td>po_status</td>\n<td><code>enum</code> Refer to purchase order status reference section for possible values.</td>\n</tr>\n<tr>\n<td>reason_detail</td>\n<td><code>string</code> Additional details or reasons related to the purchase order cancellation.</td>\n</tr>\n<tr>\n<td>reason_category</td>\n<td><code>string</code> The category of the reason for the purchase order cancellation.</td>\n</tr>\n<tr>\n<td>supporting_document</td>\n<td><code>string</code> Any supporting document associated with the purchase order cancellation.</td>\n</tr>\n<tr>\n<td>last_modified_time</td>\n<td>The timestamp indicating the last modification time of the purchase order.</td>\n</tr>\n<tr>\n<td></td>\n<td>Date format in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>sales_order_id</td>\n<td><code>number</code> The sales order ID associated with the purchase order.</td>\n</tr>\n<tr>\n<td>sales_order_no</td>\n<td><code>string</code> The sales order number corresponding to the purchase order.</td>\n</tr>\n<tr>\n<td>platform_sales_order_no</td>\n<td><code>string</code> The platform-specific sales order number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>so_status</td>\n<td><code>enum</code> Refer to sales order status reference section for possible values.</td>\n</tr>\n<tr>\n<td>platform_so_status</td>\n<td><code>enum</code> Refer to platform sales order status reference section for possible values.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"notification-status-triggers\">Notification Status Triggers</h3>\n<p>Tetama system will send notification when current status is triggered</p>\n<p>StartFragment</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>PO Status</th>\n<th>SO Status</th>\n<th>Get Notification</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>canceled</td>\n<td>null / Cancelled</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>being_processed</td>\n<td>Defecta</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>being_processed</td>\n<td>Pengambilan belum dimulai</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>being_processed</td>\n<td>Siap Kirim</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>being_processed</td>\n<td>Terkirim</td>\n<td>✅</td>\n</tr>\n<tr>\n<td>completed</td>\n<td>Selesai</td>\n<td>✅</td>\n</tr>\n</tbody>\n</table>\n</div><p>EndFragment</p>\n<h2 id=\"error-code-and-message\">Error Code and Message</h2>\n<h3 id=\"description-of-usual-server-responses-http-codes\">Description Of Usual Server Responses (HTTP Codes)</h3>\n<ul>\n<li><p><code>200 OK</code> - the request was successful (some API calls may return 201 instead).</p>\n</li>\n<li><p><code>201 Created</code> - the request was successful and a resource was created.</p>\n</li>\n<li><p><code>202 Accepted</code> - the request was accepted and enqueue for processing later.</p>\n</li>\n<li><p><code>204 No Content</code> - the request was successful but there is no representation to return (i.e. the response is empty).</p>\n</li>\n<li><p><code>400 Bad Request</code> - the request could not be understood or was missing required parameters.</p>\n</li>\n<li><p><code>401 Unauthorized</code> - authentication failed.</p>\n</li>\n<li><p><code>403 Forbidden</code> - access denied.</p>\n</li>\n<li><p><code>402 Payment Required</code> - payment is required.</p>\n</li>\n<li><p><code>404 Not Found</code> - resource was not found.</p>\n</li>\n<li><p><code>410 Gone</code> - the resource has been expired.</p>\n</li>\n<li><p><code>422 Unprocessable Entity</code> - i.e. validation errors.</p>\n</li>\n<li><p><code>500 Internal Server Error</code> - Bad bad bad.</p>\n</li>\n<li><p><code>503 Service Unavailable</code> - service is temporary unavailable (e.g. scheduled Platform Maintenance). Try again later.</p>\n</li>\n</ul>\n<h3 id=\"error-structure\">Error Structure</h3>\n<p>Aside from the <code>4XX</code> and <code>5XX</code> error HTTP Headers, we have an unified error structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"error_code\": \"INTERNAL_SERVER_ERROR\",\n  \"message\": \"Internal Server Error\"\n}\n\n</code></pre><p>This means that, if you get an <code>4XX</code> or <code>5XX</code> errors, you can utilize your system to log or display the error message to the user. Possible error codes will be explained in each endpoints.</p>\n<h1 id=\"reference\">Reference</h1>\n<h2 id=\"purchase-order-status\">Purchase Order Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>PO Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>open</td>\n<td>Purchase Order is sucessfully submitted in Tetama system.</td>\n</tr>\n<tr>\n<td>waiting_for_approval</td>\n<td>Purchase Order needed OTP approval from APJ</td>\n</tr>\n<tr>\n<td>expired</td>\n<td>Purchase Order has passed 2x24 hour OTP confirmation threshold</td>\n</tr>\n<tr>\n<td>being_processed</td>\n<td>Purchase Order is currently being processed</td>\n</tr>\n<tr>\n<td>completed</td>\n<td>Purchase Order and all the Sales Order related to is completed</td>\n</tr>\n<tr>\n<td>completed_with_case</td>\n<td>Purchase Order and some of the Sales Order related to is completed</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"sales-order-status\">Sales Order Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>SO Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cancelled</td>\n<td>Sales order is cancelled by partner's request</td>\n</tr>\n<tr>\n<td>defecta</td>\n<td>Sales order is on defecta</td>\n</tr>\n<tr>\n<td>draft</td>\n<td>Sales order is still on review</td>\n</tr>\n<tr>\n<td>submitted</td>\n<td>Sales order is approved</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"platform-sales-order-status\">Platform Sales Order Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Platform SO Status</th>\n<th>Descripton</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Draft</td>\n<td>Sales order is on review</td>\n</tr>\n<tr>\n<td>Canceled</td>\n<td>Sales order is cancelled by partner's request</td>\n</tr>\n<tr>\n<td>Pending</td>\n<td>Sales order is pending payment</td>\n</tr>\n<tr>\n<td>Lunas</td>\n<td>Sales order is paid</td>\n</tr>\n<tr>\n<td>Siap Proses</td>\n<td>Sales order is ready to processed</td>\n</tr>\n<tr>\n<td>Defecta</td>\n<td>Sales order is on defecta status</td>\n</tr>\n<tr>\n<td>Pengambilan belum dimulai</td>\n<td>Sales order items is waiting to be picked up from warehouse</td>\n</tr>\n<tr>\n<td>Pengambilan</td>\n<td>Sales order items is on pick up from warehouse</td>\n</tr>\n<tr>\n<td>Pengambilan Selesai</td>\n<td>Sales order items is picked up from warehouse</td>\n</tr>\n<tr>\n<td>Pengepakan</td>\n<td>Sales order items is on packaging status</td>\n</tr>\n<tr>\n<td>Siap Kirim</td>\n<td>Sales order is ready for delivery</td>\n</tr>\n<tr>\n<td>Menunggu Pengiriman</td>\n<td>Sales order is waiting for pickup</td>\n</tr>\n<tr>\n<td>Pengambilan Oleh Kurir</td>\n<td>Sales order is Picked Up</td>\n</tr>\n<tr>\n<td>Kurir Dalam Perjalanan</td>\n<td>Sales order is On the Way</td>\n</tr>\n<tr>\n<td>Terkirim</td>\n<td>Sales order is shipped</td>\n</tr>\n<tr>\n<td>Pengambilan Gagal</td>\n<td>Sales order items failed to pick up from warehouse</td>\n</tr>\n<tr>\n<td>Pengepakan Gagal</td>\n<td>Sales order failed packaging is failed</td>\n</tr>\n<tr>\n<td>Pengiriman Gagal</td>\n<td>Sales order delivery is failed</td>\n</tr>\n<tr>\n<td>Selesai</td>\n<td>Sales order is completed</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"sales-order-catgeory\">Sales Order Catgeory</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>SO Category</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Reguler</td>\n<td>SO Category for Product Category: ALAT KESEHATAN, FMCG, GENERIK, HERBAL, KOSMETIKA, OBAT BEBAS, OBAT BEBAS TERBATAS, OBAT KERAS  <br>OBAT KUASI, OBAT TRADISIONAL, PANGAN OLAHAN, PKRT, SUPLEMENT</td>\n</tr>\n<tr>\n<td>OOT</td>\n<td>SO Category for Product Category: OBAT - OBAT TERTENTU (OOT), OBAT - OBAT TERTENTU (OOT) - K</td>\n</tr>\n<tr>\n<td>Prekursor</td>\n<td>SO Category for Product Category: PREKURSOR, PREKURSOR - K</td>\n</tr>\n<tr>\n<td>Psikotropika</td>\n<td>SO Category for Product Category: PSIKOTROPIKA</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"authorization\">Authorization</h1>\n<p>For the authorization headers for authenticating the requests, please refer to our Authorization Header section below.</p>\n<h1 id=\"api-changelog\">API Changelog</h1>\n<h4 id=\"version-101---2024-08-06\">Version 1.0.1 - 2024-08-06</h4>\n<p><strong>Updates</strong></p>\n<ul>\n<li><p><strong>/v1/product</strong>:</p>\n<ul>\n<li>Add <code>priority</code> in response</li>\n</ul>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Features","slug":"features"},{"content":"Setting Up","slug":"setting-up"},{"content":"Reference","slug":"reference"},{"content":"Authorization","slug":"authorization"},{"content":"API Changelog","slug":"api-changelog"}],"owner":"27129522","collectionId":"6946cad2-1834-47ac-b2fe-53fdfa423b30","publishedId":"2s93eYUs75","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-17T07:24:52.000Z"},"item":[{"name":"Tetashop API","item":[{"name":"Area","item":[{"name":"Get Province List","event":[{"listen":"test","script":{"id":"2996038d-a75c-47b6-9a14-c8a900ea731c","exec":[""],"type":"text/javascript"}}],"id":"c028dcd0-c8dd-4563-a860-5053cc10fd1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/area/province?limit=10&page=1","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td><code>integer</code> The total number of provinces returned in the response.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td><code>integer</code> The maximum number of provinces per page.</td>\n</tr>\n<tr>\n<td>page</td>\n<td><code>integer</code> The current page number.</td>\n</tr>\n<tr>\n<td>data[].id</td>\n<td><code>integer</code> The unique identifier of the province.</td>\n</tr>\n<tr>\n<td>data[].name</td>\n<td><code>string</code> The name of the province.</td>\n</tr>\n<tr>\n<td>data[].code</td>\n<td><code>string</code> The area code of the province.</td>\n</tr>\n<tr>\n<td>data[].type</td>\n<td><code>string</code> The type of entity.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","area","province"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>Maximum number of data (optional, default: 10)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Data offset page (optional, default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"c2ce47e2-8ea2-4421-b1e2-79eace5f021d","name":"Get Province List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v1/area/province?limit=10&page=1","host":["{{BASE_URL}}"],"path":["v1","area","province"],"query":[{"key":"limit","value":"10","description":"Maximum number of data (optional, default: 10)"},{"key":"page","value":"1","description":"Data offset page (optional, default: 1)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 28 Jun 2023 06:16:50 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"283-xKILESgCo6Ma1I5XzMHZL+cm0uM\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 34,\n    \"limit\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"ACEH\",\n            \"code\": \"11\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"SUMATERA UTARA\",\n            \"code\": \"12\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"SUMATERA BARAT\",\n            \"code\": \"13\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"RIAU\",\n            \"code\": \"14\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"JAMBI\",\n            \"code\": \"15\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"SUMATERA SELATAN\",\n            \"code\": \"16\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"BENGKULU\",\n            \"code\": \"17\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"LAMPUNG\",\n            \"code\": \"18\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"KEPULAUAN BANGKA BELITUNG\",\n            \"code\": \"19\",\n            \"type\": \"province\"\n        },\n        {\n            \"id\": 10,\n            \"name\": \"KEPULAUAN RIAU\",\n            \"code\": \"21\",\n            \"type\": \"province\"\n        }\n    ]\n}"}],"_postman_id":"c028dcd0-c8dd-4563-a860-5053cc10fd1c"},{"name":"Get City List","event":[{"listen":"test","script":{"id":"2996038d-a75c-47b6-9a14-c8a900ea731c","exec":[""],"type":"text/javascript"}}],"id":"555c0f4e-f98a-473b-a92b-a69a204c9337","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/area/city?limit=10&page=1&province_id=1","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td><code>integer</code> The total number of cities returned in the response.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td><code>integer</code> The maximum number of cities per page.</td>\n</tr>\n<tr>\n<td>page</td>\n<td><code>integer</code> The current page number.</td>\n</tr>\n<tr>\n<td>data[].id</td>\n<td><code>integer</code> The unique identifier of the city.</td>\n</tr>\n<tr>\n<td>data[].name</td>\n<td><code>string</code> The name of the city.</td>\n</tr>\n<tr>\n<td>data[].code</td>\n<td><code>string</code> The area code of the city.</td>\n</tr>\n<tr>\n<td>data[].type</td>\n<td><code>string</code> The type of entity.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","area","city"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>Maximum number of data (optional, default: 10)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Data offset page (optional, default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Province ID</p>\n","type":"text/plain"},"key":"province_id","value":"1"}],"variable":[]}},"response":[{"id":"a1227416-0313-43fa-ae15-9cbe267e34db","name":"Get City List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v1/area/city?limit=10&page=1&province_id=1","host":["{{BASE_URL}}"],"path":["v1","area","city"],"query":[{"key":"limit","value":"10","description":"Maximum number of data (optional, default: 10)"},{"key":"page","value":"1","description":"Data offset page (optional, default: 1)"},{"key":"province_id","value":"1","description":"Province ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 28 Jun 2023 07:24:10 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"32d-EELHV9z/AEpzLeCtdijIntFNbwU\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 23,\n    \"limit\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"KAB. ACEH SELATAN\",\n            \"code\": \"11.01\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 2,\n            \"name\": \"KAB. ACEH TENGGARA\",\n            \"code\": \"11.02\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 3,\n            \"name\": \"KAB. ACEH TIMUR\",\n            \"code\": \"11.03\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 4,\n            \"name\": \"KAB. ACEH TENGAH\",\n            \"code\": \"11.04\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 5,\n            \"name\": \"KAB. ACEH BARAT\",\n            \"code\": \"11.05\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 6,\n            \"name\": \"KAB. ACEH BESAR\",\n            \"code\": \"11.06\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 7,\n            \"name\": \"KAB. PIDIE\",\n            \"code\": \"11.07\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 8,\n            \"name\": \"KAB. ACEH UTARA\",\n            \"code\": \"11.08\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 9,\n            \"name\": \"KAB. SIMEULUE\",\n            \"code\": \"11.09\",\n            \"type\": \"city\",\n            \"parent\": null\n        },\n        {\n            \"id\": 10,\n            \"name\": \"KAB. ACEH SINGKIL\",\n            \"code\": \"11.10\",\n            \"type\": \"city\",\n            \"parent\": null\n        }\n    ]\n}"}],"_postman_id":"555c0f4e-f98a-473b-a92b-a69a204c9337"},{"name":"Get District List","event":[{"listen":"test","script":{"id":"2996038d-a75c-47b6-9a14-c8a900ea731c","exec":[""],"type":"text/javascript"}}],"id":"3c07e728-ed31-4527-8a4e-abf36c8f2a3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/area/district?limit=10&page=1&city_id=1","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td><code>integer</code> The total number of districts returned in the response.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td><code>integer</code> The maximum number of districts per page.</td>\n</tr>\n<tr>\n<td>page</td>\n<td><code>integer</code> The current page number.</td>\n</tr>\n<tr>\n<td>data[].id</td>\n<td><code>integer</code> The unique identifier of the district.</td>\n</tr>\n<tr>\n<td>data[].name</td>\n<td><code>string</code> The name of the district.</td>\n</tr>\n<tr>\n<td>data[].code</td>\n<td><code>string</code> The area code of the district.</td>\n</tr>\n<tr>\n<td>data[].type</td>\n<td><code>string</code> The type of entity.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","area","district"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>Maximum number of data (optional, default: 10)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Data offset page (optional, default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>City ID</p>\n","type":"text/plain"},"key":"city_id","value":"1"}],"variable":[]}},"response":[{"id":"2d7590a6-e726-4722-85aa-80785e9fa1e9","name":"Get District List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v1/area/district?limit=10&page=1&city_id=1","host":["{{BASE_URL}}"],"path":["v1","area","district"],"query":[{"key":"limit","value":"10","description":"Maximum number of data (optional, default: 10)"},{"key":"page","value":"1","description":"Data offset page (optional, default: 1)"},{"key":"city_id","value":"1","description":"City ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 28 Jun 2023 07:24:16 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"333-5X25DOcLmrT7UQ+iZJ/e5k3dKIw\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 18,\n    \"limit\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Bakongan\",\n            \"code\": \"11.01.01\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Kluet Utara\",\n            \"code\": \"11.01.02\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Kluet Selatan\",\n            \"code\": \"11.01.03\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Labuhan Haji\",\n            \"code\": \"11.01.04\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Meukek\",\n            \"code\": \"11.01.05\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Samadua\",\n            \"code\": \"11.01.06\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Sawang\",\n            \"code\": \"11.01.07\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Tapaktuan\",\n            \"code\": \"11.01.08\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Trumon\",\n            \"code\": \"11.01.09\",\n            \"type\": \"district\",\n            \"parent\": null\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Pasi Raja\",\n            \"code\": \"11.01.10\",\n            \"type\": \"district\",\n            \"parent\": null\n        }\n    ]\n}"}],"_postman_id":"3c07e728-ed31-4527-8a4e-abf36c8f2a3a"},{"name":"Get Subdistrict List","event":[{"listen":"test","script":{"id":"2996038d-a75c-47b6-9a14-c8a900ea731c","exec":[""],"type":"text/javascript"}}],"id":"b9c64486-ee66-409f-a592-386584d1e1f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/area/subdistrict?limit=10&page=1&district_id=1","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td><code>integer</code> The total number of subdistricts returned in the response.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td><code>integer</code> The maximum number of subdistricts per page.</td>\n</tr>\n<tr>\n<td>page</td>\n<td><code>integer</code> The current page number.</td>\n</tr>\n<tr>\n<td>data[].id</td>\n<td><code>integer</code> The unique identifier of the subdistrict.</td>\n</tr>\n<tr>\n<td>data[].name</td>\n<td><code>string</code> The name of the subdistrict.</td>\n</tr>\n<tr>\n<td>data[].code</td>\n<td><code>string</code> The area code of the subdistrict.</td>\n</tr>\n<tr>\n<td>data[].type</td>\n<td><code>string</code> The type of entity.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","area","subdistrict"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>Maximum number of data (optional, default: 10)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Data offset page (optional, default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>District ID</p>\n","type":"text/plain"},"key":"district_id","value":"1"}],"variable":[]}},"response":[{"id":"69d1bb45-689e-4e47-acab-3adfca591a46","name":"Get Subdistrict List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v1/area/subdistrict?limit=10&page=1&district_id=1","host":["{{BASE_URL}}"],"path":["v1","area","subdistrict"],"query":[{"key":"limit","value":"10","description":"Maximum number of data (optional, default: 10)"},{"key":"page","value":"1","description":"Data offset page (optional, default: 1)"},{"key":"district_id","value":"1","description":"District ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 28 Jun 2023 07:24:19 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"337-VvAdZNjkmoV4Kkjs9frSvDbix3w\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 7,\n    \"limit\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Keude Bakongan\",\n            \"code\": \"11.01.01.2001\",\n            \"postal_code\": \"23773\",\n            \"type\": \"subdistrict\",\n            \"parent\": null\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Ujong Mangki\",\n            \"code\": \"11.01.01.2002\",\n            \"postal_code\": \"23773\",\n            \"type\": \"subdistrict\",\n            \"parent\": null\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Ujong Padang\",\n            \"code\": \"11.01.01.2003\",\n            \"postal_code\": \"23773\",\n            \"type\": \"subdistrict\",\n            \"parent\": null\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Gampong Drien\",\n            \"code\": \"11.01.01.2004\",\n            \"postal_code\": \"23773\",\n            \"type\": \"subdistrict\",\n            \"parent\": null\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Darul Ikhsan\",\n            \"code\": \"11.01.01.2015\",\n            \"postal_code\": \"23773\",\n            \"type\": \"subdistrict\",\n            \"parent\": null\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Padang Beurahan\",\n            \"code\": \"11.01.01.2016\",\n            \"postal_code\": \"23773\",\n            \"type\": \"subdistrict\",\n            \"parent\": null\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Gampong Baro\",\n            \"code\": \"11.01.01.2017\",\n            \"postal_code\": \"23773\",\n            \"type\": \"subdistrict\",\n            \"parent\": null\n        }\n    ]\n}"}],"_postman_id":"b9c64486-ee66-409f-a592-386584d1e1f7"}],"id":"5e168193-b9ce-4df4-9ce4-bc67d998057b","_postman_id":"5e168193-b9ce-4df4-9ce4-bc67d998057b","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}}},{"name":"Product","item":[{"name":"Get Product List","event":[{"listen":"test","script":{"id":"2996038d-a75c-47b6-9a14-c8a900ea731c","exec":[""],"type":"text/javascript","packages":{}}}],"id":"77b0a99b-81b9-4c72-b4e1-351cb006cf03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/product?limit=10&page=1&keyword=&product_category=OBAT BEBAS&sort_by=name&sort_direction=asc&show_mapped_sku_only=false&postal_code=","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td><code>integer</code> The total count of products in the response.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td><code>integer</code> The maximum number of products returned per page.</td>\n</tr>\n<tr>\n<td>page</td>\n<td><code>integer</code> The current page number.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>array</code> An array of product objects.</td>\n</tr>\n<tr>\n<td>data[].kfa_variant_code</td>\n<td><code>null</code> or <code>any</code> The KFA variant code of the product.</td>\n</tr>\n<tr>\n<td>data[].product_id</td>\n<td><code>integer</code> The ID of the product.</td>\n</tr>\n<tr>\n<td>data[].sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>data[].name</td>\n<td><code>string</code> The name of the product.</td>\n</tr>\n<tr>\n<td>data[].nie</td>\n<td><code>string</code> The NIE (Nomor Izin Edar) of the product.</td>\n</tr>\n<tr>\n<td>data[].description</td>\n<td><code>string</code> The description of the product.</td>\n</tr>\n<tr>\n<td>data[].is_return</td>\n<td><code>boolean</code> Indicates if the product is returnable.</td>\n</tr>\n<tr>\n<td>data[].return_period</td>\n<td><code>integer</code> The return period in days for the product.</td>\n</tr>\n<tr>\n<td>data[].unit</td>\n<td><code>string</code> The unit of measurement for the product.</td>\n</tr>\n<tr>\n<td>data[].category</td>\n<td><code>string</code> The category of the product.</td>\n</tr>\n<tr>\n<td>data[].manufacturer</td>\n<td><code>string</code> The manufacturer of the product.</td>\n</tr>\n<tr>\n<td>data[].stock</td>\n<td><code>integer</code> The stock quantity of the product.</td>\n</tr>\n<tr>\n<td>data[].hna</td>\n<td><code>integer</code> The HNA (Harga Netto Apotik) of the product.</td>\n</tr>\n<tr>\n<td>data[].picture</td>\n<td><code>string</code> The URL of the product's picture.</td>\n</tr>\n<tr>\n<td>data[].product_compositions</td>\n<td><code>array</code> An array of product compositions.</td>\n</tr>\n<tr>\n<td>data[].product_compositions[]</td>\n<td><code>string</code> Each element represents a composition of the product.</td>\n</tr>\n<tr>\n<td>data[].notes</td>\n<td><code>null</code> or <code>any</code> Additional notes about the product.</td>\n</tr>\n<tr>\n<td>data[].stock_availability</td>\n<td><code>boolean</code> Indicates if the product is in stock.</td>\n</tr>\n<tr>\n<td>data[].active_global_discount_percentage</td>\n<td><code>integer</code> The active global discount percentage for the product.</td>\n</tr>\n<tr>\n<td>data[].active_global_discounted_hna</td>\n<td><code>integer</code> The HNA of the product after applying the active global discount percentage.</td>\n</tr>\n<tr>\n<td>data[].priority</td>\n<td><code>integer</code> or <code>null</code> The priority column that shows the product is rising, its values are ordered 1, 2, 3, and so on, and for the lowest priority, it is given a null value.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","product"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>Maximum number of data (optional, default: 10)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Data offset page (optional, default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"key":"keyword","value":""},{"key":"product_category","value":"OBAT BEBAS"},{"description":{"content":"<p>name =&gt; will sort <code>name</code>, discount_percentage will sort <code>active_global_discount_percentage</code>, discounted_hna will sort <code>active_global_discounted_hna</code></p>\n","type":"text/plain"},"key":"sort_by","value":"name"},{"key":"sort_direction","value":"asc"},{"description":{"content":"<p>Filter product by SKUs that is only specially mapped for your partner mapping on us (for mapping request please contact us)</p>\n","type":"text/plain"},"key":"show_mapped_sku_only","value":"false"},{"description":{"content":"<p>Filter product by postal code coverage</p>\n","type":"text/plain"},"key":"postal_code","value":""}],"variable":[]}},"response":[{"id":"ca9b2d43-b0a0-4bb7-b029-38ef60958c5b","name":"Get Product List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v1/product?limit=10&page=1&keyword=&product_category=OBAT BEBAS&sort_by=name&sort_direction=asc&show_mapped_sku_only=false&postal_code=","host":["{{BASE_URL}}"],"path":["v1","product"],"query":[{"key":"limit","value":"10","description":"Maximum number of data (optional, default: 10)"},{"key":"page","value":"1","description":"Data offset page (optional, default: 1)"},{"key":"keyword","value":""},{"key":"product_category","value":"OBAT BEBAS"},{"key":"sort_by","value":"name","description":"name => will sort `name`, discount_percentage will sort `active_global_discount_percentage`, discounted_hna will sort `active_global_discounted_hna`"},{"key":"sort_direction","value":"asc"},{"key":"show_mapped_sku_only","value":"false","description":"Filter product by SKUs that is only specially mapped for your partner mapping on us (for mapping request please contact us)"},{"key":"postal_code","value":"","description":"Filter product by postal code coverage"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 19 Jan 2024 07:52:38 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"1b64-apSf12jQS2vfSgMLFCNBl1P/8KA\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 99,\n    \"limit\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 1,\n            \"sku\": \"BMFOBMP11\",\n            \"name\": \"1 BM FISH OIL 1 BM PREGNANCY edit2\",\n            \"nie\": \"isi paket\",\n            \"description\": \"<p>&nbsp;1 BM FISH OIL 1 BM PREGNANCY&nbsp;OKszzzss</p>\",\n            \"is_return\": true,\n            \"return_period\": 2,\n            \"unit\": \"FLS\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": \"BLACKMORES\",\n            \"stock_availability\": false,\n            \"hna\": 500000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1653385717458-0.jpeg\",\n            \"dosage_form\": null,\n            \"product_compositions\": [\n                \"paracetamol\",\n                \"Isopropyl Alcohol\",\n                \"SIMVASTATIN\",\n                \"VERAPAMIL\"\n            ],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 500000\n        },\n        {\n            \"kfa_variant_code\": \"93009355\",\n            \"product_id\": 8363,\n            \"sku\": \"1001OTS00012\",\n            \"name\": \"10 MG ABILIFY STRIP\",\n            \"nie\": \"tetshoqqks\",\n            \"description\": \"<p>merubah product desc TEST TEST TEST TEST TETST TETSTEFGESW.,,,,,,,,,aaaaaa</p>\",\n            \"is_return\": false,\n            \"return_period\": 0,\n            \"unit\": \"Buah\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": \"PT. Test\",\n            \"stock_availability\": true,\n            \"hna\": 11000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1689669457838-0.jpeg\",\n            \"dosage_form\": \"Pil\",\n            \"product_compositions\": [\n                \"cetrizine, 100mg\",\n                \"cetrizine 10mg\"\n            ],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 11000\n        },\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 92,\n            \"sku\": \"1001ABT0014\",\n            \"name\": \"ABBOTIC 500 MG TABLET 3 STRIP 1 BOX\",\n            \"nie\": null,\n            \"description\": \"ABBOTIC 500 MG 3 STRIP 1 BOXABBOTIC 500 MG 3 STRIP 1 BOXABBOTIC 500 MG 3 STRIP 1\\n BOX\",\n            \"is_return\": true,\n            \"return_period\": 2,\n            \"unit\": \"Buah\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": null,\n            \"stock_availability\": false,\n            \"hna\": 10000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/mnjvyrnvtncntbytw22evg/rug-1676011010217-0.jpeg\",\n            \"dosage_form\": null,\n            \"product_compositions\": [\n                \"salbutamol sulfat\",\n                \"Isopropyl Alcohol\"\n            ],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 10000\n        },\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 3,\n            \"sku\": \"ACNLFRACNGL10GOB\",\n            \"name\": \"Acnol For Acne Gel 10g\",\n            \"nie\": null,\n            \"description\": \"<p>Acnol For Acne Gel merupakan produk perawatan pada kulit yang berjerawat dilengkapi dengan kombinasi zat aktif seperti :</p>\\n<ul><li>Allantoin : bekerja dengan mengurangi rasa gatal dan kemerahan di kulit akibat jerawat.</li><li>Champor : anti-inflamasi untuk meredakan peradangan di kulit</li><li>Sulfur : membantu mempercepat proses pengeringan pada jerawat</li><li>Tea Tree Oil dan Asam salisilat : sebagai anti bakteri untuk mencegah pertumbuhan bakteri penyebab jerawat.</li>\\n</ul>\",\n            \"is_return\": false,\n            \"return_period\": 0,\n            \"unit\": \"TUBE\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": \"Jhon Franchis Lab Indonesia\",\n            \"stock_availability\": false,\n            \"hna\": 25000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1676621951434-0.jpeg\",\n            \"dosage_form\": null,\n            \"product_compositions\": [],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 25000\n        },\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 8186,\n            \"sku\": \"1001SAN0127\",\n            \"name\": \"ACRAN 150 MG TABLET 3 STRIP 1 BOX\",\n            \"nie\": null,\n            \"description\": \"ACRAN 150 MG 3 STRIP 1 BOXACRAN 150 MG 3 STRIP 1 BOXACRAN 150 MG 3 STRIP 1 BOX\",\n            \"is_return\": false,\n            \"return_period\": 0,\n            \"unit\": \"Buah\",\n            \"category\": \"OBAT BEBAS TERBATAS\",\n            \"manufacturer\": null,\n            \"stock_availability\": false,\n            \"hna\": 140010,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/mnjvyrnvtncntbytw22evg/rug-1676445413566-0.jpeg\",\n            \"dosage_form\": null,\n            \"product_compositions\": [],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 2,\n            \"active_global_discounted_hna\": 137209.8\n        },\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 20,\n            \"sku\": \"ASTHNFRC6MG\",\n            \"name\": \"ASHTIN FORCE 6 MG\",\n            \"nie\": \"GDL9947399\",\n            \"description\": \"<p>ASTHIN FORCE untuk terapi pemulihan kerusakan sel tubuh akibat radikal bebas. Anti penuaan kulit dan mempercepat penyembuhan jerawat. Melenturkan pembuluh darah dan meningkatkan sistem pertahanan tubuh. Beli ASTHIN FORCE di Obat24 dan dapatkan manfaatnya</p>\",\n            \"is_return\": false,\n            \"return_period\": 0,\n            \"unit\": \"STRIP\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": \"soho industri farmasi\",\n            \"stock_availability\": false,\n            \"hna\": 72000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1675072186516-0.png,https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1680161899094-1.jpeg,https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1680161902687-2.jpeg,https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1680161907224-3.jpeg,https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1680161912103-4.jpeg\",\n            \"dosage_form\": null,\n            \"product_compositions\": [],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 72000\n        },\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 8344,\n            \"sku\": \"BMEL1011219\",\n            \"name\": \"BLACKMORES EVENING PRIMROSE OIL + FISH OIL KAPSUL - 100'S\",\n            \"nie\": null,\n            \"description\": \"<p>DUMMY BLACKMORES EVENING PRIMROSE OIL + FISH OIL KAPSUL - 100'S</p>\",\n            \"is_return\": false,\n            \"return_period\": 0,\n            \"unit\": \"Buah\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": null,\n            \"stock_availability\": false,\n            \"hna\": 198000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1685001710449-0.png\",\n            \"dosage_form\": null,\n            \"product_compositions\": [],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 198000\n        },\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 8337,\n            \"sku\": \"BMEB1011219\",\n            \"name\": \"BLACKMORES MULTI B PERFORMANCE KAPLET -  62'S\",\n            \"nie\": null,\n            \"description\": \"<p>DUMMY BLACKMORES MULTI B PERFORMANCE KAPLET - &nbsp;62'S</p>\",\n            \"is_return\": false,\n            \"return_period\": 0,\n            \"unit\": \"Buah\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": null,\n            \"stock_availability\": false,\n            \"hna\": 100000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1684990017697-0.png\",\n            \"dosage_form\": null,\n            \"product_compositions\": [],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 100000\n        },\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 8351,\n            \"sku\": \"BLCBP0303\",\n            \"name\": \"BLACKMORES MULTI B PERFORMANCE TABLET - 30'S\",\n            \"nie\": null,\n            \"description\": \"<p>DUMMY BLACKMORES MULTI B PERFORMANCE TABLET - 30'S</p>\",\n            \"is_return\": false,\n            \"return_period\": 0,\n            \"unit\": \"Buah\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": null,\n            \"stock_availability\": false,\n            \"hna\": 200000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1685002205012-0.png\",\n            \"dosage_form\": null,\n            \"product_compositions\": [],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 200000\n        },\n        {\n            \"kfa_variant_code\": null,\n            \"product_id\": 8345,\n            \"sku\": \"BMRM1011219\",\n            \"name\": \"BLACKMORES ULTIMATE RADIANCE SKIN - 30'S\",\n            \"nie\": null,\n            \"description\": \"<p>DUMMY BLACKMORES ULTIMATE RADIANCE SKIN - 30'S</p>\",\n            \"is_return\": false,\n            \"return_period\": 0,\n            \"unit\": \"Buah\",\n            \"category\": \"OBAT BEBAS\",\n            \"manufacturer\": null,\n            \"stock_availability\": false,\n            \"hna\": 150000,\n            \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1685001836201-0.png\",\n            \"dosage_form\": null,\n            \"product_compositions\": [],\n            \"notes\": null,\n            \"active_global_discount_percentage\": 0,\n            \"active_global_discounted_hna\": 150000\n        }\n    ]\n}"}],"_postman_id":"77b0a99b-81b9-4c72-b4e1-351cb006cf03"},{"name":"Get Product Detail","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"5eb19a0b-827c-4d5a-8a14-65eabeb88c49"}}],"id":"236abe35-2708-43d4-8d71-7bf420f6e4b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/product/8363","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> The status message of the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>object</code> The product object.</td>\n</tr>\n<tr>\n<td>data.kfa_variant_code</td>\n<td><code>null</code> or <code>any</code> The KFA variant code of the product.</td>\n</tr>\n<tr>\n<td>data.product_id</td>\n<td><code>integer</code> The ID of the product.</td>\n</tr>\n<tr>\n<td>data.sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>data.name</td>\n<td><code>string</code> The name of the product.</td>\n</tr>\n<tr>\n<td>data.nie</td>\n<td><code>string</code> The NIE (Nomor Izin Edar) of the product.</td>\n</tr>\n<tr>\n<td>data.description</td>\n<td><code>string</code> The description of the product.</td>\n</tr>\n<tr>\n<td>data.is_return</td>\n<td><code>boolean</code> Indicates if the product is returnable.</td>\n</tr>\n<tr>\n<td>data.return_period</td>\n<td><code>integer</code> The return period in days for the product.</td>\n</tr>\n<tr>\n<td>data.unit</td>\n<td><code>string</code> The unit of measurement for the product.</td>\n</tr>\n<tr>\n<td>data.category</td>\n<td><code>string</code> The category of the product.</td>\n</tr>\n<tr>\n<td>data.manufacturer</td>\n<td><code>string</code> The manufacturer of the product.</td>\n</tr>\n<tr>\n<td>data.stock</td>\n<td><code>integer</code> The stock quantity of the product.</td>\n</tr>\n<tr>\n<td>data.hna</td>\n<td><code>integer</code> The HNA (Harga Netto Apotik) of the product.</td>\n</tr>\n<tr>\n<td>data.picture</td>\n<td><code>string</code> The URL of the product's picture.</td>\n</tr>\n<tr>\n<td>data.product_compositions</td>\n<td><code>array</code> An array of product compositions.</td>\n</tr>\n<tr>\n<td>data.product_compositions[]</td>\n<td><code>string</code> Each element represents a composition of the product.</td>\n</tr>\n<tr>\n<td>data.notes</td>\n<td><code>null</code> or <code>any</code> Additional notes about the product.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The timestamp when the product was created.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The creator of the product.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>string</code> The timestamp of the last modification to the product.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>string</code> The user who last modified the product.</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the response.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","product","8363"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"25f7650b-2b66-4d6a-b475-89717c174a52","name":"Get Product Detail","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/product/8363"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 19 Jan 2024 07:53:31 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"29e-2TVZ14KZE9xmakWFrMPCmZ1hnug\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"kfa_variant_code\": \"93009355\",\n        \"product_id\": 8363,\n        \"sku\": \"1001OTS00012\",\n        \"name\": \"10 MG ABILIFY STRIP\",\n        \"nie\": \"tetshoqqks\",\n        \"description\": \"<p>merubah product desc TEST TEST TEST TEST TETST TETSTEFGESW.,,,,,,,,,aaaaaa</p>\",\n        \"is_return\": false,\n        \"return_period\": 0,\n        \"unit\": \"Buah\",\n        \"category\": \"OBAT BEBAS\",\n        \"manufacturer\": \"PT. Test\",\n        \"stock_availability\": true,\n        \"hna\": 11000,\n        \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1689669457838-0.jpeg\",\n        \"dosage_form\": \"Pil\",\n        \"product_compositions\": [\n            \"cetrizine, 100mg\",\n            \"cetrizine 10mg\"\n        ],\n        \"notes\": null,\n        \"active_global_discount_percentage\": 0,\n        \"active_global_discounted_hna\": 11000\n    }\n}"}],"_postman_id":"236abe35-2708-43d4-8d71-7bf420f6e4b2"}],"id":"5b33fe50-d97d-44ac-8ed9-056c597537ef","_postman_id":"5b33fe50-d97d-44ac-8ed9-056c597537ef","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}}},{"name":"Customer","item":[{"name":"Get Customer List","event":[{"listen":"test","script":{"id":"2996038d-a75c-47b6-9a14-c8a900ea731c","exec":[""],"type":"text/javascript"}}],"id":"7dde863b-0ae0-46d4-9787-6b57e57b086e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/customer?limit=10&page=1","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td><code>integer</code> The total number of customers returned in the response.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td><code>integer</code> The maximum number of customers per page.</td>\n</tr>\n<tr>\n<td>page</td>\n<td><code>integer</code> The current page number.</td>\n</tr>\n<tr>\n<td>data[].customer_id</td>\n<td><code>integer</code> The unique identifier of the customer.</td>\n</tr>\n<tr>\n<td>data[].customer_code</td>\n<td><code>string</code> The code assigned to the customer.</td>\n</tr>\n<tr>\n<td>data[].name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n<tr>\n<td>data[].email</td>\n<td><code>string</code> The email address of the customer.</td>\n</tr>\n<tr>\n<td>data[].phone_no</td>\n<td><code>string</code> The phone number of the customer.</td>\n</tr>\n<tr>\n<td>data[].address</td>\n<td><code>string</code> The address of the customer.</td>\n</tr>\n<tr>\n<td>data[].status</td>\n<td><code>string</code> The status of the customer.</td>\n</tr>\n<tr>\n<td>data[].is_active_customer</td>\n<td><code>boolean</code> Indicates whether the customer is active or not.</td>\n</tr>\n<tr>\n<td>data[].customer_type</td>\n<td><code>string</code> The type of customer.</td>\n</tr>\n<tr>\n<td>data[].customer_category</td>\n<td><code>string</code> The category of customer.</td>\n</tr>\n<tr>\n<td>data[].customer_legality.apj_name</td>\n<td><code>string</code> The name of the APJ (Apoteker Penanggung Jawab).</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","customer"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>Maximum number of data (optional, default: 10)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"description":{"content":"<p>Data offset page (optional, default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"bfc796d5-35fc-4e4c-989d-aaf6f611c2dd","name":"Get Customer List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v1/customer?limit=10&page=1","host":["{{BASE_URL}}"],"path":["v1","customer"],"query":[{"key":"limit","value":"10","description":"Maximum number of data (optional, default: 10)"},{"key":"page","value":"1","description":"Data offset page (optional, default: 1)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 21 Jun 2023 04:51:58 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"16e-5sUcmei612yY0HlWdF6sQ/I2Fvg\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 1,\n    \"limit\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"customer_id\": 219,\n            \"customer_code\": \"AP00108\",\n            \"name\": \"Apotek test stag 1\",\n            \"email\": \"customer-AP00108@glm.id\",\n            \"phone_no\": \"+628455612341\",\n            \"address\": \"Jl. Kemenangan No. 1 Jakarta Pusat\",\n            \"status\": \"Baru\",\n            \"is_active_customer\": false,\n            \"customer_type\": \"Eksternal\",\n            \"customer_category\": \"Apotek\",\n            \"customer_legality\": {\n                \"apj_name\": \"John Doe\"\n            }\n        }\n    ]\n}"}],"_postman_id":"7dde863b-0ae0-46d4-9787-6b57e57b086e"},{"name":"Get Customer Detail","event":[{"listen":"test","script":{"id":"2996038d-a75c-47b6-9a14-c8a900ea731c","exec":[""],"type":"text/javascript"}}],"id":"a1a5b5fc-5615-4410-895f-d3b07ed9ad99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/customer/1","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> A message indicating the status of the response.</td>\n</tr>\n<tr>\n<td>data.customer_id</td>\n<td><code>integer</code> The unique identifier of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_code</td>\n<td><code>string</code> The code assigned to the customer.</td>\n</tr>\n<tr>\n<td>data.name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n<tr>\n<td>data.sipnap</td>\n<td><code>null</code> or <code>string</code> The Sipnap value of the customer (null if not available).</td>\n</tr>\n<tr>\n<td>data.email</td>\n<td><code>string</code> The email address of the customer.</td>\n</tr>\n<tr>\n<td>data.phone_no</td>\n<td><code>string</code> The phone number of the customer.</td>\n</tr>\n<tr>\n<td>data.address</td>\n<td><code>string</code> The address of the customer.</td>\n</tr>\n<tr>\n<td>data.subdistrict_id</td>\n<td><code>integer</code> The ID of the subdistrict.</td>\n</tr>\n<tr>\n<td>data.province</td>\n<td><code>string</code> The province of the customer.</td>\n</tr>\n<tr>\n<td>data.province_code</td>\n<td><code>string</code> The province code of the customer.</td>\n</tr>\n<tr>\n<td>data.city</td>\n<td><code>string</code> The city of the customer.</td>\n</tr>\n<tr>\n<td>data.city_code</td>\n<td><code>string</code> The city code of the customer.</td>\n</tr>\n<tr>\n<td>data.district</td>\n<td><code>string</code> The district of the customer.</td>\n</tr>\n<tr>\n<td>data.district_code</td>\n<td><code>string</code> The district code of the customer.</td>\n</tr>\n<tr>\n<td>data.sub_district</td>\n<td><code>string</code> The sub-district of the customer.</td>\n</tr>\n<tr>\n<td>data.sub_district_code</td>\n<td><code>string</code> The sub-district code of the customer.</td>\n</tr>\n<tr>\n<td>data.postal_code</td>\n<td><code>string</code> The postal code of the customer.</td>\n</tr>\n<tr>\n<td>data.front_picture</td>\n<td><code>array</code> An array of URLs representing front pictures.</td>\n</tr>\n<tr>\n<td>data.service_warehouse_id</td>\n<td><code>integer</code> The ID of the service warehouse.</td>\n</tr>\n<tr>\n<td>data.service_warehouse</td>\n<td><code>string</code> The name of the service warehouse.</td>\n</tr>\n<tr>\n<td>data.status</td>\n<td><code>string</code> The status of the customer.</td>\n</tr>\n<tr>\n<td>data.is_active_customer</td>\n<td><code>boolean</code> Indicates whether the customer is active or not.</td>\n</tr>\n<tr>\n<td>data.salesman_id</td>\n<td><code>integer</code> The ID of the salesman.</td>\n</tr>\n<tr>\n<td>data.salesman_name</td>\n<td><code>string</code> The name of the salesman.</td>\n</tr>\n<tr>\n<td>data.customer_type</td>\n<td><code>string</code> The type of customer.</td>\n</tr>\n<tr>\n<td>data.salesman_code</td>\n<td><code>string</code> The code of the salesman.</td>\n</tr>\n<tr>\n<td>data.customer_category.customer_category_id</td>\n<td><code>integer</code> The ID of the customer category.</td>\n</tr>\n<tr>\n<td>data.customer_category.customer_category_code</td>\n<td><code>string</code> The code of the customer category.</td>\n</tr>\n<tr>\n<td>data.customer_category.contact_category_id</td>\n<td><code>integer</code> The ID of the contact category.</td>\n</tr>\n<tr>\n<td>data.customer_category.category_code</td>\n<td><code>string</code> The code of the category.</td>\n</tr>\n<tr>\n<td>data.customer_category.contact_category</td>\n<td><code>string</code> The contact category.</td>\n</tr>\n<tr>\n<td>data.customer_category.name</td>\n<td><code>string</code> The name of the customer category.</td>\n</tr>\n<tr>\n<td>data.customer_category.initial</td>\n<td><code>string</code> The initial of the customer category.</td>\n</tr>\n<tr>\n<td>data.customer_category.description</td>\n<td><code>null</code> or <code>string</code> The description of the customer category (null if not available).</td>\n</tr>\n<tr>\n<td>data.customer_category.created_time</td>\n<td><code>string</code> The timestamp when the category was created.</td>\n</tr>\n<tr>\n<td>data.customer_category.created_by</td>\n<td><code>string</code> The creator of the category.</td>\n</tr>\n<tr>\n<td>data.customer_category.last_modified_time</td>\n<td><code>string</code> The timestamp when the category was last modified.</td>\n</tr>\n<tr>\n<td>data.customer_category.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The last modifier of the category (null if not available).</td>\n</tr>\n<tr>\n<td>data.customer_category.time_stamp</td>\n<td><code>string</code> The timestamp of the category.</td>\n</tr>\n<tr>\n<td>data.customer_payment.customer_payment_id</td>\n<td><code>integer</code> The ID of the customer payment.</td>\n</tr>\n<tr>\n<td>data.customer_payment.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_payment.customer_id</td>\n<td><code>integer</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_payment.faktur_picture</td>\n<td><code>array</code> An array of URLs representing faktur pictures.</td>\n</tr>\n<tr>\n<td>data.customer_payment.top</td>\n<td><code>integer</code> The top value.</td>\n</tr>\n<tr>\n<td>data.customer_payment.bank_name</td>\n<td><code>string</code> The bank name.</td>\n</tr>\n<tr>\n<td>data.customer_payment.account_no</td>\n<td><code>string</code> The account number.</td>\n</tr>\n<tr>\n<td>data.customer_payment.account_name</td>\n<td><code>string</code> The account name.</td>\n</tr>\n<tr>\n<td>data.customer_payment.branch</td>\n<td><code>string</code> The branch of the bank.</td>\n</tr>\n<tr>\n<td>data.customer_payment.finance_phone_no</td>\n<td><code>string</code> The finance phone number.</td>\n</tr>\n<tr>\n<td>data.customer_legality.customer_legality_id</td>\n<td><code>integer</code> The ID of the customer legality.</td>\n</tr>\n<tr>\n<td>data.customer_legality.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_legality.customer_id</td>\n<td><code>integer</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_legality.stamp_picture</td>\n<td><code>array</code> An array of URLs representing stamp pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sia_valid_form</td>\n<td><code>string</code> The valid from date of SIA.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sia_valid_to</td>\n<td><code>string</code> The valid to date of SIA.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sia_no</td>\n<td><code>string</code> The SIA number.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sia_picture</td>\n<td><code>array</code> An array of URLs representing SIA pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_name</td>\n<td><code>string</code> The name of the APJ (Authorized Person in Charge).</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_sipa_valid_to</td>\n<td><code>string</code> The valid to date of APJ's SIPA.</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_sipa_no</td>\n<td><code>string</code> The SIPA number of APJ.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sipa_picture</td>\n<td><code>array</code> An array of URLs representing SIPA pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_sign_picture</td>\n<td><code>array</code> An array of URLs representing APJ's signature pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_ktp_picture</td>\n<td><code>array</code> An array of URLs representing APJ's KTP (Identification Card) pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.owner_name</td>\n<td><code>string</code> The name of the owner.</td>\n</tr>\n<tr>\n<td>data.customer_legality.owner_ktp_pict</td>\n<td><code>array</code> An array of URLs representing owner's KTP pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.npwp</td>\n<td><code>string</code> The NPWP (Tax Identification Number) of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_legality.npwp_name</td>\n<td><code>string</code> The name associated with the NPWP.</td>\n</tr>\n<tr>\n<td>data.customer_legality.npwp_picture</td>\n<td><code>array</code> An array of URLs representing NPWP pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.npwp_address</td>\n<td><code>string</code> The address associated with the NPWP.</td>\n</tr>\n<tr>\n<td>data.customer_legality.is_pkp</td>\n<td><code>boolean</code> Indicates whether the customer has PKP (Value Added Taxable Enterprises) status.</td>\n</tr>\n<tr>\n<td>data.customer_legality.aping_name</td>\n<td><code>string</code> The name of APING.</td>\n</tr>\n<tr>\n<td>data.customer_legality.aping_sipa_valid_to</td>\n<td><code>string</code> The valid to date of APING's SIPA.</td>\n</tr>\n<tr>\n<td>data.customer_legality.aping_sipa_picture</td>\n<td><code>array</code> An array of URLs representing APING's SIPA pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.aping_sign_picture</td>\n<td><code>array</code> An array of URLs representing APING's signature pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.ttk_name</td>\n<td><code>string</code> The name of TTK.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sip_ttk_no</td>\n<td><code>string</code> The TTK number of SIP.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sip_ttk_valid_to</td>\n<td><code>string</code> The valid to date of SIP's TTK.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sip_ttk_picture</td>\n<td><code>array</code> An array of URLs representing SIP's TTK pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.ttk_sign_picture</td>\n<td><code>array</code> An array of URLs representing TTK's signature pictures.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The timestamp when the customer was created.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The creator of the customer.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>string</code> The timestamp when the customer was last modified.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The last modifier of the customer (null if not available).</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the customer.</td>\n</tr>\n<tr>\n<td>data.log_status</td>\n<td><code>string</code> A log status message indicating the addition of the customer with date and time.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","customer","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"b84053a3-e677-4c7e-8fe1-68ee7ef54990","name":"Get Customer Detail","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/customer/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Thu, 22 Jun 2023 04:08:35 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"c5a-ixIEQjecEtVqNob7IXtZRf7FPyA\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"customer_id\": 1,\n        \"customer_code\": \"AP00001\",\n        \"name\": \"Test Soffan\",\n        \"sipnap\": \"\",\n        \"email\": \"soffan.test1@itmi.id\",\n        \"phone_no\": \"+628123123121\",\n        \"address\": \"alamat\",\n        \"subdistrict_id\": 12903,\n        \"province\": \"SUMATERA BARAT\",\n        \"province_code\": \"13\",\n        \"city\": \"KAB. SIJUNJUNG\",\n        \"city_code\": \"13.03\",\n        \"district\": \"Lubuak Tarok\",\n        \"district_code\": \"13.03.07\",\n        \"sub_district\": \"Silongo\",\n        \"sub_district_code\": \"13.03.07.2005\",\n        \"postal_code\": null,\n        \"front_picture\": [],\n        \"service_warehouse_id\": 2,\n        \"service_warehouse\": \"Alam Sutera\",\n        \"status\": \"InActive\",\n        \"is_active_customer\": false,\n        \"salesman_id\": 9,\n        \"salesman_name\": \"Soffan Adam Suffix\",\n        \"customer_type\": \"Eksternal\",\n        \"salesman_code\": \"Sales00007\",\n        \"customer_category\": {\n            \"customer_category_id\": 1,\n            \"customer_category_code\": \"01\",\n            \"contact_category_id\": 1,\n            \"category_code\": \"001\",\n            \"contact_category\": \"REGULAR PHARMACY\",\n            \"name\": \"Apotek\",\n            \"initial\": \"AP\",\n            \"description\": null,\n            \"created_time\": \"2023-02-10T03:02:12.988Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-02-10T03:02:12.988Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-02-10T03:02:13.000Z\"\n        },\n        \"customer_payment\": {\n            \"customer_payment_id\": 1,\n            \"customer_code\": \"AP00001\",\n            \"customer_id\": 1,\n            \"faktur_picture\": [],\n            \"top\": null,\n            \"bank_name\": \"Mandiri\",\n            \"account_no\": \"123123\",\n            \"account_name\": \"Miya\",\n            \"branch\": \"Branch\",\n            \"finance_phone_no\": \"+622123123123\"\n        },\n        \"customer_legality\": {\n            \"customer_legality_id\": 1,\n            \"customer_code\": \"AP00001\",\n            \"customer_id\": 1,\n            \"stamp_picture\": [\n                \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/03/03/970aa595-773e-4716-9ccf-1b7eac97866e.jpg\"\n            ],\n            \"sia_valid_form\": \"2023-03-01T00:00:00.000Z\",\n            \"sia_valid_to\": \"2023-03-24T00:00:00.000Z\",\n            \"sia_no\": \"0\",\n            \"sia_picture\": [\n                \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/03/03/c68d2512-49a1-4ca4-aa84-b90fb1468ba4.jpg\"\n            ],\n            \"apj_name\": \"Miya\",\n            \"apj_sipa_valid_to\": \"2023-03-10T00:00:00.000Z\",\n            \"apj_sipa_no\": null,\n            \"sipa_picture\": [\n                \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/03/03/314f8511-2d27-412c-a7cb-0ef24ec322c6.jpg\"\n            ],\n            \"apj_sign_picture\": [\n                \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/03/03/b4fab8bd-162f-4812-96cc-ebc2e573d638.jpg\"\n            ],\n            \"apj_ktp_picture\": [\n                \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/03/03/24c25204-dd9c-472f-b02b-3e02099e39c9.jpg\"\n            ],\n            \"owner_name\": \"Miya\",\n            \"owner_ktp_pict\": [\n                \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/03/03/4ca12907-c988-4a11-90bb-9fd3be393c37.jpg\"\n            ],\n            \"npwp\": \"\",\n            \"npwp_name\": \"\",\n            \"npwp_picture\": [],\n            \"npwp_address\": \"\",\n            \"is_pkp\": false,\n            \"aping_name\": \"\",\n            \"aping_sipa_valid_to\": null,\n            \"aping_sipa_picture\": [],\n            \"aping_sign_picture\": [],\n            \"ttk_name\": \"Titik\",\n            \"sip_ttk_no\": null,\n            \"sip_ttk_valid_to\": \"2023-03-17T00:00:00.000Z\",\n            \"sip_ttk_picture\": [\n                \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/03/03/c8dd5e2c-f820-45d7-a1b7-2108a7e8f4c3.jpg\"\n            ],\n            \"ttk_sign_picture\": [\n                \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/03/03/5a68f517-06b4-4778-8378-7db1f579d260.jpg\"\n            ]\n        },\n        \"created_time\": \"2023-03-03T07:15:42.566Z\",\n        \"created_by\": \"soffan.adam@itmi.id\",\n        \"last_modified_time\": \"2023-03-10T17:00:00.203Z\",\n        \"last_modified_by\": \"siti.naza@itmi.id\",\n        \"time_stamp\": \"2023-05-25T12:03:51.000Z\",\n        \"log_status\": \"Berkas Legalitas Customer kadaluarsa, customer dinonaktifkan oleh System pada 2023-03-11 00:00:00\"\n    }\n}"}],"_postman_id":"a1a5b5fc-5615-4410-895f-d3b07ed9ad99"},{"name":"Update Customer","id":"41a348d4-ca8d-4522-bee5-55b2802dd88e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phone_no\": \"+62813097514\",\r\n    \"customer_legality\": {\r\n        \"sia_no\": \"SIO - 8659923514\",\r\n        \"sia_valid_form\": \"2023-08-25T08:02:48.971Z\",\r\n        \"sia_valid_to\": \"2025-08-25T08:02:48.971Z\",\r\n        \"sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_sipa_valid_to\": \"2025-08-25T08:02:48.971Z\",\r\n        \"aping_sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"aping_sipa_valid_to\": \"2025-08-25T08:02:48.971Z\",\r\n        \"sip_ttk_no\": \"string\",\r\n        \"sip_ttk_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"sip_ttk_valid_to\": \"2025-08-25T08:02:48.971Z\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/customer/10003","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> A message indicating the status of the response.</td>\n</tr>\n<tr>\n<td>data.customer_id</td>\n<td><code>integer</code> The unique identifier of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_code</td>\n<td><code>string</code> The code assigned to the customer.</td>\n</tr>\n<tr>\n<td>data.name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n<tr>\n<td>data.sipnap</td>\n<td><code>null</code> or <code>string</code> The Sipnap value of the customer (null if not available).</td>\n</tr>\n<tr>\n<td>data.email</td>\n<td><code>string</code> The email address of the customer.</td>\n</tr>\n<tr>\n<td>data.phone_no</td>\n<td><code>string</code> The phone number of the customer.</td>\n</tr>\n<tr>\n<td>data.address</td>\n<td><code>string</code> The address of the customer.</td>\n</tr>\n<tr>\n<td>data.subdistrict_id</td>\n<td><code>integer</code> The ID of the subdistrict.</td>\n</tr>\n<tr>\n<td>data.province</td>\n<td><code>string</code> The province of the customer.</td>\n</tr>\n<tr>\n<td>data.province_code</td>\n<td><code>string</code> The province code of the customer.</td>\n</tr>\n<tr>\n<td>data.city</td>\n<td><code>string</code> The city of the customer.</td>\n</tr>\n<tr>\n<td>data.city_code</td>\n<td><code>string</code> The city code of the customer.</td>\n</tr>\n<tr>\n<td>data.district</td>\n<td><code>string</code> The district of the customer.</td>\n</tr>\n<tr>\n<td>data.district_code</td>\n<td><code>string</code> The district code of the customer.</td>\n</tr>\n<tr>\n<td>data.sub_district</td>\n<td><code>string</code> The sub-district of the customer.</td>\n</tr>\n<tr>\n<td>data.sub_district_code</td>\n<td><code>string</code> The sub-district code of the customer.</td>\n</tr>\n<tr>\n<td>data.postal_code</td>\n<td><code>string</code> The postal code of the customer.</td>\n</tr>\n<tr>\n<td>data.front_picture</td>\n<td><code>array</code> An array of URLs representing front pictures.</td>\n</tr>\n<tr>\n<td>data.service_warehouse_id</td>\n<td><code>integer</code> The ID of the service warehouse.</td>\n</tr>\n<tr>\n<td>data.service_warehouse</td>\n<td><code>string</code> The name of the service warehouse.</td>\n</tr>\n<tr>\n<td>data.status</td>\n<td><code>string</code> The status of the customer.</td>\n</tr>\n<tr>\n<td>data.is_active_customer</td>\n<td><code>boolean</code> Indicates whether the customer is active or not.</td>\n</tr>\n<tr>\n<td>data.salesman_id</td>\n<td><code>integer</code> The ID of the salesman.</td>\n</tr>\n<tr>\n<td>data.salesman_name</td>\n<td><code>string</code> The name of the salesman.</td>\n</tr>\n<tr>\n<td>data.customer_type</td>\n<td><code>string</code> The type of customer.</td>\n</tr>\n<tr>\n<td>data.salesman_code</td>\n<td><code>string</code> The code of the salesman.</td>\n</tr>\n<tr>\n<td>data.customer_category.customer_category_id</td>\n<td><code>integer</code> The ID of the customer category.</td>\n</tr>\n<tr>\n<td>data.customer_category.customer_category_code</td>\n<td><code>string</code> The code of the customer category.</td>\n</tr>\n<tr>\n<td>data.customer_category.contact_category_id</td>\n<td><code>integer</code> The ID of the contact category.</td>\n</tr>\n<tr>\n<td>data.customer_category.category_code</td>\n<td><code>string</code> The code of the category.</td>\n</tr>\n<tr>\n<td>data.customer_category.contact_category</td>\n<td><code>string</code> The contact category.</td>\n</tr>\n<tr>\n<td>data.customer_category.name</td>\n<td><code>string</code> The name of the customer category.</td>\n</tr>\n<tr>\n<td>data.customer_category.initial</td>\n<td><code>string</code> The initial of the customer category.</td>\n</tr>\n<tr>\n<td>data.customer_category.description</td>\n<td><code>null</code> or <code>string</code> The description of the customer category (null if not available).</td>\n</tr>\n<tr>\n<td>data.customer_category.created_time</td>\n<td><code>string</code> The timestamp when the category was created.</td>\n</tr>\n<tr>\n<td>data.customer_category.created_by</td>\n<td><code>string</code> The creator of the category.</td>\n</tr>\n<tr>\n<td>data.customer_category.last_modified_time</td>\n<td><code>string</code> The timestamp when the category was last modified.</td>\n</tr>\n<tr>\n<td>data.customer_category.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The last modifier of the category (null if not available).</td>\n</tr>\n<tr>\n<td>data.customer_category.time_stamp</td>\n<td><code>string</code> The timestamp of the category.</td>\n</tr>\n<tr>\n<td>data.customer_payment.customer_payment_id</td>\n<td><code>integer</code> The ID of the customer payment.</td>\n</tr>\n<tr>\n<td>data.customer_payment.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_payment.customer_id</td>\n<td><code>integer</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_payment.faktur_picture</td>\n<td><code>array</code> An array of URLs representing faktur pictures.</td>\n</tr>\n<tr>\n<td>data.customer_payment.top</td>\n<td><code>integer</code> The top value.</td>\n</tr>\n<tr>\n<td>data.customer_payment.bank_name</td>\n<td><code>string</code> The bank name.</td>\n</tr>\n<tr>\n<td>data.customer_payment.account_no</td>\n<td><code>string</code> The account number.</td>\n</tr>\n<tr>\n<td>data.customer_payment.account_name</td>\n<td><code>string</code> The account name.</td>\n</tr>\n<tr>\n<td>data.customer_payment.branch</td>\n<td><code>string</code> The branch of the bank.</td>\n</tr>\n<tr>\n<td>data.customer_payment.finance_phone_no</td>\n<td><code>string</code> The finance phone number.</td>\n</tr>\n<tr>\n<td>data.customer_legality.customer_legality_id</td>\n<td><code>integer</code> The ID of the customer legality.</td>\n</tr>\n<tr>\n<td>data.customer_legality.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_legality.customer_id</td>\n<td><code>integer</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_legality.stamp_picture</td>\n<td><code>array</code> An array of URLs representing stamp pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sia_valid_form</td>\n<td><code>string</code> The valid from date of SIA.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sia_valid_to</td>\n<td><code>string</code> The valid to date of SIA.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sia_no</td>\n<td><code>string</code> The SIA number.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sia_picture</td>\n<td><code>array</code> An array of URLs representing SIA pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_name</td>\n<td><code>string</code> The name of the APJ (Authorized Person in Charge).</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_sipa_valid_to</td>\n<td><code>string</code> The valid to date of APJ's SIPA.</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_sipa_no</td>\n<td><code>string</code> The SIPA number of APJ.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sipa_picture</td>\n<td><code>array</code> An array of URLs representing SIPA pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_sign_picture</td>\n<td><code>array</code> An array of URLs representing APJ's signature pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.apj_ktp_picture</td>\n<td><code>array</code> An array of URLs representing APJ's KTP (Identification Card) pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.owner_name</td>\n<td><code>string</code> The name of the owner.</td>\n</tr>\n<tr>\n<td>data.customer_legality.owner_ktp_pict</td>\n<td><code>array</code> An array of URLs representing owner's KTP pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.npwp</td>\n<td><code>string</code> The NPWP (Tax Identification Number) of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_legality.npwp_name</td>\n<td><code>string</code> The name associated with the NPWP.</td>\n</tr>\n<tr>\n<td>data.customer_legality.npwp_picture</td>\n<td><code>array</code> An array of URLs representing NPWP pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.npwp_address</td>\n<td><code>string</code> The address associated with the NPWP.</td>\n</tr>\n<tr>\n<td>data.customer_legality.is_pkp</td>\n<td><code>boolean</code> Indicates whether the customer has PKP (Value Added Taxable Enterprises) status.</td>\n</tr>\n<tr>\n<td>data.customer_legality.aping_name</td>\n<td><code>string</code> The name of APING.</td>\n</tr>\n<tr>\n<td>data.customer_legality.aping_sipa_valid_to</td>\n<td><code>string</code> The valid to date of APING's SIPA.</td>\n</tr>\n<tr>\n<td>data.customer_legality.aping_sipa_picture</td>\n<td><code>array</code> An array of URLs representing APING's SIPA pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.aping_sign_picture</td>\n<td><code>array</code> An array of URLs representing APING's signature pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.ttk_name</td>\n<td><code>string</code> The name of TTK.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sip_ttk_no</td>\n<td><code>string</code> The TTK number of SIP.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sip_ttk_valid_to</td>\n<td><code>string</code> The valid to date of SIP's TTK.</td>\n</tr>\n<tr>\n<td>data.customer_legality.sip_ttk_picture</td>\n<td><code>array</code> An array of URLs representing SIP's TTK pictures.</td>\n</tr>\n<tr>\n<td>data.customer_legality.ttk_sign_picture</td>\n<td><code>array</code> An array of URLs representing TTK's signature pictures.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The timestamp when the customer was created.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The creator of the customer.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>string</code> The timestamp when the customer was last modified.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The last modifier of the customer (null if not available).</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the customer.</td>\n</tr>\n<tr>\n<td>data.log_status</td>\n<td><code>string</code> A log status message indicating the addition of the customer with date and time.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","customer","10003"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"9e40029b-054e-4298-9fd6-37f29bd25413","name":"Update Customer","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phone_no\": \"+62813097514\",\r\n    \"customer_legality\": {\r\n        \"sia_no\": \"SIO - 8659923514\",\r\n        \"sia_valid_form\": \"2023-08-25T08:02:48.971Z\",\r\n        \"sia_valid_to\": \"2025-08-25T08:02:48.971Z\",\r\n        \"sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_sipa_valid_to\": \"2025-08-25T08:02:48.971Z\",\r\n        \"aping_sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"aping_sipa_valid_to\": \"2025-08-25T08:02:48.971Z\",\r\n        \"sip_ttk_no\": \"string\",\r\n        \"sip_ttk_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"sip_ttk_valid_to\": \"2025-08-25T08:02:48.971Z\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/customer/10003"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 25 Aug 2023 08:04:26 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"921","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"vary","value":"Accept-Encoding","enabled":true},{"key":"access-control-allow-origin","value":"*, *","enabled":true},{"key":"etag","value":"W/\"ca7-nHuGQab15u5do1MenG4tEw9kJK4\"","enabled":true},{"key":"x-content-type-options","value":"nosniff","enabled":true},{"key":"x-frame-options","value":"SAMEORIGIN","enabled":true},{"key":"x-xss-protection","value":"1; mode=block","enabled":true},{"key":"content-encoding","value":"gzip","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"customer_id\": 10003,\n        \"customer_code\": \"AP10003\",\n        \"name\": \"APOTEK ALFA\",\n        \"sipnap\": \"\",\n        \"email\": \"customer-+62813097514@glm.id\",\n        \"phone_no\": \"+62813097514\",\n        \"address\": \"JL. KEMENANGAN NO. 1 JAKARTA BARAT\",\n        \"subdistrict_id\": 2,\n        \"province\": \"ACEH\",\n        \"province_code\": \"11\",\n        \"city\": \"KAB. ACEH SELATAN\",\n        \"city_code\": \"11.01\",\n        \"district\": \"BAKONGAN\",\n        \"district_code\": \"11.01.01\",\n        \"sub_district\": \"UJONG MANGKI\",\n        \"sub_district_code\": \"11.01.01.2002\",\n        \"postal_code\": \"23773\",\n        \"front_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n        \"service_warehouse_id\": 12,\n        \"service_warehouse\": \"Alam Sutera\",\n        \"status\": \"Active\",\n        \"is_active_customer\": true,\n        \"salesman_id\": 74,\n        \"salesman_name\": \"Adhis\",\n        \"customer_type\": \"Eksternal\",\n        \"salesman_code\": \"Sales00003\",\n        \"customer_category\": \"APOTEK\",\n        \"customer_payment\": {\n            \"customer_payment_id\": 178,\n            \"customer_code\": \"AP10003\",\n            \"customer_id\": 10003,\n            \"faktur_picture\": \"\",\n            \"top\": 14,\n            \"bank_name\": \"BANK MANDIRI\",\n            \"account_no\": \"1122334455\",\n            \"account_name\": \"APOTEK SEHAT\",\n            \"branch\": \"KCP JAKARTA SELATAN\",\n            \"finance_phone_no\": \"+628454112341\"\n        },\n        \"customer_legality\": {\n            \"customer_legality_id\": 178,\n            \"customer_code\": \"AP10003\",\n            \"customer_id\": 10003,\n            \"stamp_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"sia_valid_form\": \"2023-08-25T08:02:48.971Z\",\n            \"sia_valid_to\": \"2025-08-25T08:02:48.971Z\",\n            \"sia_no\": \"SIO - 8659923514\",\n            \"sia_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"apj_name\": \"JOHN DOE\",\n            \"apj_sipa_valid_to\": \"2025-08-25T08:02:48.971Z\",\n            \"apj_sipa_no\": \"10861351\",\n            \"sipa_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"apj_sign_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"apj_ktp_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"owner_name\": \"JANE DOE\",\n            \"owner_ktp_pict\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"npwp\": \"12.345.654.2-421.134\",\n            \"npwp_name\": \"APOTEK SEHAT\",\n            \"npwp_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"npwp_address\": \"JALAN KEMENANGAN\",\n            \"is_pkp\": true,\n            \"aping_name\": \"JOSS DOE\",\n            \"aping_sipa_valid_to\": \"2025-08-25T08:02:48.971Z\",\n            \"aping_sipa_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"aping_sign_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"ttk_name\": \"JANE DO\",\n            \"sip_ttk_valid_to\": \"2025-08-25T08:02:48.971Z\",\n            \"sip_ttk_no\": \"string\",\n            \"sip_ttk_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"ttk_sign_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\n        },\n        \"created_time\": \"2023-07-28T09:03:38.178Z\",\n        \"created_by\": \"system\",\n        \"last_modified_time\": \"2023-08-25T08:04:26.765Z\",\n        \"last_modified_by\": \"satu@itmi.id\",\n        \"time_stamp\": \"2023-08-25T08:04:27.000Z\"\n    }\n}"}],"_postman_id":"41a348d4-ca8d-4522-bee5-55b2802dd88e"}],"id":"c623ef25-58a2-4477-b012-a4f2a1c6692c","_postman_id":"c623ef25-58a2-4477-b012-a4f2a1c6692c","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}}},{"name":"Purchase Order","item":[{"name":"Get Payment Method List","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"a2f0f5f5-e461-43fb-9679-c0d548e74463","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/payment-method","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>number</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> A message indicating the status of the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>array</code> An array of string that contains the payment method list</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","payment-method"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c9df8dc6-5053-4819-a3d0-cb2d75f6b527","name":"Get Payment Method List","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/payment-method"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Tue, 20 Jun 2023 05:07:51 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"62-xhpQgdJ1V6UJVNj2hEnAjNJsKIY\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": [\n        \"cod\"\n    ]\n}"}],"_postman_id":"a2f0f5f5-e461-43fb-9679-c0d548e74463"},{"name":"Get Payment Method List V2","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"c55d7717-5abb-400e-aeea-f036f390d585","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v2/payment-method?sia_no=non-partner/internal.1","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>number</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> A message indicating the status of the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>array</code> An array of string that contains the payment method list</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v2","payment-method"],"host":["{{BASE_URL}}"],"query":[{"description":{"content":"<p>Customer SIA No</p>\n","type":"text/plain"},"key":"sia_no","value":"non-partner/internal.1"}],"variable":[]}},"response":[{"id":"18f38766-d2de-43cf-a319-f14a5f26b2e0","name":"Get Payment Method List V2 Is Exist Customer By SIA No","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v2/payment-method?sia_no=non-partner/internal.1","host":["{{BASE_URL}}"],"path":["v2","payment-method"],"query":[{"key":"sia_no","value":"non-partner/internal.1","description":"Customer SIA No","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 03 Nov 2023 09:28:17 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"66-V4SYgV1Oi/k8Jmtj8v33sDHkHxI\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"customer_id\": 33,\n        \"payment_methods\": [\n            \"cod\",\n            \"top\"\n        ],\n        \"term\": 19\n    }\n}"},{"id":"b9e6c58d-2c64-4220-9d73-bd1337c86e1c","name":"Get Payment Method List V2 Without SIA No","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/v2/payment-method"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 03 Nov 2023 09:30:13 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"61-Mu/U8FF2EGQiiVlOFSlmELSIvLE\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"customer_id\": null,\n        \"payment_methods\": [\n            \"cod\"\n        ],\n        \"term\": 0\n    }\n}"}],"_postman_id":"c55d7717-5abb-400e-aeea-f036f390d585"},{"name":"Upload Image/Document Purchase Order","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"39d4ffc5-0c75-48b8-a00b-01f3536dd678"}}],"id":"489624c9-a84a-49ef-b6be-25d6b2124bc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","description":"<p>Uploaded file</p>\n","src":"/C:/Users/faldy/Downloads/TetaShop.jpg"},{"key":"type","value":"images","type":"text","description":"<p>Type (images/documents)</p>\n"}]},"url":"{{BASE_URL}}/v1/upload","description":"<p>By hitting this endpoint, you can add images and document to the purchase order. You must hit this first before you hit Create Purchase Order endpoint if products that you added is not in \"Regular\" category (OOT/Psikotropika).</p>\n<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td><code>integer</code> The HTTP status code of the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>string</code> The URL of an image. This represents the image location or the result of an image upload operation, for example.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","upload"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"54f981f1-ebfd-4513-89b4-f423728df148","name":"Success Upload","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/C:/Users/faldy/Downloads/TetaShop.jpg"},{"key":"type","value":"images","type":"text"}]},"url":"{{BASE_URL}}/v1/upload"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Mon, 08 May 2023 10:08:45 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"127","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"7f-IG2AbNIPjWQiJQBM1I8cLRwjuZw\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"data\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/08/ebeb8dfd-3388-4c62-ad3f-4a6f1d9d9f8a.jpg\"\n}"}],"_postman_id":"489624c9-a84a-49ef-b6be-25d6b2124bc2"},{"name":"Create Purchase Order","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"b3f2720f-572a-4177-a2ca-69e358725599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"products\": [\r\n        {\r\n            \"product_id\": 3201,\r\n            \"qty\": 1\r\n        },\r\n        {\r\n            \"product_id\": 1539,\r\n            \"qty\": 1\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"sio_no\": \"SIA-123-EXAMPLE\"\r\n    },\r\n    \"purchase_order_images\": [\r\n        {\r\n            \"product_category\": \"PREKUSOR\",\r\n            \"url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\r\n        }\r\n\r\n    ],\r\n    \"payment_method\": \"cod\",\r\n    \"partner_po_no\": \"PARTNER-123-EXAMPLE\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order","description":"<h3 id=\"request-description\">Request Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>products</td>\n<td><code>array</code> An array of objects representing products.</td>\n</tr>\n<tr>\n<td></td>\n<td>You can send request with products empty if the category is only Regular.</td>\n</tr>\n<tr>\n<td>products[].product_id</td>\n<td><code>integer</code> The product ID.</td>\n</tr>\n<tr>\n<td>products[].qty</td>\n<td><code>integer</code> The quantity of the product.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td><code>object</code> An object representing customer details with the following properties:</td>\n</tr>\n<tr>\n<td>customer.sio_no</td>\n<td><code>string</code> The SIO number of the customer.</td>\n</tr>\n<tr>\n<td>purchase_order_images</td>\n<td><code>array</code> An array of objects representing purchase order images with properties below</td>\n</tr>\n<tr>\n<td></td>\n<td>This will be required per product category that you add that has <code>note</code> that is product is required to fill SP.</td>\n</tr>\n<tr>\n<td>purchase_order_images[].product_category</td>\n<td><code>string</code> <code>nullable</code> The product category.</td>\n</tr>\n<tr>\n<td></td>\n<td>Only either one of <code>product_category</code> or <code>sales_order_category</code> is required to fill</td>\n</tr>\n<tr>\n<td>purchase_order_images[].sales_order_category</td>\n<td><code>enum</code> <code>nullable</code> The product category.</td>\n</tr>\n<tr>\n<td></td>\n<td>Possible values: <code>Reguler</code>, <code>Psikotropika</code>, <code>Prekursor</code>, <code>OOT</code></td>\n</tr>\n<tr>\n<td>purchase_order_images[].url</td>\n<td><code>string</code> The URL of the purchase order image.</td>\n</tr>\n<tr>\n<td>payment_method</td>\n<td><code>string</code> The payment method used.</td>\n</tr>\n<tr>\n<td>partner_po_no</td>\n<td><code>optional</code> <code>string</code> Purchase order number from partner</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> The status message of the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>object</code> The data object containing purchase orders and customer information.</td>\n</tr>\n<tr>\n<td>data.purchase_orders</td>\n<td><code>array</code> An array of purchase orders.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[]</td>\n<td><code>object</code> Each object represents a purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].po_id</td>\n<td><code>integer</code> The ID of the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].po_no</td>\n<td><code>string</code> The purchase order number.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].customer_id</td>\n<td><code>integer</code> The ID of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].sales_order_category_id</td>\n<td><code>integer</code> The ID of the sales order category associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].invoice_no</td>\n<td><code>null</code> or <code>string</code> The invoice number of the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].invoice_image_url</td>\n<td><code>null</code> or <code>string</code> The URL of the invoice image associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].po_category_name</td>\n<td><code>string</code> The category name of the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].po_file_upload</td>\n<td><code>null</code> or any The uploaded file associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].customer_code</td>\n<td><code>string</code> The code of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].customer_name</td>\n<td><code>string</code> The name of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].customer_address</td>\n<td><code>string</code> The address of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].sia_no</td>\n<td><code>string</code> The SIA (Surat Izin Apotek) number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].apj_name</td>\n<td><code>string</code> The APJ (Apoteker Penanggung Jawab) name associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].po_date</td>\n<td><code>string</code> The timestamp when the purchase order was created.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].is_approve</td>\n<td><code>boolean</code> Indicates if the purchase order is approved.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].payment_method</td>\n<td><code>string</code> The payment method used for the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].supplier_name</td>\n<td><code>string</code> The name of the supplier associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].supplier_address</td>\n<td><code>string</code> The address of the supplier associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].po_status</td>\n<td><code>string</code> The status of the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].po_image_url</td>\n<td><code>string</code> The URL of the purchase order image.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].is_canceled</td>\n<td><code>boolean</code> Indicates if the purchase order is canceled.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].created_time</td>\n<td><code>string</code> The timestamp when the purchase order was created.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].created_by</td>\n<td><code>string</code> The user who created the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].last_modified_time</td>\n<td><code>string</code> The timestamp of the last modification to the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].time_stamp</td>\n<td><code>string</code> The timestamp of the response.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].reason_detail</td>\n<td><code>null</code> or any Additional details about the reason for cancellation.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].reason_category</td>\n<td><code>null</code> or any The category of the reason for cancellation.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].supporting_document</td>\n<td><code>null</code> or any Supporting documents related to the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail</td>\n<td><code>array</code> An array of purchase order details.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[]</td>\n<td><code>object</code> Each object represents a purchase order detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].po_detail_id</td>\n<td><code>integer</code> The ID of the purchase order detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].po_no</td>\n<td><code>string</code> The purchase order number associated with the detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].po_id</td>\n<td><code>integer</code> The ID of the purchase order associated with the detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].product_id</td>\n<td><code>integer</code> The ID of the product associated with the detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].product_name</td>\n<td><code>string</code> The name of the product associated with the detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].product_category</td>\n<td><code>string</code> The category of the product associated with the detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].qty</td>\n<td><code>integer</code> The quantity of the product associated with the detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].product_unit</td>\n<td><code>null</code> or any The unit of measurement for the product.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].is_canceled</td>\n<td><code>boolean</code> Indicates if the purchase order detail is canceled.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].created_time</td>\n<td><code>string</code> The timestamp when the purchase order detail was created.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].created_by</td>\n<td><code>string</code> The user who created the purchase order detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].last_modified_time</td>\n<td><code>string</code> The timestamp of the last modification to the purchase order detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the purchase order detail.</td>\n</tr>\n<tr>\n<td>data.purchase_orders[].purchase_order_detail[].time_stamp</td>\n<td><code>string</code> The timestamp of the response.</td>\n</tr>\n<tr>\n<td>is_customer_exists</td>\n<td><code>boolean</code> Indicates if the customer exists.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","purchase-order"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"37f615e5-6bbd-46ca-8b0a-9d32635c052c","name":"Success With Customer Exists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"products\": [\r\n        {\r\n            \"product_id\": 3201,\r\n            \"qty\": 1\r\n        },\r\n        {\r\n            \"product_id\": 1539,\r\n            \"qty\": 1\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"sio_no\": \"SIO-169868\",\r\n        \"name\": \"Apotek Sejahtera\",\r\n        \"phone_no\": \"+6281298765955\",\r\n        \"address\": \"Jalan Sejahtera no 3, tanah baru, beji, depok, jawa barat\"\r\n    },\r\n    \"purchase_order_images\": [\r\n        {\r\n            \"product_category\": \"PREKUSOR\",\r\n            \"url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\r\n        }\r\n\r\n    ],\r\n    \"payment_method\": \"cod\",\r\n    \"partner_po_no\": \"PARTNER-123-EXAMPLE\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 29 Nov 2023 01:29:37 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"2874","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"b3a-FGAVXPY3KfaCEl02V+RjwIkKgAM\"","enabled":true},{"key":"x-content-type-options","value":"nosniff","enabled":true},{"key":"x-frame-options","value":"SAMEORIGIN","enabled":true},{"key":"x-xss-protection","value":"1; mode=block","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"purchase_orders\": [\n            {\n                \"po_id\": 1422,\n                \"po_no\": \"PO-000001422\",\n                \"customer_id\": 214,\n                \"sales_order_category_id\": 1,\n                \"invoice_no\": null,\n                \"invoice_image_url\": null,\n                \"po_category_name\": \"Reguler\",\n                \"po_file_upload\": null,\n                \"customer_code\": \"AP00214\",\n                \"customer_name\": \"APOTEK SEHAT ${NO}\",\n                \"customer_address\": \"JL. KEMENANGAN NO. 1 JAKARTA PUSAT\",\n                \"sia_no\": \"SIO-169868\",\n                \"apj_name\": \"JOHN DOE\",\n                \"po_date\": \"2023-11-29T08:29:37.877Z\",\n                \"is_approve\": false,\n                \"payment_method\": \"COD\",\n                \"top\": 0,\n                \"supplier_name\": \"PT Global Logistik Medika\",\n                \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n                \"po_status\": \"open\",\n                \"po_image_url\": \"\",\n                \"is_canceled\": false,\n                \"created_time\": \"2023-11-29T01:29:37.887Z\",\n                \"created_by\": \"SYSTEM\",\n                \"last_modified_time\": \"2023-11-29T01:29:37.903Z\",\n                \"last_modified_by\": null,\n                \"time_stamp\": \"2023-11-29T01:29:37.903Z\",\n                \"reason_detail\": null,\n                \"reason_category\": null,\n                \"supporting_document\": null,\n                \"partner_po_no\": \"PARTNER-123-\",\n                \"purchase_order_detail\": [\n                    {\n                        \"po_detail_id\": 2841,\n                        \"po_no\": \"PO-000001422\",\n                        \"sku\": \"AFIS100623\",\n                        \"po_id\": 1422,\n                        \"product_id\": 3201,\n                        \"product_name\": \"28 Mei - Lifepack - Edit lagi Tes\",\n                        \"product_category\": \"FMCG\",\n                        \"qty\": 1,\n                        \"product_unit\": \"Buah\",\n                        \"is_canceled\": false,\n                        \"created_time\": \"2023-11-29T01:29:37.887Z\",\n                        \"created_by\": \"SYSTEM\",\n                        \"last_modified_time\": \"2023-11-29T01:29:37.903Z\",\n                        \"last_modified_by\": null,\n                        \"time_stamp\": \"2023-11-29T01:29:37.903Z\",\n                        \"product\": {\n                            \"unit\": \"Buah\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"po_id\": 1423,\n                \"po_no\": \"PO-000001423\",\n                \"customer_id\": 214,\n                \"sales_order_category_id\": 3,\n                \"invoice_no\": null,\n                \"invoice_image_url\": null,\n                \"po_category_name\": \"Prekursor\",\n                \"po_file_upload\": null,\n                \"customer_code\": \"AP00214\",\n                \"customer_name\": \"APOTEK SEHAT ${NO}\",\n                \"customer_address\": \"JL. KEMENANGAN NO. 1 JAKARTA PUSAT\",\n                \"sia_no\": \"SIO-169868\",\n                \"apj_name\": \"JOHN DOE\",\n                \"po_date\": \"2023-11-29T08:29:37.877Z\",\n                \"is_approve\": false,\n                \"payment_method\": \"COD\",\n                \"top\": 0,\n                \"supplier_name\": \"PT Global Logistik Medika\",\n                \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n                \"po_status\": \"open\",\n                \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n                \"is_canceled\": false,\n                \"created_time\": \"2023-11-29T01:29:37.916Z\",\n                \"created_by\": \"SYSTEM\",\n                \"last_modified_time\": \"2023-11-29T01:29:37.925Z\",\n                \"last_modified_by\": null,\n                \"time_stamp\": \"2023-11-29T01:29:37.925Z\",\n                \"reason_detail\": null,\n                \"reason_category\": null,\n                \"supporting_document\": null,\n                \"partner_po_no\": \"PARTNER-123-\",\n                \"purchase_order_detail\": [\n                    {\n                        \"po_detail_id\": 2842,\n                        \"po_no\": \"PO-000001423\",\n                        \"sku\": \"1001DEX0035\",\n                        \"po_id\": 1423,\n                        \"product_id\": 1539,\n                        \"product_name\": \"ACARBOSE DEXA 50 MG 1O STRIP 1 BOX\",\n                        \"product_category\": \"PREKUSOR\",\n                        \"qty\": 1,\n                        \"product_unit\": \"Buah\",\n                        \"is_canceled\": false,\n                        \"created_time\": \"2023-11-29T01:29:37.916Z\",\n                        \"created_by\": \"SYSTEM\",\n                        \"last_modified_time\": \"2023-11-29T01:29:37.925Z\",\n                        \"last_modified_by\": null,\n                        \"time_stamp\": \"2023-11-29T01:29:37.925Z\",\n                        \"product\": {\n                            \"unit\": \"Buah\"\n                        }\n                    }\n                ]\n            }\n        ],\n        \"is_customer_exists\": true\n    }\n}"},{"id":"44332e3a-14db-4e4d-91de-452ff4aac396","name":"Success With Customer not Exists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"products\": [\r\n        {\r\n            \"product_id\": 3201,\r\n            \"qty\": 1\r\n        },\r\n        {\r\n            \"product_id\": 1539,\r\n            \"qty\": 1\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"sio_no\": \"SIA-123-EXAMPLE\",\r\n        \"name\": \"Apotek Sejahtera\",\r\n        \"phone_no\": \"+6281298765955\",\r\n        \"address\": \"Jalan Sejahtera no 3, tanah baru, beji, depok, jawa barat\"\r\n    },\r\n    \"purchase_order_images\": [\r\n        {\r\n            \"product_category\": \"PREKUSOR\",\r\n            \"url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\r\n        }\r\n\r\n    ],\r\n    \"payment_method\": \"cod\",\r\n    \"partner_po_no\": \"PARTNER-123-EXAMPLE\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 29 Nov 2023 01:30:05 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"2769","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"ad1-OZEsJa0JTbtul3kQ/6NXqmiNyvY\"","enabled":true},{"key":"x-content-type-options","value":"nosniff","enabled":true},{"key":"x-frame-options","value":"SAMEORIGIN","enabled":true},{"key":"x-xss-protection","value":"1; mode=block","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"purchase_orders\": [\n            {\n                \"po_id\": 1424,\n                \"po_no\": \"PO-000001424\",\n                \"customer_id\": null,\n                \"sales_order_category_id\": 1,\n                \"invoice_no\": null,\n                \"invoice_image_url\": null,\n                \"po_category_name\": \"Reguler\",\n                \"po_file_upload\": null,\n                \"customer_code\": null,\n                \"customer_name\": null,\n                \"customer_address\": null,\n                \"sia_no\": \"SIA-123-EXAMPLE\",\n                \"apj_name\": null,\n                \"po_date\": \"2023-11-29T08:30:05.790Z\",\n                \"is_approve\": false,\n                \"payment_method\": \"COD\",\n                \"top\": 0,\n                \"supplier_name\": \"PT Global Logistik Medika\",\n                \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n                \"po_status\": \"open\",\n                \"po_image_url\": \"\",\n                \"is_canceled\": false,\n                \"created_time\": \"2023-11-29T01:30:05.797Z\",\n                \"created_by\": \"SYSTEM\",\n                \"last_modified_time\": \"2023-11-29T01:30:05.806Z\",\n                \"last_modified_by\": null,\n                \"time_stamp\": \"2023-11-29T01:30:05.806Z\",\n                \"reason_detail\": null,\n                \"reason_category\": null,\n                \"supporting_document\": null,\n                \"partner_po_no\": \"PARTNER-123-\",\n                \"purchase_order_detail\": [\n                    {\n                        \"po_detail_id\": 2843,\n                        \"po_no\": \"PO-000001424\",\n                        \"sku\": \"AFIS100623\",\n                        \"po_id\": 1424,\n                        \"product_id\": 3201,\n                        \"product_name\": \"28 Mei - Lifepack - Edit lagi Tes\",\n                        \"product_category\": \"FMCG\",\n                        \"qty\": 1,\n                        \"product_unit\": \"Buah\",\n                        \"is_canceled\": false,\n                        \"created_time\": \"2023-11-29T01:30:05.797Z\",\n                        \"created_by\": \"SYSTEM\",\n                        \"last_modified_time\": \"2023-11-29T01:30:05.806Z\",\n                        \"last_modified_by\": null,\n                        \"time_stamp\": \"2023-11-29T01:30:05.806Z\",\n                        \"product\": {\n                            \"unit\": \"Buah\"\n                        }\n                    }\n                ]\n            },\n            {\n                \"po_id\": 1425,\n                \"po_no\": \"PO-000001425\",\n                \"customer_id\": null,\n                \"sales_order_category_id\": 3,\n                \"invoice_no\": null,\n                \"invoice_image_url\": null,\n                \"po_category_name\": \"Prekursor\",\n                \"po_file_upload\": null,\n                \"customer_code\": null,\n                \"customer_name\": null,\n                \"customer_address\": null,\n                \"sia_no\": \"SIA-123-EXAMPLE\",\n                \"apj_name\": null,\n                \"po_date\": \"2023-11-29T08:30:05.790Z\",\n                \"is_approve\": false,\n                \"payment_method\": \"COD\",\n                \"top\": 0,\n                \"supplier_name\": \"PT Global Logistik Medika\",\n                \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n                \"po_status\": \"open\",\n                \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n                \"is_canceled\": false,\n                \"created_time\": \"2023-11-29T01:30:05.819Z\",\n                \"created_by\": \"SYSTEM\",\n                \"last_modified_time\": \"2023-11-29T01:30:05.833Z\",\n                \"last_modified_by\": null,\n                \"time_stamp\": \"2023-11-29T01:30:05.833Z\",\n                \"reason_detail\": null,\n                \"reason_category\": null,\n                \"supporting_document\": null,\n                \"partner_po_no\": \"PARTNER-123-\",\n                \"purchase_order_detail\": [\n                    {\n                        \"po_detail_id\": 2844,\n                        \"po_no\": \"PO-000001425\",\n                        \"sku\": \"1001DEX0035\",\n                        \"po_id\": 1425,\n                        \"product_id\": 1539,\n                        \"product_name\": \"ACARBOSE DEXA 50 MG 1O STRIP 1 BOX\",\n                        \"product_category\": \"PREKUSOR\",\n                        \"qty\": 1,\n                        \"product_unit\": \"Buah\",\n                        \"is_canceled\": false,\n                        \"created_time\": \"2023-11-29T01:30:05.819Z\",\n                        \"created_by\": \"SYSTEM\",\n                        \"last_modified_time\": \"2023-11-29T01:30:05.833Z\",\n                        \"last_modified_by\": null,\n                        \"time_stamp\": \"2023-11-29T01:30:05.833Z\",\n                        \"product\": {\n                            \"unit\": \"Buah\"\n                        }\n                    }\n                ]\n            }\n        ],\n        \"is_customer_exists\": false\n    }\n}"},{"id":"a36e1288-3195-43ee-872d-2911b724bb55","name":"Create Purchase Order by SO Category","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"products\": [\r\n        {\r\n            \"product_id\": 1539,\r\n            \"qty\": 1\r\n        }\r\n    ],\r\n    \"customer\": {\r\n        \"sio_no\": \"SIA-123-EXAMPLE\",\r\n        \"name\": \"Apotek Sejahtera\",\r\n        \"phone_no\": \"+6281298765955\",\r\n        \"address\": \"Jalan Sejahtera no 3, tanah baru, beji, depok, jawa barat\"\r\n    },\r\n    \"purchase_order_images\": [\r\n        {\r\n            \"sales_order_category\": \"Prekursor\", // Prekursor, Reguler, OOT\r\n            \"url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\r\n        }\r\n\r\n    ],\r\n    \"payment_method\": \"cod\",\r\n    \"partner_po_no\": \"PARTNER-123-EXAMPLE\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 20 Dec 2023 01:49:23 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"1490","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"5d2-EaqvZf4sEjCZOu0hqSIolJ/iv7Q\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"purchase_orders\": [\n            {\n                \"po_id\": 214,\n                \"po_no\": \"PO-000000214\",\n                \"customer_id\": null,\n                \"sales_order_category_id\": 3,\n                \"invoice_no\": null,\n                \"invoice_image_url\": null,\n                \"po_category_name\": \"Prekursor\",\n                \"po_file_upload\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n                \"customer_code\": null,\n                \"customer_name\": null,\n                \"customer_address\": null,\n                \"sia_no\": \"SIA-123-EXAMPLE\",\n                \"apj_name\": null,\n                \"po_date\": \"2023-12-20T08:49:23.531Z\",\n                \"is_approve\": false,\n                \"payment_method\": \"COD\",\n                \"top\": 0,\n                \"supplier_name\": \"PT Global Logistik Medika\",\n                \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n                \"po_status\": \"open\",\n                \"po_image_url\": null,\n                \"is_canceled\": false,\n                \"created_time\": \"2023-12-20T01:49:23.538Z\",\n                \"created_by\": \"SYSTEM\",\n                \"last_modified_time\": \"2023-12-20T01:49:23.550Z\",\n                \"last_modified_by\": null,\n                \"time_stamp\": \"2023-12-20T01:49:23.550Z\",\n                \"reason_detail\": null,\n                \"reason_category\": null,\n                \"supporting_document\": null,\n                \"partner_po_no\": \"PARTNER-123-EXAMPLE\",\n                \"purchase_order_detail\": [\n                    {\n                        \"po_detail_id\": 452,\n                        \"po_no\": \"PO-000000214\",\n                        \"sku\": \"1001DEX0035\",\n                        \"po_id\": 214,\n                        \"product_id\": 1539,\n                        \"product_name\": \"ACARBOSE DEXA 50 MG 1O STRIP 1 BOX\",\n                        \"product_category\": \"PREKURSOR\",\n                        \"qty\": 1,\n                        \"product_unit\": \"Buah\",\n                        \"is_canceled\": false,\n                        \"created_time\": \"2023-12-20T01:49:23.538Z\",\n                        \"created_by\": \"SYSTEM\",\n                        \"last_modified_time\": \"2023-12-20T01:49:23.550Z\",\n                        \"last_modified_by\": null,\n                        \"time_stamp\": \"2023-12-20T01:49:23.550Z\",\n                        \"product\": {\n                            \"unit\": \"Buah\"\n                        }\n                    }\n                ]\n            }\n        ],\n        \"is_customer_exists\": false\n    }\n}"}],"_postman_id":"b3f2720f-572a-4177-a2ca-69e358725599"},{"name":"Create Customer by Purchase Order","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"8d701ad4-c51f-4de6-a2ac-c03257e66bf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Apotek Sehat\",\r\n    \"customer_category_id\": 1,\r\n    \"sipnap\": null,\r\n    \"email\": null,\r\n    \"phone_no\": \"+628455612341\",\r\n    \"address\": \"Jl. Kemenangan No. 1 Jakarta Pusat\",\r\n    \"subdistrict_id\": 2,\r\n    \"front_picture\": [\r\n        \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n    ],\r\n    \"customer_payment\": {\r\n        \"faktur_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"bank_name\": \"Bank Mandiri\",\r\n        \"account_no\": \"1122334455\",\r\n        \"account_name\": \"Apotek Sehat\",\r\n        \"branch\": \"KCP Jakarta Selatan\",\r\n        \"finance_phone_no\": \"+628454112341\"\r\n    },\r\n    \"customer_legality\": {\r\n        \"stamp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"sia_valid_form\": \"2023-05-30T03:16:12.997Z\",\r\n        \"sia_valid_to\": \"2024-10-30T03:16:12.997Z\",\r\n        \"sia_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_name\": \"John Doe\",\r\n        \"apj_sipa_valid_to\": \"2024-06-30T03:16:12.997Z\",\r\n        \"apj_sipa_no\": \"121251261\",\r\n        \"sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_ktp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"owner_name\": \"Jane Doe\",\r\n        \"owner_ktp_pict\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"npwp\": \"123456542421\",\r\n        \"npwp_name\": \"Apotek Sehat\",\r\n        \"npwp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"npwp_address\": \"Jalan Kemenangan\",\r\n        \"aping_name\": \"Joss Doe\",\r\n        \"aping_sipa_valid_to\": \"2024-06-30T03:16:12.997Z\",\r\n        \"aping_sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"aping_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"ttk_name\": \"Jane Do\",\r\n        \"sip_ttk_valid_to\": \"2024-06-30T03:16:12.997Z\",\r\n        \"sip_ttk_no\": \"string\",\r\n        \"sip_ttk_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"ttk_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order/4/customer","description":"<h3 id=\"request-description\">Request Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td><code>required</code> <code>string</code> The name of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_category_id</td>\n<td><code>required</code> <code>integer</code> The ID of the customer category associated with the apothecary.</td>\n</tr>\n<tr>\n<td>sipnap</td>\n<td><code>null</code> or <code>any</code> The SIPNAP (Sistem Informasi Pengawasan Narkotika dan Psikotropika) number of the apothecary.</td>\n</tr>\n<tr>\n<td>email</td>\n<td><code>required</code> <code>string</code> The email address of the apothecary.</td>\n</tr>\n<tr>\n<td>phone_no</td>\n<td><code>required</code> <code>string</code> The phone number of the apothecary.</td>\n</tr>\n<tr>\n<td>address</td>\n<td><code>required</code> <code>string</code> The address of the apothecary.</td>\n</tr>\n<tr>\n<td>subdistrict_id</td>\n<td><code>required</code> <code>integer</code> The ID of the subdistrict associated with the apothecary's address.</td>\n</tr>\n<tr>\n<td>front_picture</td>\n<td><code>array</code> An array of URLs for the front picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_payment</td>\n<td><code>object</code> The payment details of the customer.</td>\n</tr>\n<tr>\n<td>customer_payment.faktur_picture</td>\n<td><code>array</code> An array of URLs for the faktur picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_payment.top</td>\n<td><code>integer</code> The top (terms of payment) value for the apothecary.</td>\n</tr>\n<tr>\n<td>customer_payment.bank_name</td>\n<td><code>required</code> <code>string</code> The name of the bank for payment.</td>\n</tr>\n<tr>\n<td>customer_payment.account_no</td>\n<td><code>required</code> <code>string</code> The account number for payment.</td>\n</tr>\n<tr>\n<td>customer_payment.account_name</td>\n<td><code>required</code> <code>string</code> The account name for payment.</td>\n</tr>\n<tr>\n<td>customer_payment.branch</td>\n<td><code>required</code> <code>string</code> The branch of the bank for payment.</td>\n</tr>\n<tr>\n<td>customer_payment.finance_phone_no</td>\n<td><code>string</code> The phone number of the finance department for the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality</td>\n<td><code>object</code> The legal documents and information of the customer.</td>\n</tr>\n<tr>\n<td>customer_legality.stamp_picture</td>\n<td><code>array</code> An array of URLs for the stamp picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.sia_valid_form</td>\n<td><code>string</code> The timestamp when the SIA (Surat Izin Apotek) validity period starts.</td>\n</tr>\n<tr>\n<td>customer_legality.sia_valid_to</td>\n<td><code>string</code> The timestamp when the SIA (Surat Izin Apotek) validity period ends.</td>\n</tr>\n<tr>\n<td>customer_legality.sia_picture</td>\n<td><code>required</code> <code>array</code> An array of URLs for the SIA picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.apj_name</td>\n<td><code>required</code> <code>string</code> The name of the APJ (Apoteker Penanggung Jawab) associated with the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.apj_sipa_valid_to</td>\n<td><code>string</code> The timestamp when the APJ (Apoteker Penanggung Jawab) SIPA (Surat Izin Penanggung Jawab) validity period ends.</td>\n</tr>\n<tr>\n<td>customer_legality.apj_sipa_no</td>\n<td><code>string</code> The APJ (Apoteker Penanggung Jawab) SIPA (Surat Izin Penanggung Jawab) number associated with the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.sipa_picture</td>\n<td><code>array</code> An array of URLs for the SIPA picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.apj_sign_picture</td>\n<td><code>array</code> An array of URLs for the APJ (Apoteker Penanggung Jawab) signature picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.apj_ktp_picture</td>\n<td><code>array</code> An array of URLs for the APJ (Apoteker Penanggung Jawab) KTP (Kartu Tanda Penduduk) picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.owner_name</td>\n<td><code>string</code> The name of the owner of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.owner_ktp_pict</td>\n<td><code>array</code> An array of URLs for the owner's KTP (Kartu Tanda Penduduk) picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.npwp</td>\n<td><code>string</code> The NPWP (Nomor Pokok Wajib Pajak) of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.npwp_name</td>\n<td><code>string</code> The name associated with the NPWP (Nomor Pokok Wajib Pajak) of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.npwp_picture</td>\n<td><code>array</code> An array of URLs for the NPWP picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.npwp_address</td>\n<td><code>string</code> The address associated with the NPWP (Nomor Pokok Wajib Pajak) of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.aping_name</td>\n<td><code>string</code> The name of the APING (Apoteker Pendamping) associated with the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.aping_sipa_valid_to</td>\n<td><code>string</code> The timestamp when the APING (Apoteker Pendamping) SIPA (Surat Izin Penanggung Jawab) validity period ends.</td>\n</tr>\n<tr>\n<td>customer_legality.aping_sipa_picture</td>\n<td><code>array</code> An array of URLs for the APING (Apoteker Pendamping) SIPA (Surat Izin Penanggung Jawab) picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.aping_sign_picture</td>\n<td><code>array</code> An array of URLs for the APING (Apoteker Pendamping) signature picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.ttk_name</td>\n<td><code>string</code> The name of the TTK (Tenaga Teknis Kefarmasian) associated with the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.sip_ttk_valid_to</td>\n<td><code>string</code> The timestamp when the SIP TTK (Surat Izin Penanggung Jawab Tenaga Teknis Kefarmasian) validity period ends.</td>\n</tr>\n<tr>\n<td>customer_legality.sip_ttk_no</td>\n<td><code>string</code> The SIP TTK (Surat Izin Penanggung Jawab Tenaga Teknis Kefarmasian) number associated with the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.sip_ttk_picture</td>\n<td><code>array</code> An array of URLs for the SIP TTK picture of the apothecary.</td>\n</tr>\n<tr>\n<td>customer_legality.ttk_sign_picture</td>\n<td><code>array</code> An array of URLs for the TTK (Tenaga Teknis Kefarmasian) signature picture of the apothecary.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> The message accompanying the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>object</code> The data object containing the details of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_id</td>\n<td><code>integer</code> The ID of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_no</td>\n<td><code>string</code> The purchase order number.</td>\n</tr>\n<tr>\n<td>data.customer_id</td>\n<td><code>integer</code> The ID of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order_category_id</td>\n<td><code>integer</code> The ID of the sales order category associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order_id</td>\n<td><code>null</code> or <code>integer</code> The ID of the sales order associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order_no</td>\n<td><code>null</code> or <code>string</code> The sales order number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.platform_sales_order_no</td>\n<td><code>null</code> or <code>string</code> The platform-specific sales order number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.invoice_no</td>\n<td><code>null</code> or <code>string</code> The invoice number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.invoice_image_url</td>\n<td><code>null</code> or <code>string</code> The URL of the invoice image associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_category_name</td>\n<td><code>string</code> The category name of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_file_upload</td>\n<td><code>null</code> or <code>any</code> The uploaded file associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_code</td>\n<td><code>string</code> The code of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_name</td>\n<td><code>string</code> The name of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_address</td>\n<td><code>string</code> The address of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sia_no</td>\n<td><code>string</code> The SIA (Surat Izin Apotek) number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.apj_name</td>\n<td><code>string</code> The name of the APJ (Apoteker Penanggung Jawab) associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_date</td>\n<td><code>string</code> The timestamp when the purchase order was created.</td>\n</tr>\n<tr>\n<td>data.is_approve</td>\n<td><code>boolean</code> Indicates whether the purchase order is approved or not.</td>\n</tr>\n<tr>\n<td>data.payment_method</td>\n<td><code>string</code> The payment method of the purchase order.</td>\n</tr>\n<tr>\n<td>data.supplier_name</td>\n<td><code>string</code> The name of the supplier associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.supplier_address</td>\n<td><code>string</code> The address of the supplier associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_status</td>\n<td><code>string</code> The status of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_image_url</td>\n<td><code>string</code> The URL of the image associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.is_canceled</td>\n<td><code>boolean</code> Indicates whether the purchase order is canceled or not.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The timestamp when the purchase order was created.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The user or system who created the purchase order.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>string</code> The timestamp when the purchase order was last modified.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>string</code> The user or system who last modified the purchase order.</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the purchase order.</td>\n</tr>\n<tr>\n<td>data.reason_detail</td>\n<td><code>null</code> or <code>any</code> The details of the reason associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.reason_category</td>\n<td><code>null</code> or <code>any</code> The category of the reason associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.supporting_document</td>\n<td><code>null</code> or <code>any</code> The supporting document associated with the purchase order.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","purchase-order","4","customer"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"deda6935-e986-4272-b467-1214b88f3ee0","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Apotek Sehat\",\r\n    \"customer_category_id\": 1,\r\n    \"sipnap\": null,\r\n    \"email\": null,\r\n    \"phone_no\": \"+628455612341\",\r\n    \"address\": \"Jl. Kemenangan No. 1 Jakarta Pusat\",\r\n    \"subdistrict_id\": 2,\r\n    \"front_picture\": [\r\n        \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n    ],\r\n    \"customer_payment\": {\r\n        \"faktur_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"bank_name\": \"Bank Mandiri\",\r\n        \"account_no\": \"1122334455\",\r\n        \"account_name\": \"Apotek Sehat\",\r\n        \"branch\": \"KCP Jakarta Selatan\",\r\n        \"finance_phone_no\": \"+628454112341\"\r\n    },\r\n    \"customer_legality\": {\r\n        \"stamp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"sia_valid_form\": \"2023-05-30T03:16:12.997Z\",\r\n        \"sia_valid_to\": \"2023-10-30T03:16:12.997Z\",\r\n        \"sia_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_name\": \"John Doe\",\r\n        \"apj_sipa_valid_to\": \"2023-06-30T03:16:12.997Z\",\r\n        \"apj_sipa_no\": \"121251261\",\r\n        \"sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_ktp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"owner_name\": \"Jane Doe\",\r\n        \"owner_ktp_pict\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"npwp\": \"123456542421\",\r\n        \"npwp_name\": \"Apotek Sehat\",\r\n        \"npwp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"npwp_address\": \"Jalan Kemenangan\",\r\n        \"aping_name\": \"Joss Doe\",\r\n        \"aping_sipa_valid_to\": \"2023-06-30T03:16:12.997Z\",\r\n        \"aping_sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"aping_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"ttk_name\": \"Jane Do\",\r\n        \"sip_ttk_valid_to\": \"2023-06-30T03:16:12.997Z\",\r\n        \"sip_ttk_no\": \"string\",\r\n        \"sip_ttk_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"ttk_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order/42/customer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Mon, 05 Jun 2023 03:43:12 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"481-ZoFCrdE+QLzURXA9dy9eqfqyrrU\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"876","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"po_id\": 42,\n        \"po_no\": \"PO-000000042\",\n        \"customer_id\": 122,\n        \"sales_order_category_id\": 3,\n        \"sales_order_id\": null,\n        \"sales_order_no\": null,\n        \"platform_sales_order_no\": null,\n        \"invoice_no\": null,\n        \"invoice_image_url\": null,\n        \"po_category_name\": \"Prekursor\",\n        \"po_file_upload\": null,\n        \"customer_code\": \"AP00027\",\n        \"customer_name\": \"Apotek Sehat\",\n        \"customer_address\": \"Jl. Kemenangan No. 1 Jakarta Pusat\",\n        \"sia_no\": \"7843264736\",\n        \"apj_name\": \"John Doe\",\n        \"po_date\": \"2023-06-02T09:37:22.852Z\",\n        \"is_approve\": false,\n        \"payment_method\": \"payment_method\",\n        \"supplier_name\": \"PT Global Logistik Medika\",\n        \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n        \"po_status\": \"not_yet_approved\",\n        \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n        \"is_canceled\": false,\n        \"created_time\": \"2023-06-02T09:37:22.859Z\",\n        \"created_by\": \"SYSTEM\",\n        \"last_modified_time\": \"2023-06-05T03:43:12.499Z\",\n        \"last_modified_by\": \"System\",\n        \"time_stamp\": \"2023-06-05T03:43:12.499Z\",\n        \"reason_detail\": null,\n        \"reason_category\": null,\n        \"supporting_document\": null\n    }\n}"},{"id":"c8472200-305f-4847-be44-c218778c9d4a","name":"Validation Error","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Apotek Sehat\",\r\n    \"customer_category_id\": 1,\r\n    \"sipnap\": null,\r\n    \"email\": null,\r\n    \"phone_no\": \"+628455612341\",\r\n    \"address\": \"Jl. Kemenangan No. 1 Jakarta Pusat\",\r\n    \"subdistrict_id\": 2,\r\n    \"front_picture\": [\r\n        \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n    ],\r\n    \"customer_payment\": {\r\n        \"faktur_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"bank_name\": \"Bank Mandiri\",\r\n        \"account_no\": \"1122334455\",\r\n        \"account_name\": \"Apotek Sehat\",\r\n        \"branch\": \"KCP Jakarta Selatan\",\r\n        \"finance_phone_no\": \"+628454112341\"\r\n    },\r\n    \"customer_legality\": {\r\n        \"stamp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"sia_valid_form\": \"2023-05-30T03:16:12.997Z\",\r\n        \"sia_valid_to\": \"2023-10-30T03:16:12.997Z\",\r\n        \"sia_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_name\": \"John Doe\",\r\n        \"apj_sipa_valid_to\": \"2023-05-30T03:16:12.997Z\",\r\n        \"apj_sipa_no\": \"121251261\",\r\n        \"sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"apj_ktp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"owner_name\": \"Jane Doe\",\r\n        \"owner_ktp_pict\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"npwp\": \"123456542421\",\r\n        \"npwp_name\": \"Apotek Sehat\",\r\n        \"npwp_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"npwp_address\": \"Jalan Kemenangan\",\r\n        \"aping_name\": \"Joss Doe\",\r\n        \"aping_sipa_valid_to\": \"2023-05-30T03:16:12.997Z\",\r\n        \"aping_sipa_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"aping_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"ttk_name\": \"Jane Do\",\r\n        \"sip_ttk_valid_to\": \"2023-05-30T03:16:12.997Z\",\r\n        \"sip_ttk_no\": \"string\",\r\n        \"sip_ttk_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ],\r\n        \"ttk_sign_picture\": [\r\n            \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\"\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order/42/customer"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 02 Jun 2023 10:03:46 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"540","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"21c-J4Q4exRbLdrpxh0e/EWWl8Z5Ecc\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"210","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 400,\n    \"message\": \"Validation error\",\n    \"error\": \"BAD_REQUEST\",\n    \"sub_errors\": {\n        \"customer_legality.apj_sipa_valid_to\": [\n            \"minimal allowed date for apj_sipa_valid_to is Fri Jun 02 2023 00:00:00 GMT+0000 (Coordinated Universal Time)\"\n        ],\n        \"customer_legality.aping_sipa_valid_to\": [\n            \"minimal allowed date for aping_sipa_valid_to is Fri Jun 02 2023 00:00:00 GMT+0000 (Coordinated Universal Time)\"\n        ],\n        \"customer_legality.sip_ttk_valid_to\": [\n            \"minimal allowed date for sip_ttk_valid_to is Fri Jun 02 2023 00:00:00 GMT+0000 (Coordinated Universal Time)\"\n        ]\n    }\n}"}],"_postman_id":"8d701ad4-c51f-4de6-a2ac-c03257e66bf4"},{"name":"Get Purchase Order List","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"5fb9b68d-6ea1-400b-b07c-d6dfa04b2d9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/purchase-order?customer_id=121&page=1&limit=10","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td><code>integer</code> The total count of purchase orders.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td><code>integer</code> The maximum number of purchase orders returned per page.</td>\n</tr>\n<tr>\n<td>page</td>\n<td><code>integer</code> The current page number of purchase orders.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>array</code> An array of purchase order objects.</td>\n</tr>\n<tr>\n<td>data.po_id</td>\n<td><code>integer</code> The ID of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_no</td>\n<td><code>string</code> The purchase order number.</td>\n</tr>\n<tr>\n<td>data.customer_id</td>\n<td><code>integer</code> The ID of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order_category_id</td>\n<td><code>integer</code> The ID of the sales order category associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.invoice_no</td>\n<td><code>null</code> or <code>string</code> The invoice number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.invoice_image_url</td>\n<td><code>null</code> or <code>string</code> The URL of the invoice image associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_category_name</td>\n<td><code>string</code> The category name of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_file_upload</td>\n<td><code>null</code> or <code>any</code> The uploaded file associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_code</td>\n<td><code>string</code> The code of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_name</td>\n<td><code>string</code> The name of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_address</td>\n<td><code>string</code> The address of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sia_no</td>\n<td><code>string</code> The SIA (Surat Izin Apotek) number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.apj_name</td>\n<td><code>null</code> or <code>string</code> The name of the APJ (Apoteker Penanggung Jawab) associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_date</td>\n<td><code>string</code> The timestamp when the purchase order was created.</td>\n</tr>\n<tr>\n<td>data.is_approve</td>\n<td><code>boolean</code> Indicates whether the purchase order is approved or not.</td>\n</tr>\n<tr>\n<td>data.payment_method</td>\n<td><code>string</code> The payment method of the purchase order.</td>\n</tr>\n<tr>\n<td>data.supplier_name</td>\n<td><code>string</code> The name of the supplier associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.supplier_address</td>\n<td><code>string</code> The address of the supplier associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_status</td>\n<td><code>string</code> The status of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_image_url</td>\n<td><code>string</code> The URL of the image associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.is_canceled</td>\n<td><code>boolean</code> Indicates whether the purchase order is canceled or not.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The timestamp when the purchase order was created.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The user or system who created the purchase order.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>string</code> The timestamp when the purchase order was last modified.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user or system who last modified the purchase order.</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the purchase order.</td>\n</tr>\n<tr>\n<td>data.reason_detail</td>\n<td><code>null</code> or <code>any</code> The details of the reason associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.reason_category</td>\n<td><code>null</code> or <code>any</code> The category of the reason associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.supporting_document</td>\n<td><code>null</code> or <code>any</code> The supporting document associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order</td>\n<td><code>array</code> An array of sales order objects associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order[n].sales_order_id</td>\n<td><code>integer</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order[n].sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.sales_order[n].platform_sales_order_no</td>\n<td><code>string</code> The platform sales order number.</td>\n</tr>\n<tr>\n<td>data.sales_order[n].status</td>\n<td><code>string</code> The status of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order[n].platform_so_status</td>\n<td><code>string</code> The platform sales order status.</td>\n</tr>\n<tr>\n<td>data.sales_order[n].category_name</td>\n<td><code>string</code> The category name of the sales order.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","purchase-order"],"host":["{{BASE_URL}}"],"query":[{"key":"customer_id","value":"121"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[{"id":"799a0fd2-74a4-4037-86bf-3d30b8376e22","name":"Get Purchase Order List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v1/purchase-order?customer_id=121&page=1&limit=10","host":["{{BASE_URL}}"],"path":["v1","purchase-order"],"query":[{"key":"customer_id","value":"121"},{"key":"page","value":"1"},{"key":"limit","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Thu, 15 Jun 2023 01:51:54 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"3194-iVwxlh+podYFzb0UVar1r6h1eaQ\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"137","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 29,\n    \"limit\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"po_id\": 185,\n            \"po_no\": \"PO-000000185\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": null,\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T04:16:26.215Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"expired\",\n            \"po_image_url\": \"\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T04:16:26.222Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T04:29:46.223Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T04:29:46.226Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": []\n        },\n        {\n            \"po_id\": 184,\n            \"po_no\": \"PO-000000184\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T04:13:57.268Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"being_processed\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000184-1686716059.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T04:13:57.277Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-15T01:44:21.779Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-15T01:44:21.779Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1066,\n                    \"sales_order_no\": \"OMS-SO-000001066\",\n                    \"platform_sales_order_no\": \"SO-000002785\",\n                    \"status\": \"submitted\",\n                    \"platform_so_status\": \"Canceled\",\n                    \"category_name\": \"Reguler\"\n                },\n                {\n                    \"sales_order_id\": 1067,\n                    \"sales_order_no\": \"OMS-SO-000001067\",\n                    \"platform_sales_order_no\": \"SO-000002786\",\n                    \"status\": \"defecta\",\n                    \"platform_so_status\": \"Defecta\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        },\n        {\n            \"po_id\": 181,\n            \"po_no\": \"PO-000000181\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T03:47:50.972Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"being_processed\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000181-1686714489.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T03:47:50.982Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T03:48:31.962Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T03:48:31.962Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1063,\n                    \"sales_order_no\": \"OMS-SO-000001063\",\n                    \"platform_sales_order_no\": \"SO-000002782\",\n                    \"status\": \"submitted\",\n                    \"platform_so_status\": \"Pengambilan belum dimulai\",\n                    \"category_name\": \"Reguler\"\n                },\n                {\n                    \"sales_order_id\": 1064,\n                    \"sales_order_no\": \"OMS-SO-000001064\",\n                    \"platform_sales_order_no\": \"SO-000002783\",\n                    \"status\": \"defecta\",\n                    \"platform_so_status\": \"Defecta\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        },\n        {\n            \"po_id\": 180,\n            \"po_no\": \"PO-000000180\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T03:44:36.062Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"expired\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000180-1686714295.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T03:44:36.068Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T03:51:32.546Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T03:51:32.549Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1062,\n                    \"sales_order_no\": \"OMS-SO-000001062\",\n                    \"platform_sales_order_no\": null,\n                    \"status\": \"cancelled\",\n                    \"platform_so_status\": \"Canceled\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        },\n        {\n            \"po_id\": 179,\n            \"po_no\": \"PO-000000179\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T03:30:33.598Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"being_processed\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000179-1686713453.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T03:30:33.606Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T03:31:14.044Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T03:31:14.044Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1060,\n                    \"sales_order_no\": \"OMS-SO-000001060\",\n                    \"platform_sales_order_no\": \"SO-000002779\",\n                    \"status\": \"submitted\",\n                    \"platform_so_status\": \"Pengambilan belum dimulai\",\n                    \"category_name\": \"Reguler\"\n                },\n                {\n                    \"sales_order_id\": 1061,\n                    \"sales_order_no\": \"OMS-SO-000001061\",\n                    \"platform_sales_order_no\": \"SO-000002780\",\n                    \"status\": \"defecta\",\n                    \"platform_so_status\": \"Defecta\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        },\n        {\n            \"po_id\": 178,\n            \"po_no\": \"PO-000000178\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T03:21:42.312Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"being_processed\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000178-1686712924.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T03:21:42.325Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T03:30:13.063Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T03:30:13.063Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1058,\n                    \"sales_order_no\": \"OMS-SO-000001058\",\n                    \"platform_sales_order_no\": \"SO-000002775\",\n                    \"status\": \"submitted\",\n                    \"platform_so_status\": \"Pengepakan\",\n                    \"category_name\": \"Reguler\"\n                },\n                {\n                    \"sales_order_id\": 1059,\n                    \"sales_order_no\": \"OMS-SO-000001059\",\n                    \"platform_sales_order_no\": \"SO-000002776\",\n                    \"status\": \"defecta\",\n                    \"platform_so_status\": \"Defecta\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        },\n        {\n            \"po_id\": 177,\n            \"po_no\": \"PO-000000177\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T03:19:11.230Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"being_processed\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000177-1686712771.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T03:19:11.240Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T03:21:12.466Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T03:21:12.466Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1056,\n                    \"sales_order_no\": \"OMS-SO-000001056\",\n                    \"platform_sales_order_no\": \"SO-000002771\",\n                    \"status\": \"submitted\",\n                    \"platform_so_status\": \"Pengambilan Gagal\",\n                    \"category_name\": \"Reguler\"\n                },\n                {\n                    \"sales_order_id\": 1057,\n                    \"sales_order_no\": \"OMS-SO-000001057\",\n                    \"platform_sales_order_no\": \"SO-000002772\",\n                    \"status\": \"defecta\",\n                    \"platform_so_status\": \"Defecta\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        },\n        {\n            \"po_id\": 176,\n            \"po_no\": \"PO-000000176\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T03:12:43.266Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"being_processed\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000176-1686712388.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T03:12:43.279Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T03:18:02.168Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T03:18:02.168Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1054,\n                    \"sales_order_no\": \"OMS-SO-000001054\",\n                    \"platform_sales_order_no\": \"SO-000002769\",\n                    \"status\": \"submitted\",\n                    \"platform_so_status\": \"Pengambilan Selesai\",\n                    \"category_name\": \"Reguler\"\n                },\n                {\n                    \"sales_order_id\": 1055,\n                    \"sales_order_no\": \"OMS-SO-000001055\",\n                    \"platform_sales_order_no\": \"SO-000002770\",\n                    \"status\": \"defecta\",\n                    \"platform_so_status\": \"Defecta\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        },\n        {\n            \"po_id\": 175,\n            \"po_no\": \"PO-000000175\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T03:08:02.602Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"being_processed\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000175-1686712110.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T03:08:02.614Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T03:09:47.257Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T03:09:47.257Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1045,\n                    \"sales_order_no\": \"OMS-SO-000001045\",\n                    \"platform_sales_order_no\": \"SO-000002766\",\n                    \"status\": \"submitted\",\n                    \"platform_so_status\": \"Pengambilan\",\n                    \"category_name\": \"Reguler\"\n                },\n                {\n                    \"sales_order_id\": 1048,\n                    \"sales_order_no\": \"OMS-SO-000001048\",\n                    \"platform_sales_order_no\": \"SO-000002767\",\n                    \"status\": \"defecta\",\n                    \"platform_so_status\": \"Defecta\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        },\n        {\n            \"po_id\": 166,\n            \"po_no\": \"PO-000000166\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 1,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Reguler\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"string\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": null,\n            \"po_date\": \"2023-06-14T02:49:44.800Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"term_14_days\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"being_processed\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/06/14/PO-DIGITAL-PO-000000166-1686711008.pdf\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-14T02:49:44.814Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-14T03:01:22.036Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-14T03:01:22.036Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null,\n            \"sales_order\": [\n                {\n                    \"sales_order_id\": 1043,\n                    \"sales_order_no\": \"OMS-SO-000001043\",\n                    \"platform_sales_order_no\": \"SO-000002764\",\n                    \"status\": \"submitted\",\n                    \"platform_so_status\": \"Pengambilan\",\n                    \"category_name\": \"Reguler\"\n                },\n                {\n                    \"sales_order_id\": 1044,\n                    \"sales_order_no\": \"OMS-SO-000001044\",\n                    \"platform_sales_order_no\": \"SO-000002765\",\n                    \"status\": \"defecta\",\n                    \"platform_so_status\": \"Defecta\",\n                    \"category_name\": \"Reguler\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"5fb9b68d-6ea1-400b-b07c-d6dfa04b2d9a"},{"name":"Get Purchase Order Detail","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"62f4ab36-2f03-4346-91ca-17610a79d76e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/purchase-order/255","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>number</code> The status code of the API response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> A message indicating the status of the response.</td>\n</tr>\n<tr>\n<td>data.po_id</td>\n<td><code>number</code> The ID of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_no</td>\n<td><code>string</code> The purchase order number.</td>\n</tr>\n<tr>\n<td>data.customer_id</td>\n<td><code>number</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_category_id</td>\n<td><code>number</code> The ID of the sales order category.</td>\n</tr>\n<tr>\n<td>data.invoice_no</td>\n<td><code>string</code> The invoice number (auto-generated).</td>\n</tr>\n<tr>\n<td>data.invoice_image_url</td>\n<td><code>string/null</code> The URL of the invoice image, if available.</td>\n</tr>\n<tr>\n<td>data.po_category_name</td>\n<td><code>string</code> The name of the purchase order category.</td>\n</tr>\n<tr>\n<td>data.po_file_upload</td>\n<td><code>string/null</code> The URL of the uploaded purchase order file, if available.</td>\n</tr>\n<tr>\n<td>data.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n<tr>\n<td>data.customer_address</td>\n<td><code>string</code> The address of the customer.</td>\n</tr>\n<tr>\n<td>data.sia_no</td>\n<td><code>string</code> The SIA number.</td>\n</tr>\n<tr>\n<td>data.apj_name</td>\n<td><code>string</code> The name of the APJ.</td>\n</tr>\n<tr>\n<td>data.po_date</td>\n<td><code>string</code> The date and time of the purchase order in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.is_approve</td>\n<td><code>boolean</code> Indicates whether the purchase order is approved.</td>\n</tr>\n<tr>\n<td>data.payment_method</td>\n<td><code>string</code> The payment method.</td>\n</tr>\n<tr>\n<td>data.supplier_name</td>\n<td><code>string</code> The name of the supplier.</td>\n</tr>\n<tr>\n<td>data.supplier_address</td>\n<td><code>string</code> The address of the supplier.</td>\n</tr>\n<tr>\n<td>data.po_status</td>\n<td><code>string</code> The status of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_image_url</td>\n<td><code>string</code> The URL of the purchase order image.</td>\n</tr>\n<tr>\n<td>data.is_canceled</td>\n<td><code>boolean</code> Indicates whether the purchase order is canceled.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The date and time when the purchase order was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The user who created the purchase order.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>string</code> The date and time when the purchase order was last modified in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>string/null</code> The user who last modified the purchase order, if available.</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the purchase order in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.reason_detail</td>\n<td><code>string/null</code> The details of the reason, if any.</td>\n</tr>\n<tr>\n<td>data.reason_category</td>\n<td><code>string/null</code> The category of the reason, if any.</td>\n</tr>\n<tr>\n<td>data.supporting_document</td>\n<td><code>string/null</code> The URL of the supporting document, if available.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail</td>\n<td><code>array</code> An array of purchase order details, each containing the following information:</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].po_detail_id</td>\n<td><code>number</code> The ID of the purchase order detail.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].po_no</td>\n<td><code>string</code> The purchase order number.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].sku</td>\n<td><code>string</code> The SKU (Stock Keeping Unit) of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].po_id</td>\n<td><code>number</code> The ID of the purchase order.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product_id</td>\n<td><code>number</code> The ID of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product_name</td>\n<td><code>string</code> The name of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product_category</td>\n<td><code>string</code> The category of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].qty</td>\n<td><code>number</code> The quantity of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product_unit</td>\n<td><code>string/null</code> The unit of the product, if available.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].is_canceled</td>\n<td><code>boolean</code> Indicates whether the purchase order detail is canceled.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].created_time</td>\n<td><code>string</code> The date and time when the purchase order detail was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].created_by</td>\n<td><code>string</code> The user who created the purchase order detail.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].last_modified_time</td>\n<td><code>string</code> The date and time when the purchase order detail was last modified in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].last_modified_by</td>\n<td><code>string/null</code> The user who last modified the purchase order detail, if available.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].time_stamp</td>\n<td><code>string</code> The timestamp of the purchase order detail in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.product_id</td>\n<td><code>number</code> The ID of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.sku</td>\n<td><code>string</code> The SKU of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.nie</td>\n<td><code>string/null</code> The NIE (National Identification Number) of the product, if available.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.name</td>\n<td><code>string</code> The name of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.category</td>\n<td><code>string</code> The category of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.manufacturer</td>\n<td><code>string</code> The manufacturer of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.hna</td>\n<td><code>string</code> The HNA (Harga Netto Apotek) of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.harga_beli</td>\n<td><code>string</code> The purchase price of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.hpp</td>\n<td><code>string</code> The HPP (Harga Pokok Penjualan) of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.unit</td>\n<td><code>string/null</code> The unit of the product, if available.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.description</td>\n<td><code>string</code> The description of the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.is_return</td>\n<td><code>boolean</code> Indicates whether the product is returnable.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.return_period</td>\n<td><code>string/null</code> The return period of the product, if available.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.sku_status</td>\n<td><code>string</code> The status of the SKU.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.picture</td>\n<td><code>string</code> The URL of the product picture.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.kfa_variant_code</td>\n<td><code>string/null</code> The KFA (Kode Formula Aktif) variant code, if available.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.created_time</td>\n<td><code>string</code> The date and time when the product was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.created_by</td>\n<td><code>string</code> The user who created the product.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.last_modified_time</td>\n<td><code>string</code> The date and time when the product was last modified in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.last_modified_by</td>\n<td><code>string/null</code> The user who last modified the product, if available.</td>\n</tr>\n<tr>\n<td>data.purchase_order_detail[].product.time_stamp</td>\n<td><code>string</code> The timestamp of the product in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.customer</td>\n<td><code>object</code> Additional information about the customer:</td>\n</tr>\n<tr>\n<td>data.customer.customer_id</td>\n<td><code>number</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.salesman_id</td>\n<td><code>number</code> The ID of the salesman.</td>\n</tr>\n<tr>\n<td>data.customer.salesman_name</td>\n<td><code>string</code> The name of the salesman.</td>\n</tr>\n<tr>\n<td>data.customer.salesman_code</td>\n<td><code>string</code> The code of the salesman.</td>\n</tr>\n<tr>\n<td>data.customer.top</td>\n<td><code>null</code> or <code>string</code> The TOP (Term Of Payment) of the customer, if available.</td>\n</tr>\n<tr>\n<td>data.customer.name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.customer_category</td>\n<td><code>string</code> The category of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.sipnap</td>\n<td><code>string</code> The SIPNAP (Sistem Informasi Produk Nasional) of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.sia_no</td>\n<td><code>string</code> The SIA (Surat Izin Apotek) number of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.sipa_no</td>\n<td><code>string</code> The SIPA (Surat Izin Praktik Apoteker) number of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.sipttk_no</td>\n<td><code>string</code> The SIPTTK (Surat Izin Penyaluran Tertentu Khusus) number of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.apj_name</td>\n<td><code>string</code> The name of the APJ.</td>\n</tr>\n<tr>\n<td>data.customer.email</td>\n<td><code>string</code> The email address of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.phone_no</td>\n<td><code>string</code> The phone number of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.address</td>\n<td><code>string</code> The address of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.subdistrict_id</td>\n<td><code>number</code> The ID of the subdistrict.</td>\n</tr>\n<tr>\n<td>data.customer.province</td>\n<td><code>string</code> The province of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.province_code</td>\n<td><code>string</code> The code of the province.</td>\n</tr>\n<tr>\n<td>data.customer.city</td>\n<td><code>string</code> The city of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.city_code</td>\n<td><code>string</code> The code of the city.</td>\n</tr>\n<tr>\n<td>data.customer.district</td>\n<td><code>string</code> The district of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.district_code</td>\n<td><code>string</code> The code of the district.</td>\n</tr>\n<tr>\n<td>data.customer.sub_district</td>\n<td><code>string</code> The subdistrict of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.sub_district_code</td>\n<td><code>string</code> The code of the subdistrict.</td>\n</tr>\n<tr>\n<td>data.customer.postal_code</td>\n<td><code>string</code> The postal code of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.front_picture</td>\n<td><code>string</code> The URL of the front picture of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.service_warehouse_id</td>\n<td><code>number</code> The ID of the service warehouse.</td>\n</tr>\n<tr>\n<td>data.customer.service_warehouse</td>\n<td><code>string</code> The name of the service warehouse.</td>\n</tr>\n<tr>\n<td>data.customer.status</td>\n<td><code>string</code> The status of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.is_active_customer</td>\n<td><code>boolean</code> Indicates whether the customer is active.</td>\n</tr>\n<tr>\n<td>data.customer.customer_type</td>\n<td><code>string</code> The type of the customer.</td>\n</tr>\n<tr>\n<td>data.customer.created_time</td>\n<td><code>string</code> The date and time when the customer was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.customer.created_by</td>\n<td><code>string</code> The user who created the customer.</td>\n</tr>\n<tr>\n<td>data.customer.last_modified_time</td>\n<td><code>string</code> The date and time when the customer was last modified in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.customer.last_modified_by</td>\n<td><code>string</code> The user who last modified the customer.</td>\n</tr>\n<tr>\n<td>data.customer.time_stamp</td>\n<td><code>string</code> The timestamp of the customer in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.sales_order_category</td>\n<td><code>object</code> Additional information about the sales order category:</td>\n</tr>\n<tr>\n<td>data.sales_order_category.category_id</td>\n<td><code>number</code> The ID of the category.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.category_code</td>\n<td><code>string</code> The code of the category.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.name</td>\n<td><code>string</code> The name of the category.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.is_mandatory_file_upload</td>\n<td><code>boolean</code> Indicates whether file upload is mandatory for the category.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.is_product_orderable</td>\n<td><code>boolean</code> Indicates whether the product is orderable for the category.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.is_deleted</td>\n<td><code>boolean</code> Indicates whether the category is deleted.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.created_time</td>\n<td><code>string</code> The date and time when the category was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.created_by</td>\n<td><code>string</code> The user who created the category.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.last_modified_time</td>\n<td><code>string/null</code> The date and time when the category was last modified in ISO 8601 format, if available.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.last_modified_by</td>\n<td><code>string/null</code> The user who last modified the category, if available.</td>\n</tr>\n<tr>\n<td>data.sales_order_category.time_stamp</td>\n<td><code>string</code> The timestamp of the category in ISO 8601 format.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","purchase-order","255"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"644bd6ac-6d08-45c5-9e50-2dd2862317e0","name":"Get Purchase Order Detail","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/purchase-order/255"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 16 Jun 2023 09:15:07 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"d3c-kynk+dBioHY4/GH2eAUjIWjL4sk\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"73","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"po_id\": 255,\n        \"po_no\": \"PO-000000255\",\n        \"customer_id\": 121,\n        \"sales_order_category_id\": 3,\n        \"invoice_no\": \"[auto]\",\n        \"invoice_image_url\": null,\n        \"po_category_name\": \"Prekursor\",\n        \"po_file_upload\": null,\n        \"customer_code\": \"AP00026\",\n        \"customer_name\": \"testing adhis PO baru\",\n        \"customer_address\": \"Jalan mana aja\",\n        \"sia_no\": \"123123\",\n        \"apj_name\": \"string\",\n        \"po_date\": \"2023-06-16T08:52:48.439Z\",\n        \"is_approve\": false,\n        \"payment_method\": \"cod\",\n        \"supplier_name\": \"PT Global Logistik Medika\",\n        \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n        \"po_status\": \"waiting_for_approval\",\n        \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n        \"is_canceled\": false,\n        \"created_time\": \"2023-06-16T08:52:48.447Z\",\n        \"created_by\": \"SYSTEM\",\n        \"last_modified_time\": \"2023-06-16T09:08:29.910Z\",\n        \"last_modified_by\": null,\n        \"time_stamp\": \"2023-06-16T09:08:29.910Z\",\n        \"reason_detail\": null,\n        \"reason_category\": null,\n        \"supporting_document\": null,\n        \"purchase_order_detail\": [\n            {\n                \"po_detail_id\": 354,\n                \"po_no\": \"PO-000000255\",\n                \"sku\": \"ERGMTRNPRKSR\",\n                \"po_id\": 255,\n                \"product_id\": 8070,\n                \"product_name\": \"ERGOMETRIN\",\n                \"product_category\": \"PREKUSOR\",\n                \"qty\": 1,\n                \"product_unit\": null,\n                \"is_canceled\": false,\n                \"created_time\": \"2023-06-16T08:52:48.447Z\",\n                \"created_by\": \"SYSTEM\",\n                \"last_modified_time\": \"2023-06-16T08:52:48.447Z\",\n                \"last_modified_by\": null,\n                \"time_stamp\": \"2023-06-16T08:52:48.439Z\",\n                \"product\": {\n                    \"product_id\": 8070,\n                    \"sku\": \"ERGMTRNPRKSR\",\n                    \"nie\": null,\n                    \"name\": \"ERGOMETRIN\",\n                    \"category\": \"PREKUSOR\",\n                    \"manufacturer\": \"PT. TEST\",\n                    \"hna\": \"10000\",\n                    \"harga_beli\": \"9900\",\n                    \"hpp\": \"9900\",\n                    \"unit\": null,\n                    \"description\": \"TESTTESTTESTESTTESTESTTESTTEST\",\n                    \"is_return\": false,\n                    \"return_period\": null,\n                    \"sku_status\": \"Aktif\",\n                    \"picture\": \"https://jubelio.blob.core.windows.net/images/zk2fgckjsgkxxbawxnaxtw/rug-1685691589150-0.jpeg\",\n                    \"kfa_variant_code\": null,\n                    \"created_time\": \"2023-04-12T09:00:34.782Z\",\n                    \"created_by\": \"System\",\n                    \"last_modified_time\": \"2023-06-05T07:08:51.988Z\",\n                    \"last_modified_by\": null,\n                    \"time_stamp\": \"2023-06-05T07:08:51.986Z\"\n                }\n            }\n        ],\n        \"customer\": {\n            \"customer_id\": 121,\n            \"customer_code\": \"AP00026\",\n            \"salesman_id\": 1,\n            \"salesman_name\": \"Hayal Nurciptas\",\n            \"salesman_code\": \"Sales00020\",\n            \"top\": null,\n            \"name\": \"testing adhis PO baru\",\n            \"customer_category\": \"Apotek\",\n            \"sipnap\": \"92121233\",\n            \"sia_no\": \"123123\",\n            \"sipa_no\": \"12345678910\",\n            \"sipttk_no\": \"string\",\n            \"apj_name\": \"string\",\n            \"email\": \"customer-ap000026@glm.id\",\n            \"phone_no\": \"+62800999123\",\n            \"address\": \"Jalan mana aja\",\n            \"subdistrict_id\": 2,\n            \"province\": \"ACEH\",\n            \"province_code\": \"11\",\n            \"city\": \"KAB. ACEH SELATAN\",\n            \"city_code\": \"11.01\",\n            \"district\": \"Bakongan\",\n            \"district_code\": \"11.01.01\",\n            \"sub_district\": \"Ujong Mangki\",\n            \"sub_district_code\": \"11.01.01.2002\",\n            \"postal_code\": \"23773\",\n            \"front_picture\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/30/6ef68b9c-6ca3-4dae-852e-ad6404d73fad.png\",\n            \"service_warehouse_id\": 5,\n            \"service_warehouse\": \"Cakung\",\n            \"status\": \"Active\",\n            \"is_active_customer\": true,\n            \"customer_type\": \"Eksternal\",\n            \"created_time\": \"2023-06-14T08:57:45.507Z\",\n            \"created_by\": \"system\",\n            \"last_modified_time\": \"2023-06-14T08:57:45.445Z\",\n            \"last_modified_by\": \"adhi.satrio@itmi.id\",\n            \"time_stamp\": \"2023-06-14T08:57:45.514Z\"\n        },\n        \"sales_order_category\": {\n            \"category_id\": 3,\n            \"category_code\": \"SOC0003\",\n            \"name\": \"Prekursor\",\n            \"is_mandatory_file_upload\": true,\n            \"is_product_orderable\": true,\n            \"is_deleted\": false,\n            \"created_time\": \"2023-04-06T10:06:59.130Z\",\n            \"created_by\": \"\",\n            \"last_modified_time\": null,\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-04-06T10:06:59.130Z\"\n        }\n    }\n}"}],"_postman_id":"62f4ab36-2f03-4346-91ca-17610a79d76e"},{"name":"Cancel Purchase Order","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"af62e7cf-50a7-4701-a6a9-98b785ba9960","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"cancel_reason_detail\": \"Tidak jadi beli\",\r\n  \"cancel_reason_category\": \"Others\",\r\n  \"cancel_supporting_document\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order/7/cancel","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> The HTTP status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> The status message of the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>object</code> An object containing the details of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_id</td>\n<td><code>integer</code> The ID of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_no</td>\n<td><code>string</code> The purchase order number.</td>\n</tr>\n<tr>\n<td>data.customer_id</td>\n<td><code>null</code> or <code>integer</code> The ID of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order_category_id</td>\n<td><code>integer</code> The ID of the sales order category associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order_id</td>\n<td><code>null</code> or <code>integer</code> The ID of the sales order associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sales_order_no</td>\n<td><code>null</code> or <code>string</code> The sales order number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.platform_sales_order_no</td>\n<td><code>null</code> or <code>string</code> The platform sales order number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.invoice_no</td>\n<td><code>null</code> or <code>string</code> The invoice number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.invoice_image_url</td>\n<td><code>null</code> or <code>string</code> The URL of the invoice image associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_category_name</td>\n<td><code>string</code> The category name of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_file_upload</td>\n<td><code>null</code> or <code>any</code> The uploaded file associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_code</td>\n<td><code>null</code> or <code>string</code> The code of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_name</td>\n<td><code>null</code> or <code>string</code> The name of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.customer_address</td>\n<td><code>null</code> or <code>string</code> The address of the customer associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.sia_no</td>\n<td><code>null</code> or <code>string</code> The SIA (Surat Izin Apotek) number associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.apj_name</td>\n<td><code>null</code> or <code>string</code> The name of the APJ (Apoteker Penanggung Jawab) associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_date</td>\n<td><code>string</code> The timestamp when the purchase order was created.</td>\n</tr>\n<tr>\n<td>data.is_approve</td>\n<td><code>boolean</code> Indicates whether the purchase order is approved or not.</td>\n</tr>\n<tr>\n<td>data.payment_method</td>\n<td><code>string</code> The payment method of the purchase order.</td>\n</tr>\n<tr>\n<td>data.supplier_name</td>\n<td><code>string</code> The name of the supplier associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.supplier_address</td>\n<td><code>string</code> The address of the supplier associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_status</td>\n<td><code>string</code> The status of the purchase order.</td>\n</tr>\n<tr>\n<td>data.po_image_url</td>\n<td><code>string</code> The URL of the image associated with the purchase order.</td>\n</tr>\n<tr>\n<td>data.is_canceled</td>\n<td><code>boolean</code> Indicates whether the purchase order is canceled or not.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The timestamp when the purchase order was created.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The user or system who created the purchase order.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>string</code> The timestamp when the purchase order was last modified.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>string</code> The user or system who last modified the purchase order.</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the purchase order.</td>\n</tr>\n<tr>\n<td>data.reason_detail</td>\n<td><code>string</code> The reason detail for canceling the purchase order.</td>\n</tr>\n<tr>\n<td>data.reason_category</td>\n<td><code>string</code> The category of the reason for canceling the purchase order.</td>\n</tr>\n<tr>\n<td>data.supporting_document</td>\n<td><code>string</code> The URL of the supporting document associated with the purchase order.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","purchase-order","7","cancel"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"05e75126-ca37-48c8-8f9c-7463f53fc4d1","name":"Success Cancel","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"cancel_reason_detail\": \"Tidak jadi beli\",\r\n  \"cancel_reason_category\": \"Others\",\r\n  \"cancel_supporting_document\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order/7/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Wed, 17 May 2023 04:27:29 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"43f-Bu0W498gxIOpFG0WPQ1r1RhC1lE\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"74","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"po_id\": 7,\n        \"po_no\": \"PO-000000001\",\n        \"customer_id\": null,\n        \"sales_order_category_id\": 2,\n        \"sales_order_id\": null,\n        \"sales_order_no\": null,\n        \"platform_sales_order_no\": null,\n        \"invoice_no\": null,\n        \"invoice_image_url\": null,\n        \"po_category_name\": \"Prekursor\",\n        \"po_file_upload\": null,\n        \"customer_code\": null,\n        \"customer_name\": null,\n        \"customer_address\": null,\n        \"sia_no\": null,\n        \"apj_name\": null,\n        \"po_date\": \"2023-05-16T09:37:54.802Z\",\n        \"is_approve\": false,\n        \"payment_method\": \"cod\",\n        \"supplier_name\": \"PT Global Logistik Medika\",\n        \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n        \"po_status\": \"cancelled\",\n        \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n        \"is_canceled\": true,\n        \"created_time\": \"2023-05-16T09:37:54.808Z\",\n        \"created_by\": \"SYSTEM\",\n        \"last_modified_time\": \"2023-05-17T04:27:29.407Z\",\n        \"last_modified_by\": \"System\",\n        \"time_stamp\": \"2023-05-17T04:27:29.407Z\",\n        \"reason_detail\": \"Tidak jadi beli\",\n        \"reason_category\": \"Others\",\n        \"supporting_document\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\n    }\n}"}],"_postman_id":"af62e7cf-50a7-4701-a6a9-98b785ba9960"},{"name":"Request OTP","event":[{"listen":"test","script":{"id":"39d4ffc5-0c75-48b8-a00b-01f3536dd678","exec":[""],"type":"text/javascript","packages":{}}}],"id":"8edbbbb3-d296-4a13-9eb2-d09529ad03eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{BASE_URL}}/v1/purchase-order/255/otp-request","description":"<p>Gets information about a collection. For a complete list of this endpoint's possible values, use the <a href=\"https://schema.postman.com/json/collection/v2.1.0/collection.json\">collection.json schema file</a>.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","purchase-order","255","otp-request"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c7a2019c-b385-4628-8780-3e63c27d6829","name":"Success Request OTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{BASE_URL}}/v1/purchase-order/40/otp-request"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Mon, 05 Jun 2023 03:58:53 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"46","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"2e-KFGzhMgrN6dI1Lo7cwFhxWJhNVM\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"119","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": null\n}"},{"id":"2d922ab3-e398-4e62-be6a-2582eaa82f81","name":"Resend OTP Not Allowed (Too Much Request)","originalRequest":{"method":"POST","header":[],"url":"{{BASE_URL}}/v1/purchase-order/255/otp-request"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 16 Jun 2023 09:07:23 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"71","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"47-Lja7kUjmDpwT/TCLyL4HsJHYmSM\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"61","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Cannot Resend OTP\",\n    \"error\": \"Bad Request\",\n    \"status_code\": 400\n}"}],"_postman_id":"8edbbbb3-d296-4a13-9eb2-d09529ad03eb"},{"name":"Validate OTP","event":[{"listen":"test","script":{"id":"39d4ffc5-0c75-48b8-a00b-01f3536dd678","exec":[""],"type":"text/javascript"}}],"id":"b13cb15c-508a-4ee6-895a-a95b2d1f5c28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"otpCode\": \"4008\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order/255/otp-validate","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> HTTP status code indicating the success or failure of the request.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> A descriptive message providing additional information about the request status.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>object</code> An object containing the purchase order and sales order details</td>\n</tr>\n<tr>\n<td>data.purchase_order.po_id</td>\n<td><code>integer</code> ID of the purchase order</td>\n</tr>\n<tr>\n<td>data.purchase_order.po_no</td>\n<td><code>string</code> Purchase order number</td>\n</tr>\n<tr>\n<td>data.purchase_order.customer_id</td>\n<td><code>integer</code> ID of the customer</td>\n</tr>\n<tr>\n<td>data.purchase_order.sales_order_category_id</td>\n<td><code>integer</code> ID of the sales order category</td>\n</tr>\n<tr>\n<td>data.purchase_order.invoice_no</td>\n<td><code>string</code> Invoice number</td>\n</tr>\n<tr>\n<td>data.purchase_order.invoice_image_url</td>\n<td><code>string</code> URL of the invoice image</td>\n</tr>\n<tr>\n<td>data.purchase_order.po_category_name</td>\n<td><code>string</code> Name of the purchase order category</td>\n</tr>\n<tr>\n<td>data.purchase_order.po_file_upload</td>\n<td><code>string</code> URL of the uploaded purchase order file</td>\n</tr>\n<tr>\n<td>data.purchase_order.customer_code</td>\n<td><code>string</code> Code of the customer</td>\n</tr>\n<tr>\n<td>data.purchase_order.customer_name</td>\n<td><code>string</code> Name of the customer</td>\n</tr>\n<tr>\n<td>data.purchase_order.customer_address</td>\n<td><code>string</code> Address of the customer</td>\n</tr>\n<tr>\n<td>data.purchase_order.sia_no</td>\n<td><code>string</code> SIA number</td>\n</tr>\n<tr>\n<td>data.purchase_order.apj_name</td>\n<td><code>string</code> Name of the APJ</td>\n</tr>\n<tr>\n<td>data.purchase_order.po_date</td>\n<td><code>string</code> Date and time of the purchase order in ISO 8601 format</td>\n</tr>\n<tr>\n<td>data.purchase_order.is_approve</td>\n<td><code>boolean</code> Indicates whether the purchase order is approved or not</td>\n</tr>\n<tr>\n<td>data.purchase_order.payment_method</td>\n<td><code>string</code> Payment method for the purchase order</td>\n</tr>\n<tr>\n<td>data.purchase_order.supplier_name</td>\n<td><code>string</code> Name of the supplier</td>\n</tr>\n<tr>\n<td>data.purchase_order.supplier_address</td>\n<td><code>string</code> Address of the supplier</td>\n</tr>\n<tr>\n<td>data.purchase_order.po_status</td>\n<td><code>string</code> Status of the purchase order</td>\n</tr>\n<tr>\n<td>data.purchase_order.po_image_url</td>\n<td><code>string</code> URL of the purchase order image</td>\n</tr>\n<tr>\n<td>data.purchase_order.is_canceled</td>\n<td><code>boolean</code> Indicates whether the purchase order is canceled or not</td>\n</tr>\n<tr>\n<td>data.purchase_order.created_time</td>\n<td><code>string</code> Date and time when the purchase order was created in ISO 8601 format</td>\n</tr>\n<tr>\n<td>data.purchase_order.created_by</td>\n<td><code>string</code> User or system who created the purchase order</td>\n</tr>\n<tr>\n<td>data.purchase_order.last_modified_time</td>\n<td><code>string</code> Date and time when the purchase order was last modified in ISO 8601 format</td>\n</tr>\n<tr>\n<td>data.purchase_order.last_modified_by</td>\n<td><code>null</code> or <code>string</code> User or system who last modified the purchase order</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","purchase-order","255","otp-validate"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"586cd2ba-5625-43ff-848f-9b6ce911e44f","name":"Success Validate OTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"otpCode\": \"4008\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/purchase-order/255/otp-validate"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 16 Jun 2023 09:08:29 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"2795","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"aeb-bbST86/d3jsG1XNCnR6HNf+ZgKU\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"475","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"purchase_order\": {\n            \"po_id\": 255,\n            \"po_no\": \"PO-000000255\",\n            \"customer_id\": 121,\n            \"sales_order_category_id\": 3,\n            \"invoice_no\": \"[auto]\",\n            \"invoice_image_url\": null,\n            \"po_category_name\": \"Prekursor\",\n            \"po_file_upload\": null,\n            \"customer_code\": \"AP00026\",\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_address\": \"Jalan mana aja\",\n            \"sia_no\": \"123123\",\n            \"apj_name\": \"string\",\n            \"po_date\": \"2023-06-16T08:52:48.439Z\",\n            \"is_approve\": false,\n            \"payment_method\": \"cod\",\n            \"supplier_name\": \"PT Global Logistik Medika\",\n            \"supplier_address\": \"Ruko Palmyra Square 25A No.30-31 Lt. 2-3 Serpong Tangerang\",\n            \"po_status\": \"waiting_for_approval\",\n            \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n            \"is_canceled\": false,\n            \"created_time\": \"2023-06-16T08:52:48.447Z\",\n            \"created_by\": \"SYSTEM\",\n            \"last_modified_time\": \"2023-06-16T09:08:29.910Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-16T09:08:29.910Z\",\n            \"reason_detail\": null,\n            \"reason_category\": null,\n            \"supporting_document\": null\n        },\n        \"sales_order\": {\n            \"sales_order_id\": 1162,\n            \"sales_order_no\": \"OMS-SO-000001162\",\n            \"parent_sales_order_id\": null,\n            \"parent_sales_order_no\": null,\n            \"location_id\": 5,\n            \"po_id\": 255,\n            \"location_name\": \"Cakung\",\n            \"salesman_id\": 1,\n            \"salesman_code\": \"Sales00020\",\n            \"salesman_name\": \"Hayal Nurciptas\",\n            \"category_code\": \"SOC0003\",\n            \"category_name\": \"Prekursor\",\n            \"platform_sales_order_no\": \"[auto]\",\n            \"customer_po_no\": \"PO-000000255\",\n            \"invoice_no\": \"[auto]\",\n            \"invoice_url\": null,\n            \"status\": \"draft\",\n            \"platform_so_status\": \"Draft\",\n            \"sales_order_date\": \"2023-06-16T09:08:30.000Z\",\n            \"subtotal\": 10000,\n            \"discount\": 0,\n            \"vat_rate\": \"11\",\n            \"vat_amount\": 1100,\n            \"total\": 11100,\n            \"notes\": null,\n            \"created_time\": \"2023-06-16T09:08:29.646Z\",\n            \"created_by\": \"System\",\n            \"last_modified_time\": null,\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-16T09:08:29.823Z\",\n            \"sales_order_customer\": {\n                \"sales_order_customer_id\": 1122,\n                \"customer_id\": 121,\n                \"customer_code\": \"AP00026\",\n                \"customer_name\": \"testing adhis PO baru\",\n                \"recipient_id\": 121,\n                \"sub_district_id\": 2,\n                \"recipient_name\": \"testing adhis PO baru\",\n                \"recipient_phone_no\": \"+62800999123\",\n                \"recipient_address\": \"Jalan mana aja\",\n                \"province\": \"ACEH\",\n                \"province_code\": \"11\",\n                \"city\": \"KAB. ACEH SELATAN\",\n                \"city_code\": \"11.01\",\n                \"district\": \"Bakongan\",\n                \"district_code\": \"11.01.01\",\n                \"sub_district\": \"Ujong Mangki\",\n                \"sub_district_code\": \"11.01.01.2002\",\n                \"postal_code\": \"23773\"\n            },\n            \"sales_order_products\": [\n                {\n                    \"sales_order_product_id\": 1146,\n                    \"sku\": \"ERGMTRNPRKSR\",\n                    \"product_id\": 8070,\n                    \"item_no\": 0,\n                    \"product_name\": \"ERGOMETRIN\",\n                    \"qty\": 1,\n                    \"product_unit\": null,\n                    \"hna\": 10000,\n                    \"sales_order_discount_products\": [\n                        {\n                            \"sales_order_discount_product_id\": 1202,\n                            \"sales_order_product_id\": 1146,\n                            \"sales_order_no\": \"OMS-SO-000001162\",\n                            \"sku\": \"ERGMTRNPRKSR\",\n                            \"discount_item_no\": 1,\n                            \"discount_sku_id\": null,\n                            \"discount_sku_value\": 0,\n                            \"discount_sku_measure\": \"persen\",\n                            \"discount_amount\": 0,\n                            \"subtotal\": 10000,\n                            \"note\": null\n                        }\n                    ]\n                }\n            ],\n            \"log_sales_order\": []\n        }\n    }\n}"}],"_postman_id":"b13cb15c-508a-4ee6-895a-a95b2d1f5c28"}],"id":"8b898850-2c4e-41db-a0a4-a99a987560f3","description":"<p>In Purchase Order API, there is several flow need to be done before the order is verified and go to the approval state of our system.</p>\n<h2 id=\"submitting-purchase-order\">Submitting Purchase Order</h2>\n<p>The detailed workflow of submitting a purchase order is as on <a href=\"https://lh3.googleusercontent.com/drive-viewer/AFGJ81r83cr2B8ELmcPJiS8ZqzEQmB7cbI4T_pletiEccfxS-cou5D6Q2mQQ-rtqxjT2NlfLMapPNhf3k6hb_A9xm_yofMEAmA=s5000\">this diagram</a>.</p>\n<p>After you have submitted your purchase order using <a href=\"https://api-docs.tetama.id/#b3f2720f-572a-4177-a2ca-69e358725599\">Create Purchase Order endpoint</a>, you will get response attribute called <code>is_customer_exists</code>. If this value is <code>false</code>, then it means the customer data should be completed first using the <a href=\"https://api-docs.tetama.id/#8d701ad4-c51f-4de6-a2ac-c03257e66bf4\">Create Customer by Purchase Order endpoint</a> before proceeding to Validate OTP flow.</p>\n<p>After customer is successfully created or <code>is_customer_exists</code> field has value <code>true</code>, we can proceed to hit <a href=\"https://api-docs.tetama.id/#8edbbbb3-d296-4a13-9eb2-d09529ad03eb\">Request OTP endpoint</a> for verification purposes. This OTP will send via WhatsApp to the APJ Number that is registered on that customer. Once APJ recieves the OTP number, we can proceed to hit <a href=\"https://api-docs.tetama.id/#b13cb15c-508a-4ee6-895a-a95b2d1f5c28\">Validate OTP endpoint</a> to verify the OTP.</p>\n<p>Once OTP is verified, Tetama will automatically create Sales Orders that will be processed on our internal systems.</p>\n","_postman_id":"8b898850-2c4e-41db-a0a4-a99a987560f3","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}}},{"name":"Sales Order","item":[{"name":"Get Sales Order List","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"e7437173-56db-494a-a8a5-550c4eef4e1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/sales-order?page=1&limit=10","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>count</td>\n<td><code>number</code> The total count of sales orders in the response.</td>\n</tr>\n<tr>\n<td>limit</td>\n<td><code>number</code> The maximum number of sales orders returned per page.</td>\n</tr>\n<tr>\n<td>page</td>\n<td><code>number</code> The current page number.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>array</code> An array of sales order objects.</td>\n</tr>\n<tr>\n<td>data[].sales_order_id</td>\n<td><code>number</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>data[].sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data[].parent_sales_order_id</td>\n<td><code>number/null</code> The ID of the parent sales order, if available.</td>\n</tr>\n<tr>\n<td>data[].parent_sales_order_no</td>\n<td><code>string/null</code> The parent sales order number, if available.</td>\n</tr>\n<tr>\n<td>data[].location_id</td>\n<td><code>number</code> The ID of the location.</td>\n</tr>\n<tr>\n<td>data[].po_id</td>\n<td><code>number</code> The ID of the purchase order associated with the sales order.</td>\n</tr>\n<tr>\n<td>data[].location_name</td>\n<td><code>string</code> The name of the location.</td>\n</tr>\n<tr>\n<td>data[].platform_sales_order_no</td>\n<td><code>string</code> The platform sales order number.</td>\n</tr>\n<tr>\n<td>data[].customer_po_no</td>\n<td><code>string</code> The customer's purchase order number.</td>\n</tr>\n<tr>\n<td>data[].invoice_no</td>\n<td><code>string</code> The invoice number.</td>\n</tr>\n<tr>\n<td>data[].status</td>\n<td><code>string</code> The status of the sales order.</td>\n</tr>\n<tr>\n<td>data[].platform_so_status</td>\n<td><code>string</code> The status of the sales order on the platform.</td>\n</tr>\n<tr>\n<td>data[].sales_order_date</td>\n<td><code>string</code> The date and time when the sales order was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data[].subtotal</td>\n<td><code>number</code> The subtotal of the sales order.</td>\n</tr>\n<tr>\n<td>data[].discount</td>\n<td><code>number</code> The discount applied to the sales order.</td>\n</tr>\n<tr>\n<td>data[].vat_rate</td>\n<td><code>string</code> The VAT (Value Added Tax) rate applied to the sales order.</td>\n</tr>\n<tr>\n<td>data[].vat_amount</td>\n<td><code>number</code> The VAT amount of the sales order.</td>\n</tr>\n<tr>\n<td>data[].total</td>\n<td><code>number</code> The total amount of the sales order.</td>\n</tr>\n<tr>\n<td>data[].created_time</td>\n<td><code>string</code> The date and time when the sales order was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data[].created_by</td>\n<td><code>string</code> The user who created the sales order.</td>\n</tr>\n<tr>\n<td>data[].last_modified_time</td>\n<td><code>string/null</code> The date and time when the sales order was last modified in ISO 8601 format, if available.</td>\n</tr>\n<tr>\n<td>data[].last_modified_by</td>\n<td><code>string/null</code> The user who last modified the sales order, if available.</td>\n</tr>\n<tr>\n<td>data[].time_stamp</td>\n<td><code>string</code> The timestamp of the sales order in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>data[].sales_order_customer</td>\n<td><code>object</code> Additional information about the customer associated with the sales order:</td>\n</tr>\n<tr>\n<td>data[].sales_order_customer.customer_id</td>\n<td><code>number</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data[].sales_order_customer.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data[].sales_order_customer.customer_name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","sales-order"],"host":["{{BASE_URL}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[{"id":"2f9a0f6d-0f43-4cd7-92b5-27707978f703","name":"Get Sales Order List","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{BASE_URL}}/v1/sales-order?page=1&limit=10","host":["{{BASE_URL}}"],"path":["v1","sales-order"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 25 Aug 2023 03:18:27 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Content-Length","value":"640","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"vary","value":"Accept-Encoding","enabled":true},{"key":"access-control-allow-origin","value":"*, *","enabled":true},{"key":"etag","value":"W/\"c8a-jiJ9HRODCFoQJeJJWr8k+3m8AMc\"","enabled":true},{"key":"x-content-type-options","value":"nosniff","enabled":true},{"key":"x-frame-options","value":"SAMEORIGIN","enabled":true},{"key":"x-xss-protection","value":"1; mode=block","enabled":true},{"key":"content-encoding","value":"gzip","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 4,\n    \"limit\": 10,\n    \"page\": 1,\n    \"data\": [\n        {\n            \"sales_order_id\": 1580,\n            \"sales_order_no\": \"OMS-SO-000001580\",\n            \"parent_sales_order_id\": null,\n            \"parent_sales_order_no\": null,\n            \"location_id\": 12,\n            \"po_id\": 663,\n            \"location_name\": \"Alam Sutera\",\n            \"platform_sales_order_no\": \"SO-000004278\",\n            \"customer_po_no\": \"PO-000000258\",\n            \"invoice_no\": \"INV-000000838\",\n            \"status\": \"submitted\",\n            \"platform_so_status\": \"Terkirim\",\n            \"sales_order_date\": \"2023-08-24 15:52:16\",\n            \"subtotal\": 918890,\n            \"discount\": 0,\n            \"vat_rate\": \"11\",\n            \"vat_amount\": 101077.9,\n            \"total\": 1019967.9,\n            \"created_time\": \"2023-08-24 15:52:15\",\n            \"created_by\": \"System\",\n            \"last_modified_time\": \"2023-08-25 10:10:29\",\n            \"last_modified_by\": \"Adhis\",\n            \"time_stamp\": \"2023-08-25 10:10:29\",\n            \"payment_method\": \"term_14_days\",\n            \"courier\": \"-\",\n            \"tracking_no\": \"-\",\n            \"shipping_date\": \"-\",\n            \"sales_order_customer\": {\n                \"customer_id\": 10002,\n                \"customer_code\": \"AP10002\",\n                \"customer_name\": \"AFFAN X DWI TESTING\"\n            }\n        },\n        {\n            \"sales_order_id\": 1579,\n            \"sales_order_no\": \"OMS-SO-000001579\",\n            \"parent_sales_order_id\": null,\n            \"parent_sales_order_no\": null,\n            \"location_id\": 12,\n            \"po_id\": 662,\n            \"location_name\": \"Alam Sutera\",\n            \"platform_sales_order_no\": \"[auto]\",\n            \"customer_po_no\": \"PO-000000257\",\n            \"invoice_no\": \"[auto]\",\n            \"status\": \"draft\",\n            \"platform_so_status\": \"Draft\",\n            \"sales_order_date\": \"2023-08-24 15:24:22\",\n            \"subtotal\": 918890,\n            \"discount\": 0,\n            \"vat_rate\": \"11\",\n            \"vat_amount\": 101077.9,\n            \"total\": 1019967.9,\n            \"created_time\": \"2023-08-24 15:24:21\",\n            \"created_by\": \"System\",\n            \"last_modified_time\": null,\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-08-24 15:24:22\",\n            \"payment_method\": \"term_14_days\",\n            \"courier\": \"-\",\n            \"tracking_no\": \"-\",\n            \"shipping_date\": \"-\",\n            \"sales_order_customer\": {\n                \"customer_id\": 10002,\n                \"customer_code\": \"AP10002\",\n                \"customer_name\": \"AFFAN X DWI TESTING\"\n            }\n        },\n        {\n            \"sales_order_id\": 1566,\n            \"sales_order_no\": \"OMS-SO-000001566\",\n            \"parent_sales_order_id\": null,\n            \"parent_sales_order_no\": null,\n            \"location_id\": 12,\n            \"po_id\": 657,\n            \"location_name\": \"Alam Sutera\",\n            \"platform_sales_order_no\": \"[auto]\",\n            \"customer_po_no\": \"PO-000000252\",\n            \"invoice_no\": \"[auto]\",\n            \"status\": \"draft\",\n            \"platform_so_status\": \"Draft\",\n            \"sales_order_date\": \"2023-08-23 09:53:42\",\n            \"subtotal\": 105000,\n            \"discount\": 0,\n            \"vat_rate\": \"11\",\n            \"vat_amount\": 11550,\n            \"total\": 116550,\n            \"created_time\": \"2023-08-23 09:53:41\",\n            \"created_by\": \"System\",\n            \"last_modified_time\": \"2023-08-23 09:53:43\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-08-23 09:53:43\",\n            \"payment_method\": \"term_14_days\",\n            \"courier\": \"-\",\n            \"tracking_no\": \"-\",\n            \"shipping_date\": \"-\",\n            \"sales_order_customer\": {\n                \"customer_id\": 10002,\n                \"customer_code\": \"AP10002\",\n                \"customer_name\": \"AFFAN X DWI TESTING\"\n            }\n        },\n        {\n            \"sales_order_id\": 1565,\n            \"sales_order_no\": \"OMS-SO-000001565\",\n            \"parent_sales_order_id\": null,\n            \"parent_sales_order_no\": null,\n            \"location_id\": 12,\n            \"po_id\": 654,\n            \"location_name\": \"Alam Sutera\",\n            \"platform_sales_order_no\": \"[auto]\",\n            \"customer_po_no\": \"PO-000000249\",\n            \"invoice_no\": \"[auto]\",\n            \"status\": \"draft\",\n            \"platform_so_status\": \"Draft\",\n            \"sales_order_date\": \"2023-08-23 09:51:18\",\n            \"subtotal\": 105000,\n            \"discount\": 0,\n            \"vat_rate\": \"11\",\n            \"vat_amount\": 11550,\n            \"total\": 116550,\n            \"created_time\": \"2023-08-23 09:51:18\",\n            \"created_by\": \"System\",\n            \"last_modified_time\": \"2023-08-23 09:51:19\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-08-23 09:51:19\",\n            \"payment_method\": \"term_14_days\",\n            \"courier\": \"-\",\n            \"tracking_no\": \"-\",\n            \"shipping_date\": \"-\",\n            \"sales_order_customer\": {\n                \"customer_id\": 10004,\n                \"customer_code\": \"AP10004\",\n                \"customer_name\": \"APOTIK TESTING PROD\"\n            }\n        }\n    ]\n}"}],"_postman_id":"e7437173-56db-494a-a8a5-550c4eef4e1a"},{"name":"Get Sales Order Detail","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"18485239-d81a-413a-a79f-932ef9e5885e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/sales-order/2010","description":"<h3 id=\"response-description\">Response Description</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sales_order_id</td>\n<td><code>number</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>parent_sales_order_id</td>\n<td><code>null</code> or <code>number</code> The ID of the parent sales order, if available.</td>\n</tr>\n<tr>\n<td>parent_sales_order_no</td>\n<td><code>null</code> or <code>string</code> The parent sales order number, if available.</td>\n</tr>\n<tr>\n<td>location_id</td>\n<td><code>number</code> The ID of the location.</td>\n</tr>\n<tr>\n<td>po_id</td>\n<td><code>number</code> The ID of the purchase order associated with the sales order.</td>\n</tr>\n<tr>\n<td>location_name</td>\n<td><code>string</code> The name of the location.</td>\n</tr>\n<tr>\n<td>salesman_id</td>\n<td><code>number</code> The ID of the salesman.</td>\n</tr>\n<tr>\n<td>salesman_code</td>\n<td><code>string</code> The code of the salesman.</td>\n</tr>\n<tr>\n<td>salesman_name</td>\n<td><code>string</code> The name of the salesman.</td>\n</tr>\n<tr>\n<td>category_code</td>\n<td><code>string</code> The code of the sales order category.</td>\n</tr>\n<tr>\n<td>category_name</td>\n<td><code>string</code> The name of the sales order category.</td>\n</tr>\n<tr>\n<td>platform_sales_order_no</td>\n<td><code>string</code> The platform sales order number.</td>\n</tr>\n<tr>\n<td>customer_po_no</td>\n<td><code>string</code> The customer's purchase order number.</td>\n</tr>\n<tr>\n<td>invoice_no</td>\n<td><code>string</code> The invoice number.</td>\n</tr>\n<tr>\n<td>invoice_url</td>\n<td><code>null</code> or <code>string</code> The URL of the invoice, if available.</td>\n</tr>\n<tr>\n<td>status</td>\n<td><code>string</code> The status of the sales order.</td>\n</tr>\n<tr>\n<td>platform_so_status</td>\n<td><code>string</code> The status of the sales order on the platform.</td>\n</tr>\n<tr>\n<td>sales_order_date</td>\n<td><code>string</code> The date and time when the sales order was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>subtotal</td>\n<td><code>number</code> The subtotal of the sales order.</td>\n</tr>\n<tr>\n<td>discount</td>\n<td><code>number</code> The discount applied to the sales order.</td>\n</tr>\n<tr>\n<td>vat_rate</td>\n<td><code>string</code> The VAT (Value Added Tax) rate applied to the sales order.</td>\n</tr>\n<tr>\n<td>vat_amount</td>\n<td><code>number</code> The VAT amount of the sales order.</td>\n</tr>\n<tr>\n<td>total</td>\n<td><code>number</code> The total amount of the sales order.</td>\n</tr>\n<tr>\n<td>notes</td>\n<td><code>null</code> or <code>string</code> Additional notes about the sales order.</td>\n</tr>\n<tr>\n<td>created_time</td>\n<td><code>string</code> The date and time when the sales order was created in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>created_by</td>\n<td><code>string</code> The user who created the sales order.</td>\n</tr>\n<tr>\n<td>last_modified_time</td>\n<td><code>null</code> or <code>string</code> The date and time when the sales order was last modified in ISO 8601 format, if available.</td>\n</tr>\n<tr>\n<td>last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the sales order, if available.</td>\n</tr>\n<tr>\n<td>time_stamp</td>\n<td><code>string</code> The timestamp of the sales order in ISO 8601 format.</td>\n</tr>\n<tr>\n<td>sales_order_customer.sales_order_customer_id</td>\n<td><code>number</code> The ID of the sales order customer.</td>\n</tr>\n<tr>\n<td>sales_order_customer.customer_id</td>\n<td><code>number</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>sales_order_customer.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>sales_order_customer.customer_name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n<tr>\n<td>sales_order_customer.recipient_id</td>\n<td><code>number</code> The ID of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_customer.sub_district_id</td>\n<td><code>number</code> The ID of the sub-district.</td>\n</tr>\n<tr>\n<td>sales_order_customer.recipient_name</td>\n<td><code>string</code> The name of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_customer.recipient_phone_no</td>\n<td><code>string</code> The phone number of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_customer.recipient_address</td>\n<td><code>string</code> The address of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_customer.province</td>\n<td><code>string</code> The province of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_customer.province_code</td>\n<td><code>string</code> The code of the province.</td>\n</tr>\n<tr>\n<td>sales_order_customer.city</td>\n<td><code>string</code> The city of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_customer.city_code</td>\n<td><code>string</code> The code of the city.</td>\n</tr>\n<tr>\n<td>sales_order_customer.district</td>\n<td><code>string</code> The district of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_customer.district_code</td>\n<td><code>string</code> The code of the district.</td>\n</tr>\n<tr>\n<td>sales_order_customer.sub_district</td>\n<td><code>string</code> The sub-district of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_customer.sub_district_code</td>\n<td><code>string</code> The code of the sub-district.</td>\n</tr>\n<tr>\n<td>sales_order_customer.postal_code</td>\n<td><code>string</code> The postal code of the recipient.</td>\n</tr>\n<tr>\n<td>sales_order_products</td>\n<td><code>array</code> An array of sales order product objects.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_product_id</td>\n<td><code>number</code> The ID of the sales order product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].product_id</td>\n<td><code>number</code> The ID of the product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].item_no</td>\n<td><code>number</code> The item number of the product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].product_name</td>\n<td><code>string</code> The name of the product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].qty</td>\n<td><code>number</code> The quantity of the product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].product_unit</td>\n<td><code>null</code> or <code>string</code> The unit of the product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].hna</td>\n<td><code>number</code> The HNA (Harga Netto Agen) of the product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products</td>\n<td><code>array</code> An array of sales order discount product objects.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].sales_order_discount_product_id</td>\n<td><code>number</code> The ID of the sales order discount product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].sales_order_product_id</td>\n<td><code>number</code> The ID of the sales order product to which the discount is applied.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].discount_item_no</td>\n<td><code>number</code> The item number of the discount product.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].discount_sku_id</td>\n<td><code>null</code> or <code>string</code> The ID of the discount SKU, if available.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].discount_sku_value</td>\n<td><code>number</code> The value of the discount SKU.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].discount_sku_measure</td>\n<td><code>string</code> The measurement unit of the discount SKU.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].discount_amount</td>\n<td><code>number</code> The amount of the discount.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].subtotal</td>\n<td><code>number</code> The subtotal after applying the discount.</td>\n</tr>\n<tr>\n<td>sales_order_products[].sales_order_discount_products[].note</td>\n<td><code>null</code> or <code>string</code> Additional notes about the discount.</td>\n</tr>\n<tr>\n<td>log_sales_order</td>\n<td><code>array</code> An array of log sales order objects.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","sales-order","2010"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a362cfbb-3899-4dc7-8958-ef7f67a22966","name":"Get Sales Order Detail","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/sales-order/2010"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 08 Dec 2023 04:21:58 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"c7f-pIfnqf/h1W7aUbpnuaDts7hrcbg\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"sales_order_id\": 2010,\n        \"sales_order_no\": \"OMS-SO-000002010\",\n        \"parent_sales_order_id\": null,\n        \"parent_sales_order_no\": null,\n        \"location_id\": 4,\n        \"po_id\": 78,\n        \"location_name\": \"Alam Sutera\",\n        \"salesman_id\": 1,\n        \"salesman_code\": \"Sales00020\",\n        \"salesman_name\": \"Hayal Nurciptas\",\n        \"platform_sales_order_no\": \"[auto]\",\n        \"customer_po_no\": \"PO-000000076\",\n        \"category_code\": \"SOC0001\",\n        \"category_name\": \"Reguler\",\n        \"invoice_no\": \"[auto]\",\n        \"source\": \"OpenAPI\",\n        \"partner\": \"Partner OTP naza\",\n        \"partner_id\": null,\n        \"status\": \"draft\",\n        \"platform_so_status\": \"Draft\",\n        \"po_file_upload\": null,\n        \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/purchase-order/document/2023/10/26/PO-DIGITAL-PO-000000076-1698289115.pdf\",\n        \"sales_order_date\": \"2023-10-26 09:58:35\",\n        \"subtotal\": 124375,\n        \"discount\": 0,\n        \"vat_rate\": \"11\",\n        \"vat_amount\": 13681.25,\n        \"total\": 138056.25,\n        \"notes\": null,\n        \"created_time\": \"2023-10-26 09:58:35\",\n        \"created_by\": \"System\",\n        \"last_modified_time\": \"2023-10-26 09:58:37\",\n        \"last_modified_by\": null,\n        \"time_stamp\": \"2023-10-26 09:58:37\",\n        \"po_time\": \"2023-10-26 09:58:35\",\n        \"draft_time\": \"2023-10-26 09:58:35\",\n        \"submit_time\": null,\n        \"submit_defecta_time\": null,\n        \"edit_defecta_time\": null,\n        \"first_modified_time\": null,\n        \"edit_time\": null,\n        \"delivery_order_no\": null,\n        \"courier_id\": null,\n        \"courier_name\": \"-\",\n        \"tracking_no\": \"-\",\n        \"shipping_date\": \"-\",\n        \"invoice_date\": null,\n        \"customer_status\": \"Active\",\n        \"sales_order_customer\": {\n            \"sales_order_customer_id\": 1964,\n            \"customer_id\": 10003,\n            \"customer_name\": \"NAZA BEAUTY CLINIC\",\n            \"customer_code\": \"MT10003\",\n            \"recipient_id\": 10003,\n            \"recipient_name\": \"NAZA BEAUTY CLINIC\",\n            \"recipient_phone_no\": \"+628158864004\",\n            \"recipient_address\": \"JL. METRO JAYA RAYA NO. 4\",\n            \"sub_district_id\": 27123,\n            \"sub_district_code\": \"32.05.01\",\n            \"province\": \"JAWA BARAT\",\n            \"province_code\": \"32\",\n            \"city\": \"KAB. GARUT\",\n            \"city_code\": \"32.05\",\n            \"district_code\": \"32.05.01\",\n            \"district\": \"GARUT KOTA\",\n            \"sub_district\": \"CIWALEN\",\n            \"postal_code\": \"44115\",\n            \"latitude\": null,\n            \"longitude\": null\n        },\n        \"sales_order_products\": [\n            {\n                \"sales_order_product_id\": 1819,\n                \"sku\": \"AFIS100623\",\n                \"product_id\": 3201,\n                \"item_no\": 0,\n                \"product_name\": \"28 Mei - Lifepack - Edit lagi Tes\",\n                \"qty\": 5,\n                \"product_unit\": \"Buah\",\n                \"hna\": 100,\n                \"sales_order_discount_products\": [\n                    {\n                        \"sales_order_discount_product_id\": 6861,\n                        \"sales_order_product_id\": 1819,\n                        \"sales_order_no\": \"OMS-SO-000002010\",\n                        \"sku\": \"AFIS100623\",\n                        \"discount_item_no\": 1,\n                        \"discount_sku_id\": null,\n                        \"discount_name\": null,\n                        \"discount_sku_value\": 0,\n                        \"discount_sku_measure\": \"Persen\",\n                        \"discount_amount\": 0,\n                        \"subtotal\": 500,\n                        \"note\": null,\n                        \"reff_id\": null,\n                        \"reff_code\": null,\n                        \"reff_discount_program\": null,\n                        \"reffable_type\": null\n                    }\n                ],\n                \"sales_order_product_batches\": []\n            },\n            {\n                \"sales_order_product_id\": 1820,\n                \"sku\": \"4001895928710\",\n                \"product_id\": 87,\n                \"item_no\": 1,\n                \"product_name\": \"3M TEGADERM FILM 10CMX25CM\",\n                \"qty\": 5,\n                \"product_unit\": \"PACK\",\n                \"hna\": 24775,\n                \"sales_order_discount_products\": [\n                    {\n                        \"sales_order_discount_product_id\": 6862,\n                        \"sales_order_product_id\": 1820,\n                        \"sales_order_no\": \"OMS-SO-000002010\",\n                        \"sku\": \"4001895928710\",\n                        \"discount_item_no\": 1,\n                        \"discount_sku_id\": null,\n                        \"discount_name\": null,\n                        \"discount_sku_value\": 0,\n                        \"discount_sku_measure\": \"Persen\",\n                        \"discount_amount\": 0,\n                        \"subtotal\": 123875,\n                        \"note\": null,\n                        \"reff_id\": null,\n                        \"reff_code\": null,\n                        \"reff_discount_program\": null,\n                        \"reffable_type\": null\n                    }\n                ],\n                \"sales_order_product_batches\": []\n            }\n        ],\n        \"log_sales_order\": [],\n        \"payment_method\": \"TOP\",\n        \"top\": 40\n    }\n}"}],"_postman_id":"18485239-d81a-413a-a79f-932ef9e5885e"},{"name":"Cancel Sales Order","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"d8fbb76a-dd9f-4aaa-ae63-3e0f01aad8bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"reason_detail\": \"Tidak jadi beli\",\r\n    \"supporting_document\": [\r\n        \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/sales-order/1162/cancel","description":"<h3 id=\"request-detail\">Request Detail</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reason_detail</td>\n<td><code>string</code> The detailed reason for the cancellation or change.</td>\n</tr>\n<tr>\n<td>supporting_document</td>\n<td><code>array</code> An array of URLs to supporting documents or images related to the cancellation or change.</td>\n</tr>\n<tr>\n<td>supporting_document[]</td>\n<td><code>string</code> A URL to a supporting document or image related to the cancellation or change.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-detail\">Response Detail</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> The message describing the status of the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>object</code> The main data object containing the sales order information.</td>\n</tr>\n<tr>\n<td>data.sales_order_id</td>\n<td><code>integer</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.parent_sales_order_id</td>\n<td><code>null</code> or <code>integer</code> The ID of the parent sales order, if applicable.</td>\n</tr>\n<tr>\n<td>data.parent_sales_order_no</td>\n<td><code>null</code> or <code>string</code> The number of the parent sales order, if applicable.</td>\n</tr>\n<tr>\n<td>data.location_id</td>\n<td><code>integer</code> The ID of the location.</td>\n</tr>\n<tr>\n<td>data.po_id</td>\n<td><code>integer</code> The ID of the purchase order associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.location_name</td>\n<td><code>string</code> The name of the location.</td>\n</tr>\n<tr>\n<td>data.salesman_id</td>\n<td><code>integer</code> The ID of the salesman associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.salesman_code</td>\n<td><code>string</code> The code of the salesman associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.salesman_name</td>\n<td><code>string</code> The name of the salesman associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.category_code</td>\n<td><code>string</code> The code of the category associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.category_name</td>\n<td><code>string</code> The name of the category associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.platform_sales_order_no</td>\n<td><code>string</code> The platform sales order number.</td>\n</tr>\n<tr>\n<td>data.customer_po_no</td>\n<td><code>string</code> The customer's purchase order number.</td>\n</tr>\n<tr>\n<td>data.invoice_no</td>\n<td><code>string</code> The invoice number.</td>\n</tr>\n<tr>\n<td>data.invoice_url</td>\n<td><code>null</code> or <code>string</code> The URL of the invoice, if available.</td>\n</tr>\n<tr>\n<td>data.status</td>\n<td><code>string</code> The status of the sales order.</td>\n</tr>\n<tr>\n<td>data.platform_so_status</td>\n<td><code>string</code> The status of the sales order on the platform.</td>\n</tr>\n<tr>\n<td>data.po_file_upload</td>\n<td><code>null</code> or <code>string</code> The uploaded file associated with the purchase order, if applicable.</td>\n</tr>\n<tr>\n<td>data.po_image_url</td>\n<td><code>null</code> or <code>string</code> The URL of the purchase order image, if available.</td>\n</tr>\n<tr>\n<td>data.sales_order_date</td>\n<td><code>string</code> The date of the sales order.</td>\n</tr>\n<tr>\n<td>data.subtotal</td>\n<td><code>number</code> The subtotal amount of the sales order.</td>\n</tr>\n<tr>\n<td>data.discount</td>\n<td><code>number</code> The discount amount of the sales order.</td>\n</tr>\n<tr>\n<td>data.vat_rate</td>\n<td><code>string</code> The VAT rate of the sales order.</td>\n</tr>\n<tr>\n<td>data.vat_amount</td>\n<td><code>number</code> The VAT amount of the sales order.</td>\n</tr>\n<tr>\n<td>data.total</td>\n<td><code>number</code> The total amount of the sales order.</td>\n</tr>\n<tr>\n<td>data.notes</td>\n<td><code>null</code> or <code>string</code> Additional notes or comments about the sales order.</td>\n</tr>\n<tr>\n<td>data.is_deleted</td>\n<td><code>boolean</code> Indicates whether the sales order is deleted or not.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The timestamp when the sales order was created.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The user who created the sales order.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>null</code> or <code>string</code> The timestamp of the last modification to the sales order.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the sales order.</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer</td>\n<td><code>object</code> The customer information associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sales_order_customer_id</td>\n<td><code>integer</code> The ID of the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sales_order_id</td>\n<td><code>integer</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.customer_id</td>\n<td><code>integer</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.recipient_id</td>\n<td><code>integer</code> The ID of the recipient.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sub_district_id</td>\n<td><code>integer</code> The ID of the sub-district.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.customer_name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.recipient_name</td>\n<td><code>string</code> The name of the recipient.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.recipient_phone_no</td>\n<td><code>string</code> The phone number of the recipient.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.recipient_address</td>\n<td><code>string</code> The address of the recipient.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.province</td>\n<td><code>string</code> The province of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.province_code</td>\n<td><code>string</code> The code of the province of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.city</td>\n<td><code>string</code> The city of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.city_code</td>\n<td><code>string</code> The code of the city of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.district</td>\n<td><code>string</code> The district of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.district_code</td>\n<td><code>string</code> The code of the district of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sub_district</td>\n<td><code>string</code> The sub-district of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sub_district_code</td>\n<td><code>string</code> The code of the sub-district of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.postal_code</td>\n<td><code>string</code> The postal code of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.is_deleted</td>\n<td><code>boolean</code> Indicates whether the sales order customer is deleted or not.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.created_time</td>\n<td><code>string</code> The timestamp when the sales order customer was created.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.created_by</td>\n<td><code>string</code> The user who created the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.last_modified_time</td>\n<td><code>string</code> The timestamp of the last modification to the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.time_stamp</td>\n<td><code>string</code> The timestamp of the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_products</td>\n<td><code>array</code> An array of product objects associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_product_id</td>\n<td><code>integer</code> The ID of the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_id</td>\n<td><code>integer</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].product_id</td>\n<td><code>integer</code> The ID of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].item_no</td>\n<td><code>integer</code> The item number of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].product_name</td>\n<td><code>string</code> The name of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].qty</td>\n<td><code>integer</code> The quantity of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].product_unit</td>\n<td><code>null</code> or <code>string</code> The unit of measurement for the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].hna</td>\n<td><code>number</code> The Harga Netto Akhir (HNA) or net price of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].is_deleted</td>\n<td><code>boolean</code> Indicates whether the sales order product is deleted or not.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].created_time</td>\n<td><code>string</code> The timestamp when the sales order product was created.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].created_by</td>\n<td><code>string</code> The user who created the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].last_modified_time</td>\n<td><code>string</code> The timestamp of the last modification to the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].time_stamp</td>\n<td><code>string</code> The timestamp of the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products</td>\n<td><code>array</code> An array of discount objects associated with the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].sales_order_discount_product_id</td>\n<td><code>integer</code> The ID of the sales order discount product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].sales_order_product_id</td>\n<td><code>integer</code> The ID of the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_item_no</td>\n<td><code>integer</code> The item number of the discount.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_sku_id</td>\n<td><code>null</code> or <code>integer</code> The ID of the discounted SKU, if applicable.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_sku_value</td>\n<td><code>number</code> The value of the discounted SKU.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_sku_measure</td>\n<td><code>string</code> The measurement unit of the discounted SKU.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_amount</td>\n<td><code>number</code> The discount amount.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].subtotal</td>\n<td><code>number</code> The subtotal amount after the discount.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].note</td>\n<td><code>null</code> or <code>string</code> Additional notes or comments about the discount.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","sales-order","1162","cancel"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"4cd35d8f-e959-4c99-9826-e3753982711c","name":"Cancel Sales Order","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"reason_detail\": \"Tidak jadi beli\",\r\n    \"supporting_document\": [\r\n        \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/sales-order/1162/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 16 Jun 2023 09:27:55 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"8b1-lj76+g7GE7M56hCt/Yr6AoGfmQ4\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"90","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"sales_order_id\": 1162,\n        \"sales_order_no\": \"OMS-SO-000001162\",\n        \"parent_sales_order_id\": null,\n        \"parent_sales_order_no\": null,\n        \"location_id\": 5,\n        \"po_id\": 255,\n        \"location_name\": \"Cakung\",\n        \"salesman_id\": 1,\n        \"salesman_code\": \"Sales00020\",\n        \"salesman_name\": \"Hayal Nurciptas\",\n        \"category_code\": \"SOC0003\",\n        \"category_name\": \"Prekursor\",\n        \"platform_sales_order_no\": \"[auto]\",\n        \"customer_po_no\": \"PO-000000255\",\n        \"invoice_no\": \"[auto]\",\n        \"invoice_url\": null,\n        \"status\": \"cancelled\",\n        \"platform_so_status\": \"Canceled\",\n        \"po_file_upload\": null,\n        \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n        \"sales_order_date\": \"2023-06-16T09:08:30.000Z\",\n        \"subtotal\": 10000,\n        \"discount\": 0,\n        \"vat_rate\": \"11\",\n        \"vat_amount\": 1100,\n        \"total\": 11100,\n        \"notes\": null,\n        \"is_deleted\": false,\n        \"created_time\": \"2023-06-16T09:08:29.646Z\",\n        \"created_by\": \"System\",\n        \"last_modified_time\": \"2023-06-16T09:27:55.578Z\",\n        \"last_modified_by\": \"Partner Faldy\",\n        \"time_stamp\": \"2023-06-16T09:27:55.578Z\",\n        \"sales_order_customer\": {\n            \"sales_order_customer_id\": 1122,\n            \"sales_order_no\": \"OMS-SO-000001162\",\n            \"sales_order_id\": 1162,\n            \"customer_id\": 121,\n            \"recipient_id\": 121,\n            \"sub_district_id\": 2,\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_code\": \"AP00026\",\n            \"recipient_name\": \"testing adhis PO baru\",\n            \"recipient_phone_no\": \"+62800999123\",\n            \"recipient_address\": \"Jalan mana aja\",\n            \"province\": \"ACEH\",\n            \"province_code\": \"11\",\n            \"city\": \"KAB. ACEH SELATAN\",\n            \"city_code\": \"11.01\",\n            \"district\": \"Bakongan\",\n            \"district_code\": \"11.01.01\",\n            \"sub_district\": \"Ujong Mangki\",\n            \"sub_district_code\": \"11.01.01.2002\",\n            \"postal_code\": \"23773\",\n            \"is_deleted\": false,\n            \"created_time\": \"2023-06-16T09:08:29.645Z\",\n            \"created_by\": \"System\",\n            \"last_modified_time\": \"2023-06-16T09:08:29.645Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-16T09:08:29.695Z\"\n        },\n        \"sales_order_products\": [\n            {\n                \"sales_order_product_id\": 1146,\n                \"sales_order_no\": \"OMS-SO-000001162\",\n                \"sku\": \"ERGMTRNPRKSR\",\n                \"sales_order_id\": 1162,\n                \"product_id\": 8070,\n                \"item_no\": 0,\n                \"product_name\": \"ERGOMETRIN\",\n                \"qty\": 1,\n                \"product_unit\": null,\n                \"hna\": 10000,\n                \"is_deleted\": false,\n                \"created_time\": \"2023-06-16T09:08:29.645Z\",\n                \"created_by\": \"System\",\n                \"last_modified_time\": \"2023-06-16T09:08:29.645Z\",\n                \"last_modified_by\": null,\n                \"time_stamp\": \"2023-06-16T09:08:29.781Z\",\n                \"sales_order_discount_products\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"d8fbb76a-dd9f-4aaa-ae63-3e0f01aad8bc"},{"name":"Complete Sales Order","event":[{"listen":"test","script":{"id":"c00a15e9-4025-4170-bff1-c201d5fde889","exec":[""],"type":"text/javascript"}}],"id":"aef039ab-7a27-4da9-9c19-058035f61f39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/sales-order/1162/complete","description":"<h3 id=\"response-detail\">Response Detail</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status_code</td>\n<td><code>integer</code> The status code of the response.</td>\n</tr>\n<tr>\n<td>message</td>\n<td><code>string</code> The message describing the status of the response.</td>\n</tr>\n<tr>\n<td>data</td>\n<td><code>object</code> The main data object containing the sales order information.</td>\n</tr>\n<tr>\n<td>data.sales_order_id</td>\n<td><code>integer</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.parent_sales_order_id</td>\n<td><code>null</code> or <code>integer</code> The ID of the parent sales order, if applicable.</td>\n</tr>\n<tr>\n<td>data.parent_sales_order_no</td>\n<td><code>null</code> or <code>string</code> The number of the parent sales order, if applicable.</td>\n</tr>\n<tr>\n<td>data.location_id</td>\n<td><code>integer</code> The ID of the location.</td>\n</tr>\n<tr>\n<td>data.po_id</td>\n<td><code>integer</code> The ID of the purchase order associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.location_name</td>\n<td><code>string</code> The name of the location.</td>\n</tr>\n<tr>\n<td>data.salesman_id</td>\n<td><code>integer</code> The ID of the salesman associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.salesman_code</td>\n<td><code>string</code> The code of the salesman associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.salesman_name</td>\n<td><code>string</code> The name of the salesman associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.category_code</td>\n<td><code>string</code> The code of the category associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.category_name</td>\n<td><code>string</code> The name of the category associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.platform_sales_order_no</td>\n<td><code>string</code> The platform sales order number.</td>\n</tr>\n<tr>\n<td>data.customer_po_no</td>\n<td><code>string</code> The customer's purchase order number.</td>\n</tr>\n<tr>\n<td>data.invoice_no</td>\n<td><code>string</code> The invoice number.</td>\n</tr>\n<tr>\n<td>data.invoice_url</td>\n<td><code>null</code> or <code>string</code> The URL of the invoice, if available.</td>\n</tr>\n<tr>\n<td>data.status</td>\n<td><code>string</code> The status of the sales order.</td>\n</tr>\n<tr>\n<td>data.platform_so_status</td>\n<td><code>string</code> The status of the sales order on the platform.</td>\n</tr>\n<tr>\n<td>data.po_file_upload</td>\n<td><code>null</code> or <code>string</code> The uploaded file associated with the purchase order, if applicable.</td>\n</tr>\n<tr>\n<td>data.po_image_url</td>\n<td><code>null</code> or <code>string</code> The URL of the purchase order image, if available.</td>\n</tr>\n<tr>\n<td>data.sales_order_date</td>\n<td><code>string</code> The date of the sales order.</td>\n</tr>\n<tr>\n<td>data.subtotal</td>\n<td><code>number</code> The subtotal amount of the sales order.</td>\n</tr>\n<tr>\n<td>data.discount</td>\n<td><code>number</code> The discount amount of the sales order.</td>\n</tr>\n<tr>\n<td>data.vat_rate</td>\n<td><code>string</code> The VAT rate of the sales order.</td>\n</tr>\n<tr>\n<td>data.vat_amount</td>\n<td><code>number</code> The VAT amount of the sales order.</td>\n</tr>\n<tr>\n<td>data.total</td>\n<td><code>number</code> The total amount of the sales order.</td>\n</tr>\n<tr>\n<td>data.notes</td>\n<td><code>null</code> or <code>string</code> Additional notes or comments about the sales order.</td>\n</tr>\n<tr>\n<td>data.is_deleted</td>\n<td><code>boolean</code> Indicates whether the sales order is deleted or not.</td>\n</tr>\n<tr>\n<td>data.created_time</td>\n<td><code>string</code> The timestamp when the sales order was created.</td>\n</tr>\n<tr>\n<td>data.created_by</td>\n<td><code>string</code> The user who created the sales order.</td>\n</tr>\n<tr>\n<td>data.last_modified_time</td>\n<td><code>null</code> or <code>string</code> The timestamp of the last modification to the sales order.</td>\n</tr>\n<tr>\n<td>data.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the sales order.</td>\n</tr>\n<tr>\n<td>data.time_stamp</td>\n<td><code>string</code> The timestamp of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer</td>\n<td><code>object</code> The customer information associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sales_order_customer_id</td>\n<td><code>integer</code> The ID of the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sales_order_id</td>\n<td><code>integer</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.customer_id</td>\n<td><code>integer</code> The ID of the customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.recipient_id</td>\n<td><code>integer</code> The ID of the recipient.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sub_district_id</td>\n<td><code>integer</code> The ID of the sub-district.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.customer_name</td>\n<td><code>string</code> The name of the customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.customer_code</td>\n<td><code>string</code> The code of the customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.recipient_name</td>\n<td><code>string</code> The name of the recipient.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.recipient_phone_no</td>\n<td><code>string</code> The phone number of the recipient.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.recipient_address</td>\n<td><code>string</code> The address of the recipient.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.province</td>\n<td><code>string</code> The province of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.province_code</td>\n<td><code>string</code> The code of the province of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.city</td>\n<td><code>string</code> The city of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.city_code</td>\n<td><code>string</code> The code of the city of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.district</td>\n<td><code>string</code> The district of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.district_code</td>\n<td><code>string</code> The code of the district of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sub_district</td>\n<td><code>string</code> The sub-district of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.sub_district_code</td>\n<td><code>string</code> The code of the sub-district of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.postal_code</td>\n<td><code>string</code> The postal code of the recipient's address.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.is_deleted</td>\n<td><code>boolean</code> Indicates whether the sales order customer is deleted or not.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.created_time</td>\n<td><code>string</code> The timestamp when the sales order customer was created.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.created_by</td>\n<td><code>string</code> The user who created the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.last_modified_time</td>\n<td><code>string</code> The timestamp of the last modification to the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_customer.time_stamp</td>\n<td><code>string</code> The timestamp of the sales order customer.</td>\n</tr>\n<tr>\n<td>data.sales_order_products</td>\n<td><code>array</code> An array of product objects associated with the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_product_id</td>\n<td><code>integer</code> The ID of the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_id</td>\n<td><code>integer</code> The ID of the sales order.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].product_id</td>\n<td><code>integer</code> The ID of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].item_no</td>\n<td><code>integer</code> The item number of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].product_name</td>\n<td><code>string</code> The name of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].qty</td>\n<td><code>integer</code> The quantity of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].product_unit</td>\n<td><code>null</code> or <code>string</code> The unit of measurement for the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].hna</td>\n<td><code>number</code> The Harga Netto Akhir (HNA) or net price of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].is_deleted</td>\n<td><code>boolean</code> Indicates whether the sales order product is deleted or not.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].created_time</td>\n<td><code>string</code> The timestamp when the sales order product was created.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].created_by</td>\n<td><code>string</code> The user who created the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].last_modified_time</td>\n<td><code>string</code> The timestamp of the last modification to the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].last_modified_by</td>\n<td><code>null</code> or <code>string</code> The user who last modified the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].time_stamp</td>\n<td><code>string</code> The timestamp of the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products</td>\n<td><code>array</code> An array of discount objects associated with the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].sales_order_discount_product_id</td>\n<td><code>integer</code> The ID of the sales order discount product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].sales_order_product_id</td>\n<td><code>integer</code> The ID of the sales order product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].sales_order_no</td>\n<td><code>string</code> The sales order number.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].sku</td>\n<td><code>string</code> The SKU (stock keeping unit) of the product.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_item_no</td>\n<td><code>integer</code> The item number of the discount.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_sku_id</td>\n<td><code>null</code> or <code>integer</code> The ID of the discounted SKU, if applicable.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_sku_value</td>\n<td><code>number</code> The value of the discounted SKU.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_sku_measure</td>\n<td><code>string</code> The measurement unit of the discounted SKU.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].discount_amount</td>\n<td><code>number</code> The discount amount.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].subtotal</td>\n<td><code>number</code> The subtotal amount after the discount.</td>\n</tr>\n<tr>\n<td>data.sales_order_products[].sales_order_discount_products[].note</td>\n<td><code>null</code> or <code>string</code> Additional notes or comments about the discount.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","sales-order","1162","complete"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a3732d14-96d3-4749-8f35-b53a28a69696","name":"Complete Sales Order","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/v1/sales-order/1162/complete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Fri, 16 Jun 2023 09:27:55 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Keep-Alive","value":"timeout=18","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"8b1-lj76+g7GE7M56hCt/Yr6AoGfmQ4\"","enabled":true},{"key":"x-envoy-upstream-service-time","value":"90","enabled":true},{"key":"x-envoy-decorator-operation","value":"openapi-tetashop-gateway.develop.svc.cluster.local:3001/*","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Access-Control-Allow-Origin","value":"*","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"sales_order_id\": 1162,\n        \"sales_order_no\": \"OMS-SO-000001162\",\n        \"parent_sales_order_id\": null,\n        \"parent_sales_order_no\": null,\n        \"location_id\": 5,\n        \"po_id\": 255,\n        \"location_name\": \"Cakung\",\n        \"salesman_id\": 1,\n        \"salesman_code\": \"Sales00020\",\n        \"salesman_name\": \"Hayal Nurciptas\",\n        \"category_code\": \"SOC0003\",\n        \"category_name\": \"Prekursor\",\n        \"platform_sales_order_no\": \"[auto]\",\n        \"customer_po_no\": \"PO-000000255\",\n        \"invoice_no\": \"[auto]\",\n        \"invoice_url\": null,\n        \"status\": \"submitted\",\n        \"platform_so_status\": \"Completed\",\n        \"po_file_upload\": null,\n        \"po_image_url\": \"https://dev-minio-api.itmi.id/tetama-develop/images/2023/05/09/9f3bdd7f-9f8d-4e9e-ba30-97c5091f0db2.jpg\",\n        \"sales_order_date\": \"2023-06-16T09:08:30.000Z\",\n        \"subtotal\": 10000,\n        \"discount\": 0,\n        \"vat_rate\": \"11\",\n        \"vat_amount\": 1100,\n        \"total\": 11100,\n        \"notes\": null,\n        \"is_deleted\": false,\n        \"created_time\": \"2023-06-16T09:08:29.646Z\",\n        \"created_by\": \"System\",\n        \"last_modified_time\": \"2023-06-16T09:27:55.578Z\",\n        \"last_modified_by\": \"Partner Faldy\",\n        \"time_stamp\": \"2023-06-16T09:27:55.578Z\",\n        \"sales_order_customer\": {\n            \"sales_order_customer_id\": 1122,\n            \"sales_order_no\": \"OMS-SO-000001162\",\n            \"sales_order_id\": 1162,\n            \"customer_id\": 121,\n            \"recipient_id\": 121,\n            \"sub_district_id\": 2,\n            \"customer_name\": \"testing adhis PO baru\",\n            \"customer_code\": \"AP00026\",\n            \"recipient_name\": \"testing adhis PO baru\",\n            \"recipient_phone_no\": \"+62800999123\",\n            \"recipient_address\": \"Jalan mana aja\",\n            \"province\": \"ACEH\",\n            \"province_code\": \"11\",\n            \"city\": \"KAB. ACEH SELATAN\",\n            \"city_code\": \"11.01\",\n            \"district\": \"Bakongan\",\n            \"district_code\": \"11.01.01\",\n            \"sub_district\": \"Ujong Mangki\",\n            \"sub_district_code\": \"11.01.01.2002\",\n            \"postal_code\": \"23773\",\n            \"is_deleted\": false,\n            \"created_time\": \"2023-06-16T09:08:29.645Z\",\n            \"created_by\": \"System\",\n            \"last_modified_time\": \"2023-06-16T09:08:29.645Z\",\n            \"last_modified_by\": null,\n            \"time_stamp\": \"2023-06-16T09:08:29.695Z\"\n        },\n        \"sales_order_products\": [\n            {\n                \"sales_order_product_id\": 1146,\n                \"sales_order_no\": \"OMS-SO-000001162\",\n                \"sku\": \"ERGMTRNPRKSR\",\n                \"sales_order_id\": 1162,\n                \"product_id\": 8070,\n                \"item_no\": 0,\n                \"product_name\": \"ERGOMETRIN\",\n                \"qty\": 1,\n                \"product_unit\": null,\n                \"hna\": 10000,\n                \"is_deleted\": false,\n                \"created_time\": \"2023-06-16T09:08:29.645Z\",\n                \"created_by\": \"System\",\n                \"last_modified_time\": \"2023-06-16T09:08:29.645Z\",\n                \"last_modified_by\": null,\n                \"time_stamp\": \"2023-06-16T09:08:29.781Z\",\n                \"sales_order_discount_products\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"aef039ab-7a27-4da9-9c19-058035f61f39"}],"id":"8c77a542-5e93-4397-ad29-39baf77b4966","description":"<p>The <code>/collections</code> endpoints let you manage your <a href=\"https://learning.postman.com/docs/sending-requests/intro-to-collections/\">collections</a>.</p>\n","_postman_id":"8c77a542-5e93-4397-ad29-39baf77b4966","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}}},{"name":"Partner","item":[{"name":"Partner Profile","id":"56aa226d-eb3c-4c99-8820-fe07226bacae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/partner/profile","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}},"urlObject":{"path":["v1","partner","profile"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"9f2728c5-329f-4d68-aa6f-b130f6bedcf1","name":"Get Partner Profile","originalRequest":{"method":"GET","header":[],"url":"{{BASE_URL}}/v1/partner/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx","enabled":true},{"key":"Date","value":"Tue, 07 Nov 2023 06:21:11 GMT","enabled":true},{"key":"Content-Type","value":"application/json; charset=utf-8","enabled":true},{"key":"Transfer-Encoding","value":"chunked","enabled":true},{"key":"Connection","value":"keep-alive","enabled":true},{"key":"Vary","value":"Accept-Encoding","enabled":true},{"key":"x-powered-by","value":"Express","enabled":true},{"key":"access-control-allow-origin","value":"*","enabled":true},{"key":"etag","value":"W/\"213-bq/Zc/OpUkzbJ5ZlaEg5UrnF3eM\"","enabled":true},{"key":"X-Content-Type-Options","value":"nosniff","enabled":true},{"key":"X-Frame-Options","value":"SAMEORIGIN","enabled":true},{"key":"X-XSS-Protection","value":"1; mode=block","enabled":true},{"key":"Content-Encoding","value":"gzip","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n    \"status_code\": 200,\n    \"message\": \"OK\",\n    \"data\": {\n        \"partner_id\": 2,\n        \"name\": \"Astroboy WMS\",\n        \"address\": \"Jalan Kehidupan\",\n        \"email\": \"testingitmi@gmail.com\",\n        \"phone_no\": \"+628191919123\",\n        \"pic\": \"S Naza\",\n        \"pic_email\": \"testingitmi@gmail.com\",\n        \"pic_phone\": \"+6285912312309\",\n        \"webhook_url\": \"https://webhook.site/d9ab35ae-12ad-4325-8ac6-721279f9f2ff\",\n        \"created_time\": \"2023-07-07T09:51:17.162Z\",\n        \"created_by\": \"siti.naza@itmi.id\",\n        \"last_modified_time\": \"2023-10-27T03:42:52.210Z\",\n        \"last_modified_by\": null,\n        \"time_stamp\": \"2023-10-27T03:42:52.000Z\",\n        \"is_otp_required\": true\n    }\n}"}],"_postman_id":"56aa226d-eb3c-4c99-8820-fe07226bacae"}],"id":"f41a2daa-e7c2-4650-a4fa-1430b079242d","_postman_id":"f41a2daa-e7c2-4650-a4fa-1430b079242d","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}}}],"id":"d0200417-a23b-483a-8cf4-b0362e3748fb","description":"<h2 id=\"https-request\">HTTP(S) Request</h2>\n<p>Tetama OpenAPI can be requested through HTTP(S) Request to Tetama OpenAPI Base URL endpoint. The HTTP(S) Header has to be used to allow proper authentication.</p>\n<h3 id=\"api-base-url\">API Base URL</h3>\n<ul>\n<li><p>Sandbox Environment: <code>https://sandbox-api-shop.tetama.id</code></p>\n</li>\n<li><p>Production Environment: <code>https://api-shop.tetama.id</code></p>\n</li>\n</ul>\n<h2 id=\"https-header\">HTTP(S) Header</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Value</th>\n<th>Definition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n<td>The Content-Type field indicates that JSON type is acceptable to send to the recipient</td>\n</tr>\n<tr>\n<td>Accept</td>\n<td>application/json</td>\n<td>The Accept field is used to specify that JSON type is acceptable for the response</td>\n</tr>\n<tr>\n<td>Authorization</td>\n<td>Basic AUTH_STRING</td>\n<td>The Authorization field credentials provided within Tetama Partner Dashboard</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"content-type-and-accept-header\">Content-Type and Accept Header</h3>\n<p>In Tetama API, the input and output parameters of the methods will be in JSON format. To accept JSON input and output parameters, you need to add the following HTTP(S) header:</p>\n<ul>\n<li><p>Content-Type: application/json</p>\n</li>\n<li><p>Accept: application/json</p>\n</li>\n</ul>\n<h3 id=\"authorization-header\">Authorization Header</h3>\n<p>The authorization header utilizes API Key following HTTP(S) BASIC AUTH convention:</p>\n<ul>\n<li><p>For Development environment, obtain <code>Client Key</code> and <code>Server Key</code> in Tetama Partner Sandbox Dashboard in setting menu</p>\n</li>\n<li><p>For Production environment, obtain <code>Client Key</code> and <code>Server Key</code> in Tetama Partner Dashboard in setting menu</p>\n</li>\n</ul>\n<p>Tetama validates HTTP request by using Basic Authentication method. You must always add this header to your request headers every API call or otherwise you will get unauthorized error:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>AUTH_STRING = Base64(CLIENT_KEY:SERVER_KEY)\nAuthorization: \"Basic AUTH_STRING\"\n\n</code></pre><p>You can use <a href=\"https://\">Online Base64 Encode Tool</a> For encoding your authentication string.</p>\n","_postman_id":"d0200417-a23b-483a-8cf4-b0362e3748fb","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]},"isInherited":true,"source":{"_postman_id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","id":"6946cad2-1834-47ac-b2fe-53fdfa423b30","name":"Tetashop OpenAPI","type":"collection"}}}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{CLIENT_KEY}}"},{"key":"password","value":"{{SERVER_KEY}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"777873f9-3210-4d02-aff0-0fd11857351b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"538c3229-a3de-4959-b5d8-869819173cb2"}}]}