{"info":{"_postman_id":"fd95802d-2d90-4a8c-b76a-f3b679a0cad2","name":"CLASS LINE API Example","description":"<html><head></head><body><p>สวัสดีครับทุกท่าน เราโอ๋ เทพนที โพธิ์จันทร์ <a href=\"\">LINE API Expert</a></p>\n<p>Postman Collection Class LINE API Expert นี้</p>\n<p>ได้ทำไว้เพื่อเป็นประโยชน์ แก่สาธารณะ ห้ามมิให้นำไปใช้เชิงพาณิชย์</p>\n<p>หวังให้เป็นประโยชน์แด่เพื่อนๆ ชาว LINE Developers ทุกท่าน ขอบคุณครับ</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16611391","collectionId":"fd95802d-2d90-4a8c-b76a-f3b679a0cad2","publishedId":"2s83tCKYoF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-09-30T10:37:18.000Z"},"item":[{"name":"Messaging API","item":[{"name":"Channel access token","item":[{"name":"Type","item":[{"name":"long-lived","item":[{"name":"Issue","event":[{"listen":"test","script":{"id":"bec87e7a-63ed-4984-b589-d53332d06371","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"334892b9-4e09-4629-a623-15080ab67b68","exec":["pm.environment.set(\"access_token\", \"xxx\")"],"type":"text/javascript","packages":{}}}],"id":"5ac021c2-70bf-40b3-9a35-1f68e05c561b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"LINK","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"<p>channel id</p>\n"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"<p>channel secret</p>\n"}]},"url":"========","urlObject":{"host":["========"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ac021c2-70bf-40b3-9a35-1f68e05c561b"}],"id":"63aa4f86-86f6-4ec8-9bea-2fac6f046830","_postman_id":"63aa4f86-86f6-4ec8-9bea-2fac6f046830","description":""},{"name":"short-lived","item":[{"name":"Issue short-lived channel access token","event":[{"listen":"test","script":{"id":"bec87e7a-63ed-4984-b589-d53332d06371","exec":["var jsonData = pm.response.json();","pm.globals.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"c3be6547-fef9-4adf-9224-d8fa7a93db7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"<p>channel id</p>\n"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"<p>channel secret</p>\n"}]},"url":"https://api.line.me/v2/oauth/accessToken","urlObject":{"protocol":"https","path":["v2","oauth","accessToken"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3be6547-fef9-4adf-9224-d8fa7a93db7b"},{"name":"Verify the validity of short-lived and long-lived channel access tokens","id":"b95e38fe-2b2d-41c6-974c-7b9dae5fc8bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{access_token}}","type":"text"}]},"url":"https://api.line.me/v2/oauth/verify","urlObject":{"protocol":"https","path":["v2","oauth","verify"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"b95e38fe-2b2d-41c6-974c-7b9dae5fc8bc"},{"name":"Revoke short-lived or long-lived channel access token","id":"b66d9213-a427-4412-b80a-06d5be65d42a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"{{access_token}}","type":"text"}]},"url":"https://api.line.me/v2/oauth/revoke","urlObject":{"protocol":"https","path":["v2","oauth","revoke"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"b66d9213-a427-4412-b80a-06d5be65d42a"}],"id":"1d6d2161-5d71-4d5c-8067-896d207347a5","_postman_id":"1d6d2161-5d71-4d5c-8067-896d207347a5","description":""},{"name":"V2.1","item":[{"name":"Issue channel access token v2.1","id":"4546a67b-3176-4af5-8dd1-bfb83ada6f27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_assertion_type","value":"urn:ietf:params:oauth:client-assertion-type:jwt-bearer","type":"text"},{"key":"client_assertion","value":"{{JWT}}","type":"text"}]},"url":"https://api.line.me/oauth2/v2.1/token","urlObject":{"protocol":"https","path":["oauth2","v2.1","token"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"4546a67b-3176-4af5-8dd1-bfb83ada6f27"},{"name":"Verify the validity of the channel access token v2.1","id":"be4cf83f-aa75-4901-bdf8-f641acbc73ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"access_token","value":"eyJhbGciOiJIUzI1NiJ9.UnQ_o-GP0VtnwDjbK0C8E_NvK...","type":"text"}]},"url":"https://api.line.me/oauth2/v2.1/verify?access_token={{access_token}}","urlObject":{"protocol":"https","path":["oauth2","v2.1","verify"],"host":["api","line","me"],"query":[{"key":"access_token","value":"{{access_token}}"}],"variable":[]}},"response":[],"_postman_id":"be4cf83f-aa75-4901-bdf8-f641acbc73ab"},{"name":"Revoke channel access token v2.1","id":"f8932950-ebc1-47f7-9d1c-6826783c183f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}","type":"text"},{"key":"client_secret","value":"{{client_secret}}","type":"text"},{"key":"access_token","value":"{{access_token}}","type":"text"}]},"url":"https://api.line.me/oauth2/v2.1/revoke","urlObject":{"protocol":"https","path":["oauth2","v2.1","revoke"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8932950-ebc1-47f7-9d1c-6826783c183f"}],"id":"8b40eb45-0640-467f-be19-f4e50bdfa7f0","_postman_id":"8b40eb45-0640-467f-be19-f4e50bdfa7f0","description":""},{"name":"stateless","item":[{"name":"Issue","event":[{"listen":"test","script":{"id":"bec87e7a-63ed-4984-b589-d53332d06371","exec":["var jsonData = pm.response.json();","pm.globals.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"c864906c-35ac-47ca-866f-ca675b1f67bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"<p>channel id</p>\n"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"<p>channel secret</p>\n"}]},"url":"https://api.line.me/oauth2/v3/token","urlObject":{"protocol":"https","path":["oauth2","v3","token"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"c864906c-35ac-47ca-866f-ca675b1f67bb"}],"id":"2e709de4-56e0-40b9-806d-51328ca9f90f","_postman_id":"2e709de4-56e0-40b9-806d-51328ca9f90f","description":""}],"id":"703ca80f-d573-4638-918e-f6bf90994761","_postman_id":"703ca80f-d573-4638-918e-f6bf90994761","description":""}],"id":"fca28bd8-3d7a-4fc6-995b-9def519d0f24","_postman_id":"fca28bd8-3d7a-4fc6-995b-9def519d0f24","description":""},{"name":"Message","item":[{"name":"Message GET","item":[{"name":"Statistics","item":[{"name":"Get statistics per unit","id":"fb93bc52-99a7-4cf6-9f84-68fae139edac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"urlencoded","urlencoded":[{"type":"text","key":"customAggregationUnit","value":"promotion_a"},{"type":"text","key":"from","value":"20210301"},{"type":"text","key":"to","value":"20210331"}]},"url":"https://api.line.me/v2/bot/insight/message/event/aggregation?customAggregationUnit=promotion_a&from=20210301&to=20210331","urlObject":{"protocol":"https","path":["v2","bot","insight","message","event","aggregation"],"host":["api","line","me"],"query":[{"key":"customAggregationUnit","value":"promotion_a"},{"key":"from","value":"20210301"},{"key":"to","value":"20210331"}],"variable":[]}},"response":[],"_postman_id":"fb93bc52-99a7-4cf6-9f84-68fae139edac"},{"name":"Get number of units used this month","id":"a578bc75-0ab1-45a2-ac1b-10cb38cb2bb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/message/aggregation/info","urlObject":{"protocol":"https","path":["v2","bot","message","aggregation","info"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"a578bc75-0ab1-45a2-ac1b-10cb38cb2bb1"},{"name":"Get name list of units used this month","id":"84b833b8-77ae-4b60-8a64-a06662902ada","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"urlencoded","urlencoded":[{"type":"text","key":"limit","value":"30"}]},"url":"https://api.line.me/v2/bot/message/aggregation/list?limit=30","urlObject":{"protocol":"https","path":["v2","bot","message","aggregation","list"],"host":["api","line","me"],"query":[{"key":"limit","value":"30"}],"variable":[]}},"response":[],"_postman_id":"84b833b8-77ae-4b60-8a64-a06662902ada"}],"id":"29a7cdd2-73b2-4571-b872-0aa5a1bd0abb","_postman_id":"29a7cdd2-73b2-4571-b872-0aa5a1bd0abb","description":""},{"name":"Getting content","item":[{"name":"Get content","id":"d4e4a342-c488-4947-92ef-0ce23776345d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api-data.line.me/v2/bot/message/{messageId}/content","urlObject":{"protocol":"https","path":["v2","bot","message","{messageId}","content"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4e4a342-c488-4947-92ef-0ce23776345d"},{"name":"Verify the preparation status of a video or audio for getting","id":"254e9036-46fd-4826-875e-4a9cb464abcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api-data.line.me/v2/bot/message/{messageId}/content/transcoding","urlObject":{"protocol":"https","path":["v2","bot","message","{messageId}","content","transcoding"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"254e9036-46fd-4826-875e-4a9cb464abcf"},{"name":"Get a preview image of the image or video","id":"10a39c9e-6567-4555-b59a-f595a822c75f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api-data.line.me/v2/bot/message/{messageId}/content/preview","urlObject":{"protocol":"https","path":["v2","bot","message","{messageId}","content","preview"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"10a39c9e-6567-4555-b59a-f595a822c75f"}],"id":"29ebec10-371f-462c-aa79-7b97faaf62fc","_postman_id":"29ebec10-371f-462c-aa79-7b97faaf62fc","description":""},{"name":"membership","item":[{"name":"Get a user's membership subscription status","id":"1e4ae54b-40f0-473a-a537-4794b02ac6d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/membership/v1/subscription/{{userId}}","urlObject":{"protocol":"https","path":["membership","v1","subscription","{{userId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e4ae54b-40f0-473a-a537-4794b02ac6d5"},{"name":"Get membership plans being offered","id":"dba08e58-5b8b-4ba2-bda1-c7783f07e539","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/membership/v1/list","urlObject":{"protocol":"https","path":["membership","v1","list"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"dba08e58-5b8b-4ba2-bda1-c7783f07e539"}],"id":"4dd45741-56e7-45cd-ac33-390e8568e2a6","_postman_id":"4dd45741-56e7-45cd-ac33-390e8568e2a6","description":""},{"name":"Get narrowcast message status","id":"dcdd999f-9210-4acf-98b1-b1d72a04fb3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/message/progress/narrowcast?requestId={request_id}","urlObject":{"protocol":"https","path":["v2","bot","message","progress","narrowcast"],"host":["api","line","me"],"query":[{"key":"requestId","value":"{request_id}"}],"variable":[]}},"response":[],"_postman_id":"dcdd999f-9210-4acf-98b1-b1d72a04fb3a"},{"name":"Get the target limit for additional messages","id":"2cebef31-56bf-47f7-b5e2-d75e7bf8fcc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/message/quota","urlObject":{"protocol":"https","path":["v2","bot","message","quota"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"16f3864e-fb84-4696-9b50-7e4d3d9a7737","name":"Get the target limit for additional messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/message/quota"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"67a33822-60bf-4c03-9a05-6882e48cc95e"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"Sat, 29 May 2021 07:52:37 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 07:52:37 GMT"},{"key":"Content-Length","value":"50"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"limited\",\n    \"value\": 1000\n}"}],"_postman_id":"2cebef31-56bf-47f7-b5e2-d75e7bf8fcc1"},{"name":"Get number of messages sent this month","id":"8e1b6950-cd79-4203-8cde-90e77f6b9618","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/message/quota/consumption","urlObject":{"protocol":"https","path":["v2","bot","message","quota","consumption"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"7dd8cf89-e6fc-4135-8dd5-a8befcb8a0cb","name":"Get number of messages sent this month","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/message/quota/consumption"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"a10eac45-d28d-4512-bbc3-38aa1d434e7b"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Content-Length","value":"16"},{"key":"Expires","value":"Sat, 29 May 2021 07:53:41 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 07:53:41 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"totalUsage\": 4\n}"}],"_postman_id":"8e1b6950-cd79-4203-8cde-90e77f6b9618"},{"name":"Get number of sent reply messages","id":"66ad7bfb-f143-494b-8d84-d3d40ecc1dfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/message/delivery/reply?date=20210527","urlObject":{"protocol":"https","path":["v2","bot","message","delivery","reply"],"host":["api","line","me"],"query":[{"key":"date","value":"20210527"}],"variable":[]}},"response":[{"id":"8fc45c90-032c-4e82-8252-04f106101129","name":"Get number of sent reply messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://api.line.me/v2/bot/message/delivery/reply?date=20210527","protocol":"https","host":["api","line","me"],"path":["v2","bot","message","delivery","reply"],"query":[{"key":"date","value":"20210527"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"8e0d686a-a8b0-4e44-b6d8-be1f826b470c"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Content-Length","value":"31"},{"key":"Expires","value":"Sat, 29 May 2021 07:54:42 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 07:54:42 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ready\",\n    \"success\": 13\n}"}],"_postman_id":"66ad7bfb-f143-494b-8d84-d3d40ecc1dfa"},{"name":"Get number of sent push messages","id":"3704496e-6c9d-41b1-bf3a-c6ecb806c1ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/message/delivery/push?date=20210528","urlObject":{"protocol":"https","path":["v2","bot","message","delivery","push"],"host":["api","line","me"],"query":[{"key":"date","value":"20210528"}],"variable":[]}},"response":[{"id":"c6a6bb26-091b-4650-99d2-9df742c02a1a","name":"Get number of sent push messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://api.line.me/v2/bot/message/delivery/push?date=20210528","protocol":"https","host":["api","line","me"],"path":["v2","bot","message","delivery","push"],"query":[{"key":"date","value":"20210528"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"6856c0c0-f64c-452e-8f03-ec0664b7cd36"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Content-Length","value":"30"},{"key":"Expires","value":"Sat, 29 May 2021 08:01:25 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 08:01:25 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ready\",\n    \"success\": 0\n}"}],"_postman_id":"3704496e-6c9d-41b1-bf3a-c6ecb806c1ef"},{"name":"Get number of sent broadcast messages","id":"50bcb507-7560-48f9-b60a-6ae9fd7f50b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/message/delivery/broadcast?date=20191231","urlObject":{"protocol":"https","path":["v2","bot","message","delivery","broadcast"],"host":["api","line","me"],"query":[{"key":"date","value":"20191231"}],"variable":[]}},"response":[{"id":"1b48f4bb-7820-4455-8021-9f64bc8e3077","name":"Get number of sent broadcast messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://api.line.me/v2/bot/message/delivery/broadcast?date=20191231","protocol":"https","host":["api","line","me"],"path":["v2","bot","message","delivery","broadcast"],"query":[{"key":"date","value":"20191231"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"7bf9c620-7c1a-4e16-b009-b586fc761cb9"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"Sat, 29 May 2021 08:01:42 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 08:01:42 GMT"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ready\",\n    \"success\": 0\n}"}],"_postman_id":"50bcb507-7560-48f9-b60a-6ae9fd7f50b3"},{"name":"Get number of sent multicast messages","id":"4b1807eb-afe0-4338-8fcc-f629b2129638","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/message/delivery/multicast?date=20191231","urlObject":{"protocol":"https","path":["v2","bot","message","delivery","multicast"],"host":["api","line","me"],"query":[{"key":"date","value":"20191231"}],"variable":[]}},"response":[],"_postman_id":"4b1807eb-afe0-4338-8fcc-f629b2129638"}],"id":"23584706-09d0-402e-8425-401763cd4aa2","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ade99028-cd7f-453a-b76b-9b79ac10313f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"6470488d-e868-401d-966c-1c867e615c28"}}],"_postman_id":"23584706-09d0-402e-8425-401763cd4aa2","description":""},{"name":"Message Send","item":[{"name":"Flex Message","item":[{"name":"Carousel","id":"873a9fc3-3d33-40ea-9e4f-a34a73bc2312","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": \"{{userid}}\",\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"flex\",\r\n            \"altText\": \"This is a Flex Message\",\r\n            \"contents\": {\r\n                \"type\": \"carousel\",\r\n                \"contents\": [\r\n                    {\r\n                        \"type\": \"bubble\",\r\n                        \"body\": {\r\n                            \"type\": \"box\",\r\n                            \"layout\": \"horizontal\",\r\n                            \"contents\": [\r\n                                {\r\n                                    \"type\": \"text\",\r\n                                    \"text\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\",\r\n                                    \"wrap\": true\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"footer\": {\r\n                            \"type\": \"box\",\r\n                            \"layout\": \"horizontal\",\r\n                            \"contents\": [\r\n                                {\r\n                                    \"type\": \"button\",\r\n                                    \"style\": \"primary\",\r\n                                    \"action\": {\r\n                                        \"type\": \"uri\",\r\n                                        \"label\": \"Go\",\r\n                                        \"uri\": \"https://example.com\"\r\n                                    }\r\n                                }\r\n                            ]\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"bubble\",\r\n                        \"body\": {\r\n                            \"type\": \"box\",\r\n                            \"layout\": \"horizontal\",\r\n                            \"contents\": [\r\n                                {\r\n                                    \"type\": \"text\",\r\n                                    \"text\": \"Hello, World!\",\r\n                                    \"wrap\": true\r\n                                }\r\n                            ]\r\n                        },\r\n                        \"footer\": {\r\n                            \"type\": \"box\",\r\n                            \"layout\": \"horizontal\",\r\n                            \"contents\": [\r\n                                {\r\n                                    \"type\": \"button\",\r\n                                    \"style\": \"primary\",\r\n                                    \"action\": {\r\n                                        \"type\": \"uri\",\r\n                                        \"label\": \"Go\",\r\n                                        \"uri\": \"https://example.com\"\r\n                                    }\r\n                                }\r\n                            ]\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/push","urlObject":{"protocol":"https","path":["v2","bot","message","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"873a9fc3-3d33-40ea-9e4f-a34a73bc2312"},{"name":"Bubble","id":"f65b8a35-61bf-4bf8-b97a-43b10b66e195","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": \"{{userid}}\",\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"flex\",\r\n            \"altText\": \"This is a Flex Message\",\r\n            \"contents\": {\r\n                \"type\": \"bubble\",\r\n                \"body\": {\r\n                    \"type\": \"box\",\r\n                    \"layout\": \"vertical\",\r\n                    \"spacing\": \"md\",\r\n                    \"contents\": [\r\n                        {\r\n                            \"type\": \"button\",\r\n                            \"style\": \"primary\",\r\n                            \"action\": {\r\n                                \"type\": \"uri\",\r\n                                \"label\": \"Primary style button\",\r\n                                \"uri\": \"https://example.com\"\r\n                            }\r\n                        },\r\n                        {\r\n                            \"type\": \"button\",\r\n                            \"style\": \"secondary\",\r\n                            \"action\": {\r\n                                \"type\": \"uri\",\r\n                                \"label\": \"Secondary style button\",\r\n                                \"uri\": \"https://example.com\"\r\n                            }\r\n                        },\r\n                        {\r\n                            \"type\": \"button\",\r\n                            \"style\": \"link\",\r\n                            \"action\": {\r\n                                \"type\": \"uri\",\r\n                                \"label\": \"Link style button\",\r\n                                \"uri\": \"https://example.com\"\r\n                            }\r\n                        }\r\n                    ]\r\n                }\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/push","urlObject":{"protocol":"https","path":["v2","bot","message","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"f65b8a35-61bf-4bf8-b97a-43b10b66e195"}],"id":"aee5aafe-ea37-4b9e-8df1-529dbaeb96eb","_postman_id":"aee5aafe-ea37-4b9e-8df1-529dbaeb96eb","description":""},{"name":"Quick Reply Message","item":[{"name":"Send Quick reply","id":"f140f7e5-92c5-4cec-9892-aa2ad65c9cba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": \"{{userid}}\",\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"text\",\r\n            \"text\": \"Select your favorite food category or send me your location!\",\r\n            \"quickReply\": {\r\n                \"items\": [\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"imageUrl\": \"https://example.com/sushi.png\",\r\n                        \"action\": {\r\n                            \"type\": \"message\",\r\n                            \"label\": \"Sushi\",\r\n                            \"text\": \"Sushi\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"imageUrl\": \"https://example.com/sushi.png\",\r\n                        \"action\": {\r\n                            \"type\": \"postback\",\r\n                            \"label\": \"postback\",\r\n                            \"data\": \"action=buy&itemid=111\",\r\n                            \"text\": \"Buy\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"camera\",\r\n                            \"label\": \"Camera\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"cameraRoll\",\r\n                            \"label\": \"cameraRoll\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"location\",\r\n                            \"label\": \"Send location\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"uri\",\r\n                            \"label\": \"Phone order\",\r\n                            \"uri\": \"tel:00000000\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"uri\",\r\n                            \"label\": \"Recommend to friends\",\r\n                            \"uri\": \"https://line.me/R/nv/recommendOA/@linedevelopers\"\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/push","urlObject":{"protocol":"https","path":["v2","bot","message","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"f140f7e5-92c5-4cec-9892-aa2ad65c9cba"}],"id":"f6502ed6-49be-4147-8617-aeb648334aad","_postman_id":"f6502ed6-49be-4147-8617-aeb648334aad","description":""},{"name":"Validate message objects","item":[{"name":"Reply message","id":"b1472b53-203f-413f-89cb-91c4dc055404","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"messages\": [\n        {\n            \"type\": \"text\",\n            \"text\": \"Hello, world\"\n        },\n        {\n            \"type\": \"sticker\",\n            \"packageId\": \"446\",\n            \"stickerId\": \"1988\"\n        }\n    ]\n}"},"url":"https://api.line.me/v2/bot/message/validate/reply","urlObject":{"protocol":"https","path":["v2","bot","message","validate","reply"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1472b53-203f-413f-89cb-91c4dc055404"},{"name":"Push message","id":"6ae66481-0a1d-4c4f-80d8-c68723e94fd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"messages\": [\n        {\n            \"type\": \"text\",\n            \"text\": \"Hello, world\"\n        }\n    ]\n}"},"url":"https://api.line.me/v2/bot/message/validate/push","urlObject":{"protocol":"https","path":["v2","bot","message","validate","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ae66481-0a1d-4c4f-80d8-c68723e94fd0"},{"name":"Multicast message","id":"d456f40f-f965-4383-a40b-594a4ed8fb48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"messages\": [\n        {\n            \"type\": \"text\",\n            \"text\": \"Hello\"\n        }\n    ]\n}"},"url":"https://api.line.me/v2/bot/message/validate/multicast","urlObject":{"protocol":"https","path":["v2","bot","message","validate","multicast"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"d456f40f-f965-4383-a40b-594a4ed8fb48"},{"name":"Narrowcast message","id":"5d9074a1-8c86-41a5-bec9-da76a7f9ab0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"messages\": [\n        {\n            \"type\": \"text\",\n            \"text\": \"Hello\"\n        }\n    ]\n}"},"url":"https://api.line.me/v2/bot/message/validate/narrowcast","urlObject":{"protocol":"https","path":["v2","bot","message","validate","narrowcast"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d9074a1-8c86-41a5-bec9-da76a7f9ab0f"},{"name":"Broadcast message","id":"5913e5ee-40f8-44db-8aff-4473583e7b3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"messages\": [\n        {\n            \"type\": \"text\",\n            \"text\": \"Hello\"\n        }\n    ]\n}"},"url":"https://api.line.me/v2/bot/message/validate/broadcast","urlObject":{"protocol":"https","path":["v2","bot","message","validate","broadcast"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"5913e5ee-40f8-44db-8aff-4473583e7b3b"}],"id":"58b2a738-8e80-4d04-a4e0-a21709143e71","_postman_id":"58b2a738-8e80-4d04-a4e0-a21709143e71","description":""},{"name":"Send broadcast message","id":"d3e10dc7-2c9e-449b-8199-6edb61884203","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"text\",\r\n            \"text\": \"Hello, world\"\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/broadcast","description":"<p>60 requests per hour</p>\n","urlObject":{"protocol":"https","path":["v2","bot","message","broadcast"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3e10dc7-2c9e-449b-8199-6edb61884203"},{"name":"Send push message","id":"35aeb044-c504-48b4-bf1b-4ece3bb4575e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": \"{{userid}}\",\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"text\",\r\n            \"text\": \"Hello, world1\"\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/push","urlObject":{"protocol":"https","path":["v2","bot","message","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"35aeb044-c504-48b4-bf1b-4ece3bb4575e"},{"name":"Send Push Message (Aggregation unit)","id":"cf6e9adc-8917-4640-9545-6035555ca29d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"to\": \"{{userid}}\",\n    \"messages\":[\n        {\n            \"type\": \"text\",\n            \"text\": \"Hello, world1\"\n        }\n    ],\n    \"customAggregationUnits\": [\n        \"promotion_a\"\n    ]\n}"},"url":"https://api.line.me/v2/bot/message/push","urlObject":{"protocol":"https","path":["v2","bot","message","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf6e9adc-8917-4640-9545-6035555ca29d"},{"name":"Send reply message","id":"c5ee12dc-74ba-4527-8ba9-911db12aef28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"replyToken\": \"{{replyToken}}\",\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"text\",\r\n            \"text\": \"Hello, world1\"\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/reply","urlObject":{"protocol":"https","path":["v2","bot","message","reply"],"host":["api","line","me"],"query":[{"disabled":true,"key":"Authorization","value":"Bearer  Access Token"}],"variable":[]}},"response":[],"_postman_id":"c5ee12dc-74ba-4527-8ba9-911db12aef28"},{"name":"Send Multicast message","id":"430dd1e2-aa3e-47b4-aa2d-5600a79445eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": [\"{{userid}},{{userid2}}\"],\r\n    \"messages\":[\r\n        {\r\n            \"type\":\"text\",\r\n            \"text\":\"multicast\"\r\n        },\r\n        {\r\n            \"type\":\"text\",\r\n            \"text\":\"Hello, world2\"\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/multicast","description":"<p>60 requests per hour</p>\n","urlObject":{"protocol":"https","path":["v2","bot","message","multicast"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"430dd1e2-aa3e-47b4-aa2d-5600a79445eb"},{"name":"Send narrowcast message","id":"ab44e709-7304-44f9-adbc-b228400d215a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"text\",\r\n            \"text\": \"test message\"\r\n        }\r\n    ],\r\n    \"recipient\": {\r\n        \"type\": \"operator\",\r\n        \"and\": [\r\n            {\r\n                \"type\": \"audience\",\r\n                \"audienceGroupId\": {{audienceGroupId}}\r\n            }\r\n        ]\r\n    }\r\n}"},"url":"https://api.line.me/v2/bot/message/narrowcast","urlObject":{"protocol":"https","path":["v2","bot","message","narrowcast"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab44e709-7304-44f9-adbc-b228400d215a"},{"name":"Retrying an API request","id":"edee9f61-563c-4f8a-a0a9-6e876903914d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"X-Line-Retry-Key","value":"{{UUID}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"text\",\r\n            \"text\": \"test message\"\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/push","urlObject":{"protocol":"https","path":["v2","bot","message","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"edee9f61-563c-4f8a-a0a9-6e876903914d"},{"name":"Display a loading animation","id":"c45b5e98-9530-4759-9549-5479400f8bcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"chatId\": \"{{userid}}\",\n    \"loadingSeconds\": 5\n}"},"url":"https://api.line.me/v2/bot/chat/loading/start","description":"<p>Display a loading animation in one-on-one chats between users and LINE Official Accounts.</p>\n","urlObject":{"protocol":"https","path":["v2","bot","chat","loading","start"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"c45b5e98-9530-4759-9549-5479400f8bcf"}],"id":"d2dcf591-c4e0-4660-ac7e-dace71b22af1","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"66a71027-10b6-4a85-9786-1480c2eaabb6"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c94db56c-5086-4fe1-afd7-cf40ef3d56af"}}],"_postman_id":"d2dcf591-c4e0-4660-ac7e-dace71b22af1","description":""}],"id":"3ffddb84-2353-4644-ae81-00cf3be7cf90","_postman_id":"3ffddb84-2353-4644-ae81-00cf3be7cf90","description":""},{"name":"Users","item":[{"name":"verified or premium","item":[{"name":"Get a list of users who added your LINE Official Account as a friend (verified or premium accounts)","id":"4f959f60-eb6d-48a7-a274-e76a1162e25c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/profile/{{userid}}","urlObject":{"protocol":"https","path":["v2","bot","profile","{{userid}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f959f60-eb6d-48a7-a274-e76a1162e25c"}],"id":"65f10424-89c4-4d68-a17a-286b8b70e5ed","_postman_id":"65f10424-89c4-4d68-a17a-286b8b70e5ed","description":""},{"name":"Get Profile","id":"d2a9b336-be73-4ad8-ae72-0f10d696eed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/profile/{{userid}}","urlObject":{"protocol":"https","path":["v2","bot","profile","{{userid}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2a9b336-be73-4ad8-ae72-0f10d696eed3"}],"id":"5d26e35a-24bf-49f6-8023-243c0084a6d4","_postman_id":"5d26e35a-24bf-49f6-8023-243c0084a6d4","description":""},{"name":"Bot","item":[{"name":"Get bot info","id":"6464dc55-12a9-4ab1-b7aa-97fa4ce0aa71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/info","urlObject":{"protocol":"https","path":["v2","bot","info"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"a6ebe389-8d70-4df4-9383-c174178218f6","name":"Get bot info","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json","disabled":true}],"url":"https://api.line.me/v2/bot/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"9d7fa1ba-8328-43ef-8f2a-d94eaa38be5d"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Content-Length","value":"261"},{"key":"Expires","value":"Tue, 01 Jun 2021 14:46:21 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Tue, 01 Jun 2021 14:46:21 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"userId\": \"U38fa45fe626e225614b3aec24b2f24b2\",\n    \"basicId\": \"@042bjiva\",\n    \"displayName\": \"To The Moon\",\n    \"pictureUrl\": \"https://profile.line-scdn.net/0h9JwpQ6ZvZmVKCXCldIkZMnZMaAg9J2AtMmorVzpbMVNkaXRnIWd5AG4IbVZuOCc0dzh-B2dZOlQ0\",\n    \"chatMode\": \"bot\",\n    \"markAsReadMode\": \"auto\"\n}"}],"_postman_id":"6464dc55-12a9-4ab1-b7aa-97fa4ce0aa71"}],"id":"b7910b37-be6b-4f72-9609-be07955c81e9","_postman_id":"b7910b37-be6b-4f72-9609-be07955c81e9","description":""},{"name":"Group","item":[{"name":"verified or premium","item":[{"name":"Get group member user IDs","id":"c7a4a929-a13b-487e-979b-6c36087031b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/group/{{userid}}/members/ids","urlObject":{"protocol":"https","path":["v2","bot","group","{{userid}}","members","ids"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7a4a929-a13b-487e-979b-6c36087031b8"}],"id":"6ec5565e-ff7f-4144-9fba-42693a4660e9","_postman_id":"6ec5565e-ff7f-4144-9fba-42693a4660e9","description":""},{"name":"Get group summary","id":"ef41a914-c22d-4644-96de-a9b274c70514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/group/{groupId}/summary","urlObject":{"protocol":"https","path":["v2","bot","group","{groupId}","summary"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef41a914-c22d-4644-96de-a9b274c70514"},{"name":"Get number of users in a group","id":"5fc69e6a-21be-4281-ab4c-8b53673d91da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/group/{groupId}/members/count","urlObject":{"protocol":"https","path":["v2","bot","group","{groupId}","members","count"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"5fc69e6a-21be-4281-ab4c-8b53673d91da"},{"name":"Get group member profile","id":"bc7ad8aa-a5f5-4eac-a2fa-6fbbbaaf77ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/group/{groupId}/member/{{userid}}","urlObject":{"protocol":"https","path":["v2","bot","group","{groupId}","member","{{userid}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc7ad8aa-a5f5-4eac-a2fa-6fbbbaaf77ff"},{"name":"Leave group","id":"5da0bb32-7593-4a06-a901-4e756f7d677c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/group/{{groupId}}/leave","urlObject":{"protocol":"https","path":["v2","bot","group","{{groupId}}","leave"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"5da0bb32-7593-4a06-a901-4e756f7d677c"}],"id":"477625a3-63a4-4b15-b0e7-21519a7a8060","_postman_id":"477625a3-63a4-4b15-b0e7-21519a7a8060","description":""},{"name":"Room","item":[{"name":"verified or premium","item":[{"name":"Get room member user IDs","id":"178a1755-cb4a-4dd3-b219-25b4c30ef10e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/room/{roomId}/members/ids","urlObject":{"protocol":"https","path":["v2","bot","room","{roomId}","members","ids"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"178a1755-cb4a-4dd3-b219-25b4c30ef10e"}],"id":"90f1c566-9683-4c24-ba33-557293ad446e","_postman_id":"90f1c566-9683-4c24-ba33-557293ad446e","description":""},{"name":"Get number of users in a room","id":"f720551b-26d3-4343-a122-f8069f70aa7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/room/{roomId}/members/count","urlObject":{"protocol":"https","path":["v2","bot","room","{roomId}","members","count"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"f720551b-26d3-4343-a122-f8069f70aa7c"},{"name":"Get room member profile","id":"9b52f646-3276-4297-9572-52718573537f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/room/{{roomId}}/member/{{userid}}","urlObject":{"protocol":"https","path":["v2","bot","room","{{roomId}}","member","{{userid}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b52f646-3276-4297-9572-52718573537f"},{"name":"Leave room","id":"0d5eb820-2765-46f5-9a8b-9702648f982a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/room/{{roomId}}/leave","urlObject":{"protocol":"https","path":["v2","bot","room","{{roomId}}","leave"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d5eb820-2765-46f5-9a8b-9702648f982a"}],"id":"f44691e6-5f7e-441d-8f16-3cd1ab86b33c","_postman_id":"f44691e6-5f7e-441d-8f16-3cd1ab86b33c","description":""},{"name":"Insight","item":[{"name":"Get number of message deliveries","id":"2fc98a3e-4a9f-40e8-98f7-b3d47d0f55da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/insight/message/delivery?date=20210529","urlObject":{"protocol":"https","path":["v2","bot","insight","message","delivery"],"host":["api","line","me"],"query":[{"key":"date","value":"20210529"}],"variable":[]}},"response":[{"id":"7795940e-affe-4fca-bbd3-262141951adf","name":"Get number of message deliveries","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://api.line.me/v2/bot/insight/message/delivery?date=20210529","protocol":"https","host":["api","line","me"],"path":["v2","bot","insight","message","delivery"],"query":[{"key":"date","value":"20210529"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"317ce853-c938-4875-a4ad-5c8a3646131d"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"Sun, 30 May 2021 04:13:08 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sun, 30 May 2021 04:13:08 GMT"},{"key":"Content-Length","value":"87"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ready\",\n    \"apiBroadcast\": 1,\n    \"apiPush\": 1,\n    \"apiMulticast\": 2,\n    \"apiReply\": 3\n}"}],"_postman_id":"2fc98a3e-4a9f-40e8-98f7-b3d47d0f55da"},{"name":"Get number of followers","id":"421d3800-b188-47ca-812a-9c4b438a3de3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/insight/followers?date=20230715","urlObject":{"protocol":"https","path":["v2","bot","insight","followers"],"host":["api","line","me"],"query":[{"description":{"content":"<p>Format: yyyyMMdd (Example: 20191231)</p>\n","type":"text/plain"},"key":"date","value":"20230715"}],"variable":[]}},"response":[{"id":"337a3d22-eebe-4a60-8c2f-71d3ef266234","name":"Get number of followers","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":{"raw":"https://api.line.me/v2/bot/insight/followers?date=20210529","protocol":"https","host":["api","line","me"],"path":["v2","bot","insight","followers"],"query":[{"key":"date","value":"20210529"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"52b374b7-514f-49b9-90b9-40655c2f506a"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"Sat, 29 May 2021 07:46:16 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 07:46:16 GMT"},{"key":"Content-Length","value":"94"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ready\",\n    \"followers\": 11929,\n    \"targetedReaches\": 11101,\n    \"blocks\": 612\n}"}],"_postman_id":"421d3800-b188-47ca-812a-9c4b438a3de3"},{"name":"Get friend demographics","id":"2a7e0583-eb65-4f90-b055-7d061a160335","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/insight/demographic","urlObject":{"protocol":"https","path":["v2","bot","insight","demographic"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"b8d9306d-1c3d-40ed-bc52-632ddbf131df","name":"Get friend demographics","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/insight/demographic"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"3f8fcd8e-d3b4-4b03-a6c6-b0ce7a2559d7"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"Sat, 29 May 2021 07:44:37 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 07:44:37 GMT"},{"key":"Content-Length","value":"430"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"available\": true,\n    \"genders\": [\n        {\n            \"gender\": \"female\",\n            \"percentage\": 69.9\n        },\n        {\n            \"gender\": \"male\",\n            \"percentage\": 29.4\n        },\n        {\n            \"gender\": \"unknown\",\n            \"percentage\": 0.7\n        }\n    ],\n    \"ages\": [\n        {\n            \"age\": \"from20to24\",\n            \"percentage\": 45.1\n        },\n        {\n            \"age\": \"from15to19\",\n            \"percentage\": 19\n        },\n        {\n            \"age\": \"from25to29\",\n            \"percentage\": 10.8\n        },\n        {\n            \"age\": \"from30to34\",\n            \"percentage\": 9.1\n        },\n        {\n            \"age\": \"from35to39\",\n            \"percentage\": 6.6\n        },\n        {\n            \"age\": \"from40to44\",\n            \"percentage\": 3.4\n        },\n        {\n            \"age\": \"from50\",\n            \"percentage\": 2.7\n        },\n        {\n            \"age\": \"from45to49\",\n            \"percentage\": 2.5\n        },\n        {\n            \"age\": \"unknown\",\n            \"percentage\": 0.7\n        },\n        {\n            \"age\": \"from0to14\",\n            \"percentage\": 0\n        }\n    ],\n    \"areas\": [\n        {\n            \"area\": \"Bangkok\",\n            \"percentage\": 80\n        },\n        {\n            \"area\": \"Central\",\n            \"percentage\": 6.2\n        },\n        {\n            \"area\": \"Northern\",\n            \"percentage\": 3.8\n        },\n        {\n            \"area\": \"Southern\",\n            \"percentage\": 3.4\n        },\n        {\n            \"area\": \"NorthEastern\",\n            \"percentage\": 3.1\n        },\n        {\n            \"area\": \"Eastern\",\n            \"percentage\": 2.1\n        },\n        {\n            \"area\": \"unknown\",\n            \"percentage\": 1.1\n        },\n        {\n            \"area\": \"Western\",\n            \"percentage\": 0.4\n        },\n        {\n            \"area\": \"Pattaya\",\n            \"percentage\": 0\n        }\n    ],\n    \"appTypes\": [\n        {\n            \"appType\": \"ios\",\n            \"percentage\": 65.3\n        },\n        {\n            \"appType\": \"android\",\n            \"percentage\": 34.7\n        },\n        {\n            \"appType\": \"others\",\n            \"percentage\": 0\n        }\n    ],\n    \"subscriptionPeriods\": [\n        {\n            \"subscriptionPeriod\": \"over365days\",\n            \"percentage\": 49.6\n        },\n        {\n            \"subscriptionPeriod\": \"within365days\",\n            \"percentage\": 26.8\n        },\n        {\n            \"subscriptionPeriod\": \"within180days\",\n            \"percentage\": 16.7\n        },\n        {\n            \"subscriptionPeriod\": \"within90days\",\n            \"percentage\": 4.6\n        },\n        {\n            \"subscriptionPeriod\": \"within30days\",\n            \"percentage\": 2\n        },\n        {\n            \"subscriptionPeriod\": \"within7days\",\n            \"percentage\": 0.4\n        }\n    ]\n}"}],"_postman_id":"2a7e0583-eb65-4f90-b055-7d061a160335"},{"name":"Get user interaction statistics","id":"afc24932-63b8-4ffc-8c2e-61d0c4ccdef3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/insight/message/event?requestId=f70dd685-499a-4231-a441-f24b8d4fba21","urlObject":{"protocol":"https","path":["v2","bot","insight","message","event"],"host":["api","line","me"],"query":[{"key":"requestId","value":"f70dd685-499a-4231-a441-f24b8d4fba21"}],"variable":[]}},"response":[],"_postman_id":"afc24932-63b8-4ffc-8c2e-61d0c4ccdef3"}],"id":"9897f603-9045-47cf-ba9e-7dd5797aa961","_postman_id":"9897f603-9045-47cf-ba9e-7dd5797aa961","description":""},{"name":"Webhook Setting","item":[{"name":"New Request","id":"30796f07-cb9e-4390-8ad7-b4cdb1c1bd33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","equals":true},{"key":"Content-Type","value":"application/json","equals":true}],"body":{"mode":"raw","raw":"{\n    \"endpoint\": \"{{webhook_endpoint}}\"\n}"},"url":"https://api.line.me/v2/bot/channel/webhook/endpoint","urlObject":{"protocol":"https","path":["v2","bot","channel","webhook","endpoint"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"9f787ed1-3cbf-4ac2-a58e-bcc9f89de2fa","name":"New Request","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{access_token}}","equals":true},{"key":"Content-Type","value":"application/json","equals":true}],"body":{"mode":"raw","raw":"{\n    \"endpoint\": \"https://aa65b537f51d.ngrok.io/line-cryptocurrency/asia-northeast1/Chatbot\"\n}"},"url":"https://api.line.me/v2/bot/channel/webhook/endpoint"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"496bb8b3-e2e3-448e-9187-eee8438dc147"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"Sat, 29 May 2021 09:22:38 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 09:22:38 GMT"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"30796f07-cb9e-4390-8ad7-b4cdb1c1bd33"},{"name":"Get webhook endpoint information","id":"ef6d36a1-64dc-4872-97c3-21f8faca47ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"file","file":{"src":""}},"url":"https://api.line.me/v2/bot/channel/webhook/endpoint","urlObject":{"protocol":"https","path":["v2","bot","channel","webhook","endpoint"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"11c4321f-543b-4112-b39d-146b3b2f47c6","name":"Get webhook endpoint information","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.line.me/v2/bot/channel/webhook/endpoint"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"bbbcd629-87ad-45e7-a1b7-7aaf897e2165"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Content-Length","value":"102"},{"key":"Expires","value":"Sat, 29 May 2021 09:18:50 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 09:18:50 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"endpoint\": \"https://aa65b537f51d.ngrok.io/line-cryptocurrency/asia-northeast1/Chatbot\",\n    \"active\": true\n}"}],"_postman_id":"ef6d36a1-64dc-4872-97c3-21f8faca47ec"},{"name":"Test webhook endpoint","id":"82aff0f6-a192-4121-8e2c-6faab005749c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"endpoint\": \"{{webhook_endpoint}}\"\n}"},"url":"https://api.line.me/v2/bot/channel/webhook/test","urlObject":{"protocol":"https","path":["v2","bot","channel","webhook","test"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"a78aa617-8d1b-414c-9426-67286e00e465","name":"Test webhook endpoint","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"endpoint\": \"https://aa65b537f51d.ngrok.io/line-cryptocurrency/asia-northeast1/Chatbot\"\n}"},"url":"https://api.line.me/v2/bot/channel/webhook/test"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"7f27f0ce-ecb6-4ec9-9cd1-ed3671f9c9fb"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"Sat, 29 May 2021 09:20:55 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Sat, 29 May 2021 09:20:55 GMT"},{"key":"Content-Length","value":"131"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"timestamp\": \"2021-05-29T09:20:55.364610Z\",\n    \"statusCode\": 500,\n    \"reason\": \"ERROR_STATUS_CODE\",\n    \"detail\": \"500\"\n}"}],"_postman_id":"82aff0f6-a192-4121-8e2c-6faab005749c"}],"id":"d89501b1-5fb5-423b-b254-0204beb3758c","_postman_id":"d89501b1-5fb5-423b-b254-0204beb3758c","description":""},{"name":"Richmenu","item":[{"name":"Set Richmenu","item":[{"name":"Batch","item":[{"name":"Replace or unlink (Batch 3 req/hour)","item":[{"name":"Replace","id":"27fd4b83-2f5e-4187-ae24-d3713c240c52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"operations\": [\n    {\n      \"type\": \"link\",\n      \"from\": \"{{richmenuId_a}}\",\n      \"to\": \"{{richmenuId_b}}\"\n    }\n  ],\n  \"resumeRequestKey\": \"7e582b59-3fb1-456f-954b-a7b7001e62e2\"\n}"},"url":"https://api.line.me/v2/bot/richmenu/batch","urlObject":{"protocol":"https","path":["v2","bot","richmenu","batch"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"27fd4b83-2f5e-4187-ae24-d3713c240c52"},{"name":"Unlink","id":"28dca2cf-1a2a-4f57-b2e8-48895dce960f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"operations\": [\n    {\n      \"type\": \"link\",\n      \"from\": \"{{richmenuId_a}}\",\n      \"to\": \"{{richmenuId_b}}\"\n    }\n  ],\n  \"resumeRequestKey\": \"aad73149-0e5b-4c9f-82fa-8d32e5293c8a\"\n}"},"url":"https://api.line.me/v2/bot/richmenu/batch","urlObject":{"protocol":"https","path":["v2","bot","richmenu","batch"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"28dca2cf-1a2a-4f57-b2e8-48895dce960f"},{"name":"Unlink All","id":"1d0673f6-6b73-41f9-8a24-7c97fc602895","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"operations\": [\n    {\n      \"type\": \"unlinkAll\"\n    }\n  ],\n  \"resumeRequestKey\": \"603804c8-dcbb-45a4-8b48-f4eeb5ec55d4\"\n}"},"url":"https://api.line.me/v2/bot/richmenu/batch","urlObject":{"protocol":"https","path":["v2","bot","richmenu","batch"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d0673f6-6b73-41f9-8a24-7c97fc602895"}],"id":"36486a47-ff93-424a-ba28-dc8cbf04ce6b","description":"<p><a href>https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users</a></p>\n","_postman_id":"36486a47-ff93-424a-ba28-dc8cbf04ce6b"},{"name":"Get the status of rich menu batch control","id":"124d74e3-610f-44e6-b61d-6f999d2c5139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/richmenu/progress/batch?requestId={{request_id}}","urlObject":{"protocol":"https","path":["v2","bot","richmenu","progress","batch"],"host":["api","line","me"],"query":[{"description":{"content":"<p>A request ID used to batch control the rich menu linked to the user. Each Messaging API request has a request ID. Find it in the response headers.</p>\n","type":"text/plain"},"key":"requestId","value":"{{request_id}}"}],"variable":[]}},"response":[],"_postman_id":"124d74e3-610f-44e6-b61d-6f999d2c5139"},{"name":"Validate a request of rich menu batch control","id":"2b9efe7b-a6e2-4638-821f-73ba6103c144","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {channel access token}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"operations\": [\n    {\n      \"type\": \"link\",\n      \"from\": \"{{richmenuId_a}}\",\n      \"to\": \"{{richmenuId_b}}\"\n    }\n  ],\n  \"resumeRequestKey\": \"f38ee936-a0f6-4bfc-a2de-0344258be2a0\"\n}"},"url":"https://api.line.me/v2/bot/richmenu/validate/batch","urlObject":{"protocol":"https","path":["v2","bot","richmenu","validate","batch"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b9efe7b-a6e2-4638-821f-73ba6103c144"}],"id":"1c9e9440-d589-4265-85ab-4bb546c96d50","_postman_id":"1c9e9440-d589-4265-85ab-4bb546c96d50","description":""},{"name":"Create a rich menu","event":[{"listen":"test","script":{"id":"f23e31ac-fb13-4943-969f-7cdfbf3d9f24","exec":["var jsonData = pm.response.json();","pm.globals.set(\"richMenuId\", jsonData.richMenuId);"],"type":"text/javascript","packages":{}}}],"id":"4f571da9-1a68-4b8c-973f-d3f090ea94e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"size\": {\r\n    \"width\": 2500,\r\n    \"height\": 843\r\n  },\r\n  \"selected\": true,\r\n  \"name\": \"Rich Menu 1\",\r\n  \"chatBarText\": \"Click\",\r\n  \"areas\": [\r\n    {\r\n      \"bounds\": {\r\n        \"x\": 64,\r\n        \"y\": 68,\r\n        \"width\": 765,\r\n        \"height\": 706\r\n      },\r\n      \"action\": {\r\n        \"type\": \"message\",\r\n        \"text\": \"demo\"\r\n      }\r\n    },\r\n    {\r\n      \"bounds\": {\r\n        \"x\": 857,\r\n        \"y\": 77,\r\n        \"width\": 782,\r\n        \"height\": 699\r\n      },\r\n      \"action\": {\r\n        \"type\": \"message\",\r\n        \"text\": \"bill7\"\r\n      }\r\n    },\r\n    {\r\n      \"bounds\": {\r\n        \"x\": 1707,\r\n        \"y\": 94,\r\n        \"width\": 757,\r\n        \"height\": 682\r\n      },\r\n      \"action\": {\r\n        \"type\": \"message\",\r\n        \"text\": \"queue\"\r\n      }\r\n    }\r\n  ]\r\n}"},"url":"https://api.line.me/v2/bot/richmenu","urlObject":{"protocol":"https","path":["v2","bot","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f571da9-1a68-4b8c-973f-d3f090ea94e8"},{"name":"Validate rich menu object","id":"9b2a1c6a-5a1d-46cd-b5f2-2bf300efb834","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"size\": {\n      \"width\": 2500,\n      \"height\": 1686\n    },\n    \"selected\": false,\n    \"name\": \"Nice richmenu\",\n    \"chatBarText\": \"Tap here\",\n    \"areas\": [\n      {\n        \"bounds\": {\n          \"x\": 0,\n          \"y\": 0,\n          \"width\": 2500,\n          \"height\": 1686\n        },\n        \"action\": {\n          \"type\": \"postback\",\n          \"data\": \"action=buy&itemid=123\"\n        }\n      }\n   ]\n}"},"url":"https://api.line.me/v2/bot/richmenu/validate","urlObject":{"protocol":"https","path":["v2","bot","richmenu","validate"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b2a1c6a-5a1d-46cd-b5f2-2bf300efb834"},{"name":"Upload the rich menu image","id":"bb990d9b-90ce-498c-a880-4c3de77de5d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"},{"key":"Content-Type","value":"image/jpeg","type":"text"}],"body":{"mode":"file","file":{"src":"/Users/thepnatee/Desktop/RichMenu_DesignTemplate/Compact/Large/richmenu-template-guide-02.png"}},"url":"https://api-data.line.me/v2/bot/richmenu/{{richMenuId}}/content","description":"<p>Image format: JPEG or PNG\nImage size (pixels): 2500x1686, 2500x843, 1200x810, 1200x405, 800x540, 800x270\nMaximum file size: 1 MB</p>\n","urlObject":{"protocol":"https","path":["v2","bot","richmenu","{{richMenuId}}","content"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb990d9b-90ce-498c-a880-4c3de77de5d5"},{"name":"Set the default rich menu","id":"9dfc3bd0-9493-4c97-b873-4932bd815543","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/user/all/richmenu/{{richMenuId}}","urlObject":{"protocol":"https","path":["v2","bot","user","all","richmenu","{{richMenuId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"9dfc3bd0-9493-4c97-b873-4932bd815543"},{"name":"Link a rich menu to an individual user","id":"6c2a93cf-cc96-4e65-be80-feaa701ea4fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/user/{{userid}}/richmenu/{{richMenuId}}","urlObject":{"protocol":"https","path":["v2","bot","user","{{userid}}","richmenu","{{richMenuId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c2a93cf-cc96-4e65-be80-feaa701ea4fa"},{"name":"Link a rich menu to multiple users","id":"007264ff-0557-44b8-a175-4979ade0850f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"richMenuId\": \"{{richMenuId}}\",\r\n    \"userIds\": [\r\n        \"Ua9980474ba3035aace9b67fc001176ac\",\r\n        \"U8d4922ec49aad8fa19a6ebeff30dc41e\",\r\n        \"Ue858917ffd40b79694033344f04dcf5a\",\r\n        \"U49b18c760f3a022cff5ecef7c693648e\",\r\n        \"Ub3ecb6b608b8bcc41f40a03237347c53\",\r\n        \"U42bef9cdf599def8e8fb97a9cf3a7380\",\r\n        \"Ue0c4634717a0e011e4577cfbd21dea34\",\r\n        \"U8e8a957c9ca782d0b183c29e0cf1e1d9\",\r\n        \"Ud73bc4eb54356cf1807e30a041ace614\",\r\n        \"Ue16ebe663de49378194f106a684d08b1\",\r\n        \"U3ef3eb24acbc776018198bfaf9f5a78b\",\r\n        \"U255894952969e7b92fc06009797e6c5e\",\r\n        \"Ua0d3ad60a123a4bdd01f2dd4d27fb16a\",\r\n        \"Ue842ae1c3bcf288646f1bcbe42df9456\",\r\n        \"Ud06bff529511cfb66da44840b3454d8a\",\r\n        \"U0e8c0b83346e4a34916385864e9c12d3\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.line.me/v2/bot/richmenu/bulk/link","urlObject":{"protocol":"https","path":["v2","bot","richmenu","bulk","link"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"007264ff-0557-44b8-a175-4979ade0850f"}],"id":"1180dc18-dc25-42e9-93db-f9e4c1596dcc","description":"<p>เริ่มต้นการใช้งาน Richmenu</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2a528860-0ebd-4079-8f2d-e190642c2038"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9c2826bf-4d7d-4a8a-9da3-c76f448086df"}}],"_postman_id":"1180dc18-dc25-42e9-93db-f9e4c1596dcc"},{"name":"Set Richmenu Switch Action","item":[{"name":"[1]Create a rich menu A","event":[{"listen":"test","script":{"id":"e9e8779c-e948-4bb8-a62b-17fd13319f96","exec":["var jsonData = pm.response.json();","pm.globals.set(\"richMenuId_A\", jsonData.richMenuId);"],"type":"text/javascript","packages":{}}}],"id":"192cd14f-8b6d-4258-bd4d-74903c9787d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"size\": {\r\n        \"width\": 2500,\r\n        \"height\": 1686\r\n    },\r\n    \"selected\": true,\r\n    \"name\": \"Staff\",\r\n    \"chatBarText\": \"Click\",\r\n    \"areas\": [\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1210,\r\n                \"y\": 259,\r\n                \"width\": 1193,\r\n                \"height\": 610\r\n            },\r\n            \"action\": {\r\n                \"type\": \"uri\",\r\n                \"uri\": \"https://liff.line.me/xxxxx\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1222,\r\n                \"y\": 1082,\r\n                \"width\": 1198,\r\n                \"height\": 468\r\n            },\r\n            \"action\": {\r\n                \"type\": \"uri\",\r\n                \"uri\": \"https://liff.line.me/xxxx\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 75,\r\n                \"y\": 262,\r\n                \"width\": 938,\r\n                \"height\": 1351\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"ข้อมูลโครงการ\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1998,\r\n                \"y\": 38,\r\n                \"width\": 468,\r\n                \"height\": 131\r\n            },\r\n            \"action\": {\r\n                \"type\": \"richmenuswitch\",\r\n                \"richMenuAliasId\": \"richmenu-c\",\r\n                \"data\": \"richmenu=c\"\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/richmenu","urlObject":{"protocol":"https","path":["v2","bot","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"192cd14f-8b6d-4258-bd4d-74903c9787d5"},{"name":"[2]Create a rich menu B","event":[{"listen":"test","script":{"id":"0f46995b-9a25-4910-9332-5326736692b6","exec":["var jsonData = pm.response.json();","pm.globals.set(\"richMenuId_B\", jsonData.richMenuId);"],"type":"text/javascript","packages":{}}}],"id":"dbf5b714-a849-450e-90be-cdd079b6bace","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"size\": {\r\n        \"width\": 2500,\r\n        \"height\": 1686\r\n    },\r\n    \"selected\": true,\r\n    \"name\": \"Manager\",\r\n    \"chatBarText\": \"Click\",\r\n    \"areas\": [\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1210,\r\n                \"y\": 259,\r\n                \"width\": 1193,\r\n                \"height\": 610\r\n            },\r\n            \"action\": {\r\n                \"type\": \"uri\",\r\n                \"uri\": \"https://liff.line.me/xxxx\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1850,\r\n                \"y\": 1437,\r\n                \"width\": 503,\r\n                \"height\": 187\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"ข้อมูลรายงาน\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1160,\r\n                \"y\": 955,\r\n                \"width\": 564,\r\n                \"height\": 679\r\n            },\r\n            \"action\": {\r\n                \"type\": \"uri\",\r\n                \"uri\": \"https://liff.line.me/xxxx\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1785,\r\n                \"y\": 955,\r\n                \"width\": 632,\r\n                \"height\": 672\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"ข้อมูลรายงาน\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 75,\r\n                \"y\": 262,\r\n                \"width\": 938,\r\n                \"height\": 1351\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"ข้อมูลโครงการ\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1959,\r\n                \"y\": 24,\r\n                \"width\": 496,\r\n                \"height\": 123\r\n            },\r\n            \"action\": {\r\n                \"type\": \"richmenuswitch\",\r\n                \"richMenuAliasId\": \"richmenu-d\",\r\n                \"data\": \"richmenu=d\"\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/richmenu","urlObject":{"protocol":"https","path":["v2","bot","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbf5b714-a849-450e-90be-cdd079b6bace"},{"name":"[3]Create a rich menu C","event":[{"listen":"test","script":{"id":"0f46995b-9a25-4910-9332-5326736692b6","exec":["var jsonData = pm.response.json();","pm.globals.set(\"richMenuId_C\", jsonData.richMenuId);"],"type":"text/javascript","packages":{}}}],"id":"549d724c-8f8b-4f06-b0a3-b8c3ae34eb2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"size\": {\r\n        \"width\": 2500,\r\n        \"height\": 1686\r\n    },\r\n    \"selected\": true,\r\n    \"name\": \"Page2-1\",\r\n    \"chatBarText\": \"Click\",\r\n    \"areas\": [\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 64,\r\n                \"y\": 147,\r\n                \"width\": 1581,\r\n                \"height\": 744\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"xxxx\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1709,\r\n                \"y\": 192,\r\n                \"width\": 738,\r\n                \"height\": 697\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"ข้อมูลองค์กร\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 81,\r\n                \"y\": 985,\r\n                \"width\": 752,\r\n                \"height\": 643\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"IT Service\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 927,\r\n                \"y\": 979,\r\n                \"width\": 618,\r\n                \"height\": 639\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"IP/IC\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1662,\r\n                \"y\": 953,\r\n                \"width\": 716,\r\n                \"height\": 669\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"Contact BU\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 2021,\r\n                \"y\": 19,\r\n                \"width\": 415,\r\n                \"height\": 128\r\n            },\r\n            \"action\": {\r\n                \"type\": \"richmenuswitch\",\r\n                \"richMenuAliasId\": \"richmenu-a\",\r\n                \"data\": \"richmenu=a\"\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/richmenu","urlObject":{"protocol":"https","path":["v2","bot","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"549d724c-8f8b-4f06-b0a3-b8c3ae34eb2d"},{"name":"[3]Create a rich menu D","event":[{"listen":"test","script":{"id":"0f46995b-9a25-4910-9332-5326736692b6","exec":["var jsonData = pm.response.json();","pm.globals.set(\"richMenuId_D\", jsonData.richMenuId);"],"type":"text/javascript","packages":{}}}],"id":"08f9e485-a68a-4dbf-be76-fc9839f8eef6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"size\": {\r\n        \"width\": 2500,\r\n        \"height\": 1686\r\n    },\r\n    \"selected\": true,\r\n    \"name\": \"Page2-2\",\r\n    \"chatBarText\": \"Click\",\r\n    \"areas\": [\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 64,\r\n                \"y\": 147,\r\n                \"width\": 1581,\r\n                \"height\": 744\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"Calendar\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1709,\r\n                \"y\": 192,\r\n                \"width\": 738,\r\n                \"height\": 697\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"ข้อมูลองค์กร\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 81,\r\n                \"y\": 985,\r\n                \"width\": 752,\r\n                \"height\": 643\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"IT Service\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 927,\r\n                \"y\": 979,\r\n                \"width\": 618,\r\n                \"height\": 639\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"IP/IC\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 1662,\r\n                \"y\": 953,\r\n                \"width\": 716,\r\n                \"height\": 669\r\n            },\r\n            \"action\": {\r\n                \"type\": \"message\",\r\n                \"text\": \"Contact\"\r\n            }\r\n        },\r\n        {\r\n            \"bounds\": {\r\n                \"x\": 2021,\r\n                \"y\": 19,\r\n                \"width\": 415,\r\n                \"height\": 128\r\n            },\r\n            \"action\": {\r\n                \"type\": \"richmenuswitch\",\r\n                \"richMenuAliasId\": \"richmenu-b\",\r\n                \"data\": \"richmenu=b\"\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/richmenu","urlObject":{"protocol":"https","path":["v2","bot","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"08f9e485-a68a-4dbf-be76-fc9839f8eef6"},{"name":"[4]Upload the rich menu image A","id":"885db784-7825-488f-a792-969dac398b94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"image/jpeg"}],"body":{"mode":"file","file":{"src":""}},"url":"https://api-data.line.me/v2/bot/richmenu/{{richMenuId_A}}/content","description":"<p>Image format: JPEG or PNG\nImage size (pixels): 2500x1686, 2500x843, 1200x810, 1200x405, 800x540, 800x270\nMaximum file size: 1 MB</p>\n","urlObject":{"protocol":"https","path":["v2","bot","richmenu","{{richMenuId_A}}","content"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"885db784-7825-488f-a792-969dac398b94"},{"name":"[5]Upload the rich menu image B","id":"20d9da39-1690-4d69-a7d7-275751300c43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"image/jpeg"}],"body":{"mode":"file","file":{"src":""}},"url":"https://api-data.line.me/v2/bot/richmenu/{{richMenuId_B}}/content","description":"<p>Image format: JPEG or PNG\nImage size (pixels): 2500x1686, 2500x843, 1200x810, 1200x405, 800x540, 800x270\nMaximum file size: 1 MB</p>\n","urlObject":{"protocol":"https","path":["v2","bot","richmenu","{{richMenuId_B}}","content"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"20d9da39-1690-4d69-a7d7-275751300c43"},{"name":"[6]Upload the rich menu image C","id":"358d750c-7a69-499a-acbd-48cceff495ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"},{"key":"Content-Type","value":"image/jpeg","type":"text"}],"body":{"mode":"file","file":{"src":""}},"url":"https://api-data.line.me/v2/bot/richmenu/{{richMenuId_C}}/content","description":"<p>Image format: JPEG or PNG\nImage size (pixels): 2500x1686, 2500x843, 1200x810, 1200x405, 800x540, 800x270\nMaximum file size: 1 MB</p>\n","urlObject":{"protocol":"https","path":["v2","bot","richmenu","{{richMenuId_C}}","content"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"358d750c-7a69-499a-acbd-48cceff495ce"},{"name":"[6]Upload the rich menu image D","id":"e8fdc08e-4499-4779-a35d-41dbd98fa8b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"image/jpeg"}],"body":{"mode":"file","file":{"src":""}},"url":"https://api-data.line.me/v2/bot/richmenu/{{richMenuId_D}}/content","description":"<p>Image format: JPEG or PNG\nImage size (pixels): 2500x1686, 2500x843, 1200x810, 1200x405, 800x540, 800x270\nMaximum file size: 1 MB</p>\n","urlObject":{"protocol":"https","path":["v2","bot","richmenu","{{richMenuId_D}}","content"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8fdc08e-4499-4779-a35d-41dbd98fa8b5"},{"name":"[7]Set the default rich menu A","id":"fcb7d8a8-7cdb-48a1-a9ab-57ed039cd0e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/user/all/richmenu/{{richMenuId_A}}","urlObject":{"protocol":"https","path":["v2","bot","user","all","richmenu","{{richMenuId_A}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"fcb7d8a8-7cdb-48a1-a9ab-57ed039cd0e5"},{"name":"[8]Create rich menu alias A","id":"39a853b3-9b57-40c2-abee-fdfb53edb857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"richMenuAliasId\": \"richmenu-a\",\r\n    \"richMenuId\": \"{{richMenuId_A}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.line.me/v2/bot/richmenu/alias","urlObject":{"protocol":"https","path":["v2","bot","richmenu","alias"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"39a853b3-9b57-40c2-abee-fdfb53edb857"},{"name":"[9]Create rich menu alias B","id":"8c87a9c2-a61c-4cbb-a1b7-215817ec6fa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"richMenuAliasId\": \"richmenu-b\",\r\n    \"richMenuId\": \"{{richMenuId_B}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.line.me/v2/bot/richmenu/alias","urlObject":{"protocol":"https","path":["v2","bot","richmenu","alias"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c87a9c2-a61c-4cbb-a1b7-215817ec6fa8"},{"name":"[10]Create rich menu alias C","id":"5b77a1ea-832a-45aa-8a8a-02e3354858ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"richMenuAliasId\": \"richmenu-c\",\r\n    \"richMenuId\": \"{{richMenuId_C}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.line.me/v2/bot/richmenu/alias","urlObject":{"protocol":"https","path":["v2","bot","richmenu","alias"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b77a1ea-832a-45aa-8a8a-02e3354858ed"},{"name":"[10]Create rich menu alias D","id":"ced064b4-eee8-41db-a501-be37741f5437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"richMenuAliasId\": \"richmenu-d\",\r\n    \"richMenuId\": \"{{richMenuId_D}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.line.me/v2/bot/richmenu/alias","urlObject":{"protocol":"https","path":["v2","bot","richmenu","alias"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"ced064b4-eee8-41db-a501-be37741f5437"}],"id":"6d0c9fc3-fbe7-40d2-b0a1-d97914ccc2b5","description":"<p>เริ่มต้นการใช้งาน Richmenu</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b9e03685-71f6-49a5-b6af-cf7b551a93da"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"04acc9d5-b256-4675-8782-03d211263291"}}],"_postman_id":"6d0c9fc3-fbe7-40d2-b0a1-d97914ccc2b5"},{"name":"GET","item":[{"name":"menu alias (Switch Action)","item":[{"name":"Get rich menu alias information","id":"b82cafeb-aad5-4450-83e9-99e47f3e3eb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/richmenu/alias/richmenu-a","urlObject":{"protocol":"https","path":["v2","bot","richmenu","alias","richmenu-a"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"b82cafeb-aad5-4450-83e9-99e47f3e3eb2"},{"name":"Get list of rich menu alias","id":"8662282b-644d-44d5-b114-18ff4198f220","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/richmenu/alias/list","urlObject":{"protocol":"https","path":["v2","bot","richmenu","alias","list"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"8662282b-644d-44d5-b114-18ff4198f220"}],"id":"4139264e-d40a-4477-a58b-dc1217c2ac5b","_postman_id":"4139264e-d40a-4477-a58b-dc1217c2ac5b","description":""},{"name":"Get a rich menu list","event":[{"listen":"test","script":{"id":"56154983-ff93-4225-a4bc-380b4e395ad2","exec":["var jsonData = pm.response.json();","pm.globals.set(\"richMenuId\", jsonData.richmenus[0].richMenuId);","","pm.test(\"Status code is 200\", function () {","   pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"79d59042-4ad5-43ab-a0c8-6f95e71d2064","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.line.me/v2/bot/richmenu/list","urlObject":{"protocol":"https","path":["v2","bot","richmenu","list"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"79d59042-4ad5-43ab-a0c8-6f95e71d2064"},{"name":"Get a rich menu","id":"448f901a-939c-44e9-a0c8-ceb5ccd85f7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.line.me/v2/bot/richmenu/{{richMenuId}}","urlObject":{"protocol":"https","path":["v2","bot","richmenu","{{richMenuId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"448f901a-939c-44e9-a0c8-ceb5ccd85f7a"},{"name":"Get the default rich menu ID","id":"809d5274-4d47-4986-8b7d-5fe1c3e59558","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.line.me/v2/bot/user/all/richmenu","urlObject":{"protocol":"https","path":["v2","bot","user","all","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"809d5274-4d47-4986-8b7d-5fe1c3e59558"},{"name":"Get the rich menu ID linked to a user","id":"76c71503-4fe4-4042-9c01-96b8f20a4cdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.line.me/v2/bot/user/{{userId}}/richmenu","urlObject":{"protocol":"https","path":["v2","bot","user","{{userId}}","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"76c71503-4fe4-4042-9c01-96b8f20a4cdb"},{"name":"Download rich menu image","id":"df33fa51-ca74-449f-9308-afbcf34d831e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"image/jpeg"}],"body":{"mode":"file","file":{"src":""}},"url":"https://api-data.line.me/v2/bot/richmenu/{{richMenuId}}/content","urlObject":{"protocol":"https","path":["v2","bot","richmenu","{{richMenuId}}","content"],"host":["api-data","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"df33fa51-ca74-449f-9308-afbcf34d831e"}],"id":"8cf2f235-09ca-4e19-bf88-9473ec1a753c","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"57a92981-9049-427f-adc0-188d24c8d861"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"fd7a7729-1e6c-488a-b937-ac63d7968fb6"}}],"_postman_id":"8cf2f235-09ca-4e19-bf88-9473ec1a753c","description":""},{"name":"DELETE","item":[{"name":"menu alias (Switch Action)","item":[{"name":"Delete rich menu alias","id":"519a59fe-e501-41d6-9bbb-4cbcb6a935b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/bot/richmenu/alias/richmenu-a","urlObject":{"protocol":"https","path":["v2","bot","richmenu","alias","richmenu-a"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"519a59fe-e501-41d6-9bbb-4cbcb6a935b4"}],"id":"91afa1d5-3070-4c9d-bd3a-8e07508ec4ae","_postman_id":"91afa1d5-3070-4c9d-bd3a-8e07508ec4ae","description":""},{"name":"Delete a rich menu","id":"dc201f79-cd83-451a-8c05-1acc856ee7dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.line.me/v2/bot/richmenu/{{richMenuId}}","urlObject":{"protocol":"https","path":["v2","bot","richmenu","{{richMenuId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc201f79-cd83-451a-8c05-1acc856ee7dc"},{"name":"Cancel the default rich menu","id":"30daa8b2-5b22-4a37-a2d0-e39679416ae7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://api.line.me/v2/bot/user/all/richmenu","urlObject":{"protocol":"https","path":["v2","bot","user","all","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"30daa8b2-5b22-4a37-a2d0-e39679416ae7"},{"name":"Unlink a rich menu from a user","id":"6ca91e5e-12d6-43b2-a22e-27909685a6cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/user/{{userid}}/richmenu","urlObject":{"protocol":"https","path":["v2","bot","user","{{userid}}","richmenu"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ca91e5e-12d6-43b2-a22e-27909685a6cc"},{"name":"Unlink rich menus from multiple users","id":"2d3b6f1c-9045-491f-8bc7-727a631171f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"userIds\":[\"{{userid}}\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.line.me/v2/bot/richmenu/bulk/unlink","urlObject":{"protocol":"https","path":["v2","bot","richmenu","bulk","unlink"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d3b6f1c-9045-491f-8bc7-727a631171f6"}],"id":"1791146c-6413-4377-b821-97b3c8482732","_postman_id":"1791146c-6413-4377-b821-97b3c8482732","description":""}],"id":"8a6a98a8-1041-4f41-a9ad-42fc5e16029c","_postman_id":"8a6a98a8-1041-4f41-a9ad-42fc5e16029c","description":""},{"name":"Managing Audience (60 requests per minute)","item":[{"name":"Create audience for uploading user IDs (by JSON)","id":"fe2b082a-fe92-433d-b83c-8a47da207181","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"audienceGroupName_01\",\n    \"uploadDescription\": \"demo audienceGroupName\",\n    \"isIfaAudience\": \"false\",\n    \"audiences\": [\n        {\n            \"id\": \"{{userId}}\"\n        }\n    ],\n    \"audiences[].id\": \"user id\"\n}"},"url":"https://api.line.me/v2/bot/audienceGroup/upload","urlObject":{"protocol":"https","path":["v2","bot","audienceGroup","upload"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"c43b918b-33c6-4e89-9245-f71418497cfe","name":"Create audience for uploading user IDs (by JSON)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"audienceGroupName_01\",\n    \"uploadDescription\": \"demo audienceGroupName\",\n    \"isIfaAudience\": \"false\",\n    \"audiences\": [\n        {\n            \"id\": \"U61198bb44f6c28c97c5818617464ba1d\"\n        }\n    ],\n    \"audiences[].id\": \"user id\"\n}"},"url":"https://api.line.me/v2/bot/audienceGroup/upload"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"214"},{"key":"x-line-request-id","value":"35f4d28f-ed3f-496e-b284-a4b92262602e"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Expires","value":"Tue, 01 Jun 2021 14:38:10 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Tue, 01 Jun 2021 14:38:10 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"audienceGroupId\": 9517397392712,\n    \"createRoute\": \"MESSAGING_API\",\n    \"type\": \"UPLOAD\",\n    \"description\": \"audienceGroupName_01\",\n    \"created\": 1622558289,\n    \"permission\": \"READ_WRITE\",\n    \"expireTimestamp\": 1638110289,\n    \"isIfaAudience\": false\n}"}],"_postman_id":"fe2b082a-fe92-433d-b83c-8a47da207181"},{"name":"Rename an audience","id":"4ef4cb54-01ba-44d0-8277-045c9485b574","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"audienceGroupName_01_dev2\"\n}"},"url":"https://api.line.me/v2/bot/audienceGroup/{{audienceId}}/updateDescription","urlObject":{"protocol":"https","path":["v2","bot","audienceGroup","{{audienceId}}","updateDescription"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"f6b61721-bfec-4af8-b7e8-9334abd38505","name":"Rename an audience","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"description\": \"audienceGroupName_01_dev2\"\n}"},"url":"https://api.line.me/v2/bot/audienceGroup/9517397392712/updateDescription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2"},{"key":"x-line-request-id","value":"90554552-5289-4fe4-8809-829b1c53f560"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Expires","value":"Tue, 01 Jun 2021 14:38:29 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Tue, 01 Jun 2021 14:38:29 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"4ef4cb54-01ba-44d0-8277-045c9485b574"},{"name":"Get audience data","id":"5e3492cc-4ad7-4af6-ba52-0abb1b58fa7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/audienceGroup/{{audienceId}}","urlObject":{"protocol":"https","path":["v2","bot","audienceGroup","{{audienceId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"4606216e-dd06-4fb7-8b36-708bffd4842f","name":"Get audience data","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/audienceGroup/4552910771427"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"502"},{"key":"x-line-request-id","value":"6d72796e-851e-4a22-862c-d93eb28e2683"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Expires","value":"Tue, 01 Jun 2021 14:27:38 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Tue, 01 Jun 2021 14:27:38 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"audienceGroup\": {\n        \"audienceGroupId\": 4552910771427,\n        \"createRoute\": \"MESSAGING_API\",\n        \"type\": \"UPLOAD\",\n        \"description\": \"audienceGroupName_01_dev2\",\n        \"status\": \"READY\",\n        \"audienceCount\": 1,\n        \"created\": 1622557376,\n        \"permission\": \"READ_WRITE\",\n        \"expireTimestamp\": 1638109376,\n        \"isIfaAudience\": false\n    },\n    \"jobs\": [\n        {\n            \"audienceGroupJobId\": 44885008,\n            \"audienceGroupId\": 4552910771427,\n            \"description\": \"demo audienceGroupName\",\n            \"type\": \"DIFF_ADD\",\n            \"status\": \"FINISHED\",\n            \"failedType\": null,\n            \"audienceCount\": 1,\n            \"created\": 1622557376,\n            \"jobStatus\": \"FINISHED\"\n        }\n    ]\n}"}],"_postman_id":"5e3492cc-4ad7-4af6-ba52-0abb1b58fa7e"},{"name":"Get data for multiple audiences","id":"36fd4302-9186-4f0e-8bf3-c97c5721e16c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/audienceGroup/list","urlObject":{"protocol":"https","path":["v2","bot","audienceGroup","list"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"5c8637ab-8987-49b3-be17-e74a39736b74","name":"Get data for multiple audiences","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/audienceGroup/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"x-line-request-id","value":"22a42119-7a36-4973-8449-e4573935f14e"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Expires","value":"Tue, 01 Jun 2021 14:34:51 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Tue, 01 Jun 2021 14:34:51 GMT"},{"key":"Content-Length","value":"340"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"audienceGroups\": [\n        {\n            \"audienceGroupId\": 4602624580034,\n            \"createRoute\": \"MESSAGING_API\",\n            \"type\": \"UPLOAD\",\n            \"description\": \"audienceGroupName_01\",\n            \"status\": \"READY\",\n            \"audienceCount\": 1,\n            \"created\": 1622558086,\n            \"permission\": \"READ_WRITE\",\n            \"expireTimestamp\": 1638110086,\n            \"isIfaAudience\": false\n        },\n        {\n            \"audienceGroupId\": 8510957994442,\n            \"createRoute\": \"MESSAGING_API\",\n            \"type\": \"UPLOAD\",\n            \"description\": \"audienceGroupName_01\",\n            \"status\": \"READY\",\n            \"audienceCount\": 1,\n            \"created\": 1622558069,\n            \"permission\": \"READ_WRITE\",\n            \"expireTimestamp\": 1638110069,\n            \"isIfaAudience\": false\n        },\n        {\n            \"audienceGroupId\": 4552910771427,\n            \"createRoute\": \"MESSAGING_API\",\n            \"type\": \"UPLOAD\",\n            \"description\": \"audienceGroupName_01_dev2\",\n            \"status\": \"READY\",\n            \"audienceCount\": 1,\n            \"created\": 1622557376,\n            \"permission\": \"READ_WRITE\",\n            \"expireTimestamp\": 1638109376,\n            \"isIfaAudience\": false\n        },\n        {\n            \"audienceGroupId\": 2625795948220,\n            \"createRoute\": \"MESSAGING_API\",\n            \"type\": \"UPLOAD\",\n            \"description\": \"audienceGroupName_01\",\n            \"status\": \"READY\",\n            \"audienceCount\": 1,\n            \"created\": 1622348592,\n            \"permission\": \"READ_WRITE\",\n            \"expireTimestamp\": 1637900592,\n            \"isIfaAudience\": false\n        }\n    ],\n    \"hasNextPage\": false,\n    \"totalCount\": 4,\n    \"readWriteAudienceGroupTotalCount\": 4,\n    \"size\": 20,\n    \"page\": 1\n}"}],"_postman_id":"36fd4302-9186-4f0e-8bf3-c97c5721e16c"},{"name":"Delete audience","id":"35bc44db-3223-4236-b020-19f4ee001221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/audienceGroup/{{audienceId}}","urlObject":{"protocol":"https","path":["v2","bot","audienceGroup","{{audienceId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"bd1e2e25-5326-432a-8494-8989b9cc1e41","name":"Delete audience","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/audienceGroup/4602624580034"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2"},{"key":"x-line-request-id","value":"a93472f5-de07-4a27-a376-74aa3eb1179e"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Expires","value":"Tue, 01 Jun 2021 14:35:25 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Tue, 01 Jun 2021 14:35:25 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"35bc44db-3223-4236-b020-19f4ee001221"},{"name":"Get the authority level of the audience","id":"a9dea256-cd5e-4632-b675-35d68770ecde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://api.line.me/v2/bot/audienceGroup/authorityLevel","urlObject":{"protocol":"https","path":["v2","bot","audienceGroup","authorityLevel"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"a8058e5e-4758-4a5a-8afb-876fd6980e93","name":"Get the authority level of the audience","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/audienceGroup/authorityLevel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"27"},{"key":"x-line-request-id","value":"ce7edb9a-15f5-4502-a2af-3dfbd9b9b340"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Expires","value":"Tue, 01 Jun 2021 14:38:53 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Tue, 01 Jun 2021 14:38:53 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"authorityLevel\": \"PUBLIC\"\n}"}],"_postman_id":"a9dea256-cd5e-4632-b675-35d68770ecde"},{"name":"Change the authority level of the audience","id":"340ab99b-9fae-4cd8-95c1-4ce89a763ec8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authorityLevel\": \"PUBLIC\"\n}"},"url":"https://api.line.me/v2/bot/audienceGroup/authorityLevel","urlObject":{"protocol":"https","path":["v2","bot","audienceGroup","authorityLevel"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[{"id":"f12eeb4e-41f2-4bd3-b3cc-e4473bf29571","name":"Change the authority level of the audience","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"authorityLevel\": \"PRIVATE\"\n}"},"url":"https://api.line.me/v2/bot/audienceGroup/authorityLevel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2"},{"key":"x-line-request-id","value":"9f261362-2113-487d-9a72-e66282c4d5d9"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-frame-options","value":"DENY"},{"key":"Expires","value":"Tue, 01 Jun 2021 14:39:20 GMT"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Date","value":"Tue, 01 Jun 2021 14:39:20 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"340ab99b-9fae-4cd8-95c1-4ce89a763ec8"}],"id":"8fa8b973-3bc1-4516-b554-8511b5b1ed2c","_postman_id":"8fa8b973-3bc1-4516-b554-8511b5b1ed2c","description":""},{"name":"Action Message","item":[{"name":"Send Quick reply","id":"cd21b1fd-036c-4aa6-ad5b-8b8e8b390e79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": \"{{userid}}\",\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"text\",\r\n            \"text\": \"Select your favorite food category or send me your location!\",\r\n            \"quickReply\": {\r\n                \"items\": [\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"imageUrl\": \"https://example.com/sushi.png\",\r\n                        \"action\": {\r\n                            \"type\": \"message\",\r\n                            \"label\": \"Sushi\",\r\n                            \"text\": \"Sushi\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"imageUrl\": \"https://example.com/sushi.png\",\r\n                        \"action\": {\r\n                            \"type\": \"postback\",\r\n                            \"label\": \"postback\",\r\n                            \"data\": \"action=buy&itemid=111\",\r\n                            \"text\": \"Buy\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"camera\",\r\n                            \"label\": \"Camera\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"cameraRoll\",\r\n                            \"label\": \"cameraRoll\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"location\",\r\n                            \"label\": \"Send location\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"uri\",\r\n                            \"label\": \"Phone order\",\r\n                            \"uri\": \"tel:00000000\"\r\n                        }\r\n                    },\r\n                    {\r\n                        \"type\": \"action\",\r\n                        \"action\": {\r\n                            \"type\": \"uri\",\r\n                            \"label\": \"Recommend to friends\",\r\n                            \"uri\": \"https://line.me/R/nv/recommendOA/@linedevelopers\"\r\n                        }\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/push","urlObject":{"protocol":"https","path":["v2","bot","message","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd21b1fd-036c-4aa6-ad5b-8b8e8b390e79"}],"id":"0f5d7e76-7e95-42ce-9f08-84df52ba3b96","description":"<p><a href=\"https://developers.line.biz/en/reference/messaging-api/#action-objects\">https://developers.line.biz/en/reference/messaging-api/#action-objects</a></p>\n","_postman_id":"0f5d7e76-7e95-42ce-9f08-84df52ba3b96"},{"name":"Tips","item":[{"name":"Imagemap set size","id":"58629e8a-6fb9-481e-b9d0-ab265f49c26a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"to\": \"{{userid}}\",\r\n    \"messages\": [\r\n        {\r\n            \"type\": \"imagemap\",\r\n            \"baseUrl\": \"{{img_url}}?w=auto\",\r\n            \"altText\": \"This is an imagemap\",\r\n            \"baseSize\": {\r\n                \"width\": 1040,\r\n                \"height\": 1040\r\n            },\r\n            \"actions\": [\r\n                {\r\n                \"type\": \"uri\",\r\n                \"area\": {\r\n                    \"x\": 209,\r\n                    \"y\": 746,\r\n                    \"width\": 339,\r\n                    \"height\": 234\r\n                },\r\n                \"linkUri\": \"https://developers.line.biz/en/\"\r\n                }\r\n            ]\r\n            }\r\n    ]\r\n}"},"url":"https://api.line.me/v2/bot/message/push","urlObject":{"protocol":"https","path":["v2","bot","message","push"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"58629e8a-6fb9-481e-b9d0-ab265f49c26a"}],"id":"ed4c1a7f-1e2d-4b27-b83e-577339c35038","_postman_id":"ed4c1a7f-1e2d-4b27-b83e-577339c35038","description":""},{"name":"Account link","item":[{"name":"Issue link token","id":"a8a2a7ef-1c47-45cc-b5fb-e431d1eab683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"url":"https://api.line.me/v2/bot/user/{{userid}}/linkToken","urlObject":{"protocol":"https","path":["v2","bot","user","{{userid}}","linkToken"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8a2a7ef-1c47-45cc-b5fb-e431d1eab683"}],"id":"bae31ff3-cb17-4f18-a242-db4228eb4416","_postman_id":"bae31ff3-cb17-4f18-a242-db4228eb4416","description":""},{"name":"Before Using Setup","event":[{"listen":"test","script":{"id":"bec87e7a-63ed-4984-b589-d53332d06371","exec":["var jsonData = pm.response.json();","pm.globals.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"20b4c470-2477-4420-9493-09a6004247d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"<p>channel id</p>\n"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"<p>channel secret</p>\n"}]},"url":"https://api.line.me/v2/oauth/accessToken","urlObject":{"protocol":"https","path":["v2","oauth","accessToken"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"20b4c470-2477-4420-9493-09a6004247d8"}],"id":"10e7a60f-3ee6-4c35-8526-f4e49cd8152c","description":"<p><a href=\"https://developers.line.biz/en/reference/messaging-api/\">https://developers.line.biz/en/reference/messaging-api/</a></p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"3fb370d4-9790-468d-984d-8f2636e3a7d9"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a2b99ccc-595f-4344-a0f3-833b69000d60"}}],"_postman_id":"10e7a60f-3ee6-4c35-8526-f4e49cd8152c"},{"name":"LINE Login v2.1","item":[{"name":"OAUTH","item":[{"name":"Issue access token","id":"677a4b95-380b-469c-955f-00016c8c5e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"code","value":"1234567890abcde","type":"text"},{"key":"client_id","value":"1234567890","type":"text"},{"key":"client_secret","value":"1234567890abcdefghij1234567890ab","type":"text"},{"key":"code_verifier","value":"wJKN8qz5t8SSI9lMFhBB6qwNkQBkuPZoCxzRhwLRUo1","type":"text"},{"key":"redirect_uri","value":"https://example.com/auth?key=value","type":"text"}]},"url":"https://api.line.me/oauth2/v2.1/token","urlObject":{"protocol":"https","path":["oauth2","v2.1","token"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"677a4b95-380b-469c-955f-00016c8c5e51"},{"name":"Verify access token validity","id":"c550d1c7-c093-4313-ad4b-6ad94cd3cafc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.line.me/oauth2/v2.1/verify?access_token=eyJhbGciOiJIUzI1NiJ9.UnQ_o-GP0VtnwDjbK0C8E_NvK...","urlObject":{"protocol":"https","path":["oauth2","v2.1","verify"],"host":["api","line","me"],"query":[{"key":"access_token","value":"eyJhbGciOiJIUzI1NiJ9.UnQ_o-GP0VtnwDjbK0C8E_NvK..."}],"variable":[]}},"response":[],"_postman_id":"c550d1c7-c093-4313-ad4b-6ad94cd3cafc"},{"name":"Refresh access token","id":"91331449-b452-499b-bf0a-9168926579cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"refresh_token","type":"text"},{"key":"refresh_token","value":"{your_refresh_token}","type":"text"},{"key":"client_id","value":"{your_channel_id}","type":"text"},{"key":"client_secret","value":"{your_channel_secret}","type":"text"}]},"url":"https://api.line.me/oauth2/v2.1/token","urlObject":{"protocol":"https","path":["oauth2","v2.1","token"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"91331449-b452-499b-bf0a-9168926579cb"},{"name":"Revoke access token","id":"44cb5748-9854-4e9a-80db-82330e35b1ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{channel id}","type":"text"},{"key":"client_secret","value":"{channel secret}","type":"text"},{"key":"access_token","value":"{access token}","type":"text"}]},"url":"https://api.line.me/oauth2/v2.1/revoke","urlObject":{"protocol":"https","path":["oauth2","v2.1","revoke"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"44cb5748-9854-4e9a-80db-82330e35b1ce"},{"name":"Verify ID token","id":"e8a859be-f1d4-4655-80e8-ce58ddad0b98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"id_token","value":"eyJraWQiOiI3ZjMxMTU5YTY1YWE0YmYxZGRmMzQyYjU3MTcwZGQ3NDY3ZTkyZDEyZTg0YzI0Y2EyMGUxNDQyNTUzYjNmMDhjIiwidHlwIjoiSldUIiwiYWxnIjoiRVMyNTYifQ.eyJpc3MiOiJodHRwczovL2FjY2Vzcy5saW5lLm1lIiwic3ViIjoiVTYxMTk4YmI0NGY2YzI4Yzk3YzU4MTg2MTc0NjRiYTFkIiwiYXVkIjoiMjAwNTg2NjcyNiIsImV4cCI6MTcyMTIzMjYyMSwiaWF0IjoxNzIxMjI5MDIxLCJhbXIiOlsibGluZXNzbyJdLCJuYW1lIjoiT2ErIiwicGljdHVyZSI6Imh0dHBzOi8vcHJvZmlsZS5saW5lLXNjZG4ubmV0LzBoSTk4RVB6eE1GaFlGUEFZQ29FQnBRVGw1R0h0eUVoQmVmVm9OZGlBX1NTTXRXRmRJYlYwS0lpVTlIQ0FwQ0ZVU2JWeFpKU1pwU3lRaCIsImVtYWlsIjoia2hpbmdvaEBnbWFpbC5jb20ifQ.lBN90L4r4C_9oI6S62EPHbKG4lkeOFqP0iIkZI-D7r4_VPBtRw910tvqrCZZhZbzpPH9AaP_Py1vefd9YeGizA","type":"text"},{"key":"client_id","value":"2005866726","type":"text"}]},"url":"https://api.line.me/oauth2/v2.1/verify","urlObject":{"protocol":"https","path":["oauth2","v2.1","verify"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8a859be-f1d4-4655-80e8-ce58ddad0b98"},{"name":"Deauthorize your app to which the user has granted permissions","id":"3b789d4c-b0da-4cd1-be56-12cc85dfb915","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"userAccessToken\": \"{user access token}\"\n}"},"url":"https://api.line.me/user/v1/deauthorize","urlObject":{"protocol":"https","path":["user","v1","deauthorize"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b789d4c-b0da-4cd1-be56-12cc85dfb915"}],"id":"99913b35-6dd9-4b74-94d8-0972a42c9b03","_postman_id":"99913b35-6dd9-4b74-94d8-0972a42c9b03","description":""},{"name":"Profile","item":[{"name":"Get user profile","id":"871a88a8-f9fe-419e-8d76-6b2a57f3e027","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/v2/profile","description":"<p>Gets a user's ID, display name, profile image, and status message.</p>\n","urlObject":{"protocol":"https","path":["v2","profile"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"871a88a8-f9fe-419e-8d76-6b2a57f3e027"}],"id":"d755baba-36b7-457d-9f7c-7a6cb1aa6087","_postman_id":"d755baba-36b7-457d-9f7c-7a6cb1aa6087","description":""},{"name":"Friendship status","item":[{"name":"Friendship status","id":"09f5994b-6f2f-4170-b932-052609e9bc99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/friendship/v1/status","description":"<p>Gets a user's ID, display name, profile image, and status message.</p>\n","urlObject":{"protocol":"https","path":["friendship","v1","status"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"09f5994b-6f2f-4170-b932-052609e9bc99"}],"id":"ce1b2222-7a27-4231-bf3e-9bc03bc56474","_postman_id":"ce1b2222-7a27-4231-bf3e-9bc03bc56474","description":""}],"id":"d653431c-c91f-47d9-89f0-3753161617d4","_postman_id":"d653431c-c91f-47d9-89f0-3753161617d4","description":""},{"name":"Server API","item":[{"name":"[Step 1] Channel Access Token","item":[{"name":"Issue short-lived channel access token","event":[{"listen":"test","script":{"id":"bec87e7a-63ed-4984-b589-d53332d06371","exec":["var jsonData = pm.response.json();","pm.globals.set(\"access_token\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"2f36e527-6556-4e15-95cd-b1a701ae71bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{line_login_client_id}}","type":"text"},{"key":"client_secret","value":"{{line_login_client_secret}}","type":"text"}]},"url":"https://api.line.me/v2/oauth/accessToken","urlObject":{"protocol":"https","path":["v2","oauth","accessToken"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f36e527-6556-4e15-95cd-b1a701ae71bd"}],"id":"5cdefeda-dcd0-44e1-8371-bf42be210f12","_postman_id":"5cdefeda-dcd0-44e1-8371-bf42be210f12","description":""},{"name":"[Step 2] Create LIFF","item":[{"name":"Adding the LIFF app to a channel","event":[{"listen":"test","script":{"id":"cdab22d2-f37f-4392-8575-cb8ff4a072a2","exec":["var jsonData = pm.response.json();","pm.globals.set(\"liffId\", jsonData.liffId);"],"type":"text/javascript"}}],"id":"1bef51e4-35dc-4829-9c5c-26421af8e32e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"view\": {\n        \"type\": \"full\",\n        \"url\": \"https://example.com/myservice\"\n    },\n    \"description\": \"Service\",\n    \"features\": {\n        \"ble\": true,\n        \"qrCode\": true\n    },\n    \"permanentLinkPattern\": \"concat\",\n    \"scope\": [\"profile\", \"chat_message.write\"],\n    \"botPrompt\": \"none\"\n}"},"url":"https://api.line.me/liff/v1/apps","urlObject":{"protocol":"https","path":["liff","v1","apps"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"1bef51e4-35dc-4829-9c5c-26421af8e32e"},{"name":"Update LIFF app settings","id":"6b851f5d-b07b-4d39-8f12-346cc7cd23f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"view\": {\n        \"url\": \"https://new.example.com\"\n    }\n}"},"url":"https://api.line.me/liff/v1/apps/{{liffId}}","urlObject":{"protocol":"https","path":["liff","v1","apps","{{liffId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b851f5d-b07b-4d39-8f12-346cc7cd23f6"},{"name":"Get all LIFF apps","id":"b68d2aff-88e5-43d4-b888-5d335f99a86f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/liff/v1/apps","urlObject":{"protocol":"https","path":["liff","v1","apps"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"b68d2aff-88e5-43d4-b888-5d335f99a86f"},{"name":"Delete LIFF app from a channel","id":"b6283834-8345-4c86-b072-92ffb6ffc8ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}"}],"url":"https://api.line.me/liff/v1/apps/{{liffId}}","urlObject":{"protocol":"https","path":["liff","v1","apps","{{liffId}}"],"host":["api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6283834-8345-4c86-b072-92ffb6ffc8ca"}],"id":"768ce79c-cb51-48d8-8a7a-1ca9ceaa261e","_postman_id":"768ce79c-cb51-48d8-8a7a-1ca9ceaa261e","description":""}],"id":"7ed47cdc-9100-4090-8f7d-445818450934","_postman_id":"7ed47cdc-9100-4090-8f7d-445818450934","description":""},{"name":"LINE Notify","item":[{"name":"Notification","id":"2558b49b-3a85-4610-9648-4c93af66130f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Context-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{notify_token}}"}],"body":{"mode":"formdata","formdata":[{"key":"message","value":"Hello EX10, https://ex10.tech/v2/","type":"text"},{"key":"imageThumbnail","type":"text","value":"{{image}}"},{"key":"imageFullsize","value":"{{image}}","type":"text"},{"key":"imageFile","value":"{{image}}","type":"text"},{"key":"stickerPackageId","value":"446","type":"text"},{"key":"stickerId","value":"1989","type":"text"},{"key":"notificationDisabled","value":"false","type":"text"}]},"url":"https://notify-api.line.me/api/notify","urlObject":{"protocol":"https","path":["api","notify"],"host":["notify-api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"2558b49b-3a85-4610-9648-4c93af66130f"},{"name":"Revoke Token","id":"d55627be-e4d0-4bfa-91fc-a7c249c36396","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Context-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","value":"Bearer {{notify_access_token}}","type":"text"}],"url":"https://notify-api.line.me/api/revoke","urlObject":{"protocol":"https","path":["api","revoke"],"host":["notify-api","line","me"],"query":[],"variable":[]}},"response":[],"_postman_id":"d55627be-e4d0-4bfa-91fc-a7c249c36396"}],"id":"17386e11-0842-4dd6-8ba2-52a63a5a05f2","_postman_id":"17386e11-0842-4dd6-8ba2-52a63a5a05f2","description":""},{"name":"LINE Shoping API","item":[{"name":"Product API","item":[{"name":"[POST] Create & Update & Delete","item":[{"name":"Create product","event":[{"listen":"test","script":{"id":"5f44cba5-fecf-47eb-9b24-fcf344fb3cc8","exec":["var jsonData = pm.response.json();","pm.globals.set(\"product_id\", jsonData.id);","pm.globals.set(\"variants_id\", jsonData.variants[0].id);","pm.globals.set(\"inventory_id\", jsonData.variants[0].inventoryId);"],"type":"text/javascript"}}],"id":"8931d9ed-0ce4-4c82-b4e8-4aec18f4111f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"User-Agent","value":"{{company_name}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"brand\": \"ex10\",\n  \"categoryId\": 17,\n  \"code\": \"EX1001\",\n  \"description\": \"ex10 product demo\",\n  \"imageUrls\": [\n    \"https://cloud.ex10.tech/public/filestore/Screenshot2566-06-24at11-b1d5107d-1249-11ee-be63-2ec4184fafd2.png\"\n  ],\n  \"instantDiscount\": 0,\n  \"name\": \"ex10-demo\",\n  \"variantOptions\": {\n    \"option1\": {\n      \"data\": [\n        {\n          \"imageUrl\": \"https://cloud.ex10.tech/public/filestore/Screenshot2566-06-24at11-b1d5107d-1249-11ee-be63-2ec4184fafd2.png\",\n          \"value\": \"100\"\n        }\n      ],\n      \"name\": \"RED\"\n    }\n  },\n  \"variants\": [\n    {\n      \"barcode\": \"EX10DEMO\",\n      \"onHandNumber\": 100,\n      \"options\": [\n        0\n      ],\n      \"price\": 10,\n      \"sku\": \"each\",\n      \"weight\": 10\n    }\n  ]\n}"},"url":"https://developers-oaplus.line.biz/myshop/v1/products","description":"<h2 id=\"create-product\">Create product</h2>\n<p>An API for product creation. For product Categories ID variable please find more information on <a href=\"https://www.line-website.com/oaplus-public-api-doc-client/#tag/MyShopDevelopmentGuide\">Development guideline</a></p>\n<h5 id=\"authorizations\">AUTHORIZATIONS:</h5>\n<p><a href=\"https://www.line-website.com/oaplus-public-api-doc-client/#section/Authentication/X-API-KEY\">X-API-KEY</a></p>\n<h5 id=\"request-body-schema-applicationjson\">REQUEST BODY SCHEMA: application/json</h5>\n<p>create product request</p>\n<p>| brand | <br /><br />string<br /><br />Product brand<br /><br /> |\n| categoryIdrequired | <br /><br />integer<br /><br />Product category id<br /><br /> |\n| coderequired | <br /><br />string<br /><br />Product code<br /><br /> |\n| description | <br /><br />string<br /><br />Product description with HTML formatting support<br /><br /> |\n| imageUrlsrequired | <br /><br />Array of strings non-empty<br /><br />Product image urls<br /><br /> |\n| instantDiscount | <br /><br />number<br /><br />Product instant discount must be greater than 0. If instant discount amount is 0, the instant discount will be disabled.<br /><br /> |\n| namerequired | <br /><br />string<br /><br />Product name<br /><br /> |\n| variantOptions | object (product.ProductVariantOptions) |\n| variantsrequired | <br /><br />Array of objects (product.ProductVariant) non-empty<br /><br />Product variants<br /><br /> |</p>\n<h3 id=\"responses\">Responses</h3>\n<p><strong>201</strong> </p>\n<p>Success</p>\n<h5 id=\"response-schema-applicationjson\">RESPONSE SCHEMA: application/json</h5>\n<p>| brand | <br /><br />string<br /><br />Product brand name<br /><br /> |\n| category | object (product.Category) |\n| code | <br /><br />string<br /><br />Product code<br /><br /> |\n| description | <br /><br />string<br /><br />Product description with HTML formatting support<br /><br /> |\n| giftGroups | <br /><br />Array of objects (product.GiftGroup)<br /><br />Gift Groups of product<br /><br /> |\n| giftOption | <br /><br />string<br /><br />Product Gift Option<br /><br /> |\n| hasOnlyDefaultVariant | <br /><br />boolean<br /><br />If product doesn't have any variant will be returned 'true'<br /><br /> |\n| id | <br /><br />integer<br /><br />Identifying number of product<br /><br /> |\n| imageUrls | <br /><br />Array of strings<br /><br />Product images<br /><br /> |\n| instantDiscount | <br /><br />number<br /><br />If product doesn't have instant discount will be returned 'empty string' otherwise returned with number<br /><br /> |\n| isDisplay | <br /><br />boolean<br /><br />If product is displaying on storefront will be returned 'true'<br /><br /> |\n| name | <br /><br />string<br /><br />Product name<br /><br /> |\n| variantOptions | <br /><br />Array of objects (product.VariantOption)<br /><br />Product options such as size or color<br /><br /> |\n| variants | <br /><br />Array of objects (product.Variant)<br /><br />Product variants<br /><br /> |</p>\n<p><strong>400</strong> </p>\n<p>Bad request</p>\n<h5 id=\"response-schema-applicationjson-1\">RESPONSE SCHEMA: application/json</h5>\n<p>| code | <br /><br />stringEnum: \"BAD_REQUEST\" \"DATA_CONFLICT\" \"INTERNAL_ERROR\" \"NOT_FOUND\" \"PERMISSION_DENIED\" \"UNAUTHORIZED\"<br /><br />Error code<br /><br /> |\n| info | <br /><br />object<br /><br />Error info (optional)<br /><br /> |\n| message | <br /><br />string<br /><br />Error message<br /><br /> |\n| timestamp | <br /><br />integer<br /><br />Response timestamp<br /><br /> |</p>\n<p><strong>404</strong> </p>\n<p>Not found</p>\n<h5 id=\"response-schema-applicationjson-2\">RESPONSE SCHEMA: application/json</h5>\n<p>| code | <br /><br />stringEnum: \"BAD_REQUEST\" \"DATA_CONFLICT\" \"INTERNAL_ERROR\" \"NOT_FOUND\" \"PERMISSION_DENIED\" \"UNAUTHORIZED\"<br /><br />Error code<br /><br /> |\n| info | <br /><br />object<br /><br />Error info (optional)<br /><br /> |\n| message | <br /><br />string<br /><br />Error message<br /><br /> |\n| timestamp | <br /><br />integer<br /><br />Response timestamp<br /><br /> |</p>\n<p><strong>500</strong> </p>\n<p>Internal error</p>\n<h5 id=\"response-schema-applicationjson-3\">RESPONSE SCHEMA: application/json</h5>\n<p>| code | <br /><br />stringEnum: \"BAD_REQUEST\" \"DATA_CONFLICT\" \"INTERNAL_ERROR\" \"NOT_FOUND\" \"PERMISSION_DENIED\" \"UNAUTHORIZED\"<br /><br />Error code<br /><br /> |\n| info | <br /><br />object<br /><br />Error info (optional)<br /><br /> |\n| message | <br /><br />string<br /><br />Error message<br /><br /> |\n| timestamp | <br /><br />integer<br /><br />Response timestamp<br /><br /> |</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"8931d9ed-0ce4-4c82-b4e8-4aec18f4111f"},{"name":"Delete product variant","id":"0b2c2d6c-62e9-41a6-bb1e-f579eab19407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"User-Agent","value":"{{company_name}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"RED\",\n  \"value\": \"100\"\n}"},"url":"https://developers-oaplus.line.biz/myshop/v1/products/{{product_id}}/delete-variant-option","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products","{{product_id}}","delete-variant-option"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b2c2d6c-62e9-41a6-bb1e-f579eab19407"},{"name":"Update product's display status","id":"87897dd6-ae5a-43c5-b7a7-69b33f4e6cd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"User-Agent","value":"{{company_name}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"brand\": \"string\",\n  \"category\": {\n    \"id\": 0,\n    \"nameEn\": \"string\",\n    \"nameTh\": \"string\"\n  },\n  \"code\": \"string\",\n  \"description\": \"string\",\n  \"giftGroups\": [\n    {\n      \"id\": 0,\n      \"nameEn\": \"string\",\n      \"nameTh\": \"string\"\n    }\n  ],\n  \"giftOption\": \"string\",\n  \"hasOnlyDefaultVariant\": true,\n  \"id\": 0,\n  \"imageUrls\": [\n    \"string\"\n  ],\n  \"instantDiscount\": 0,\n  \"isDisplay\": true,\n  \"name\": \"string\",\n  \"variantOptions\": [\n    {\n      \"name\": \"string\",\n      \"values\": [\n        \"string\"\n      ]\n    }\n  ],\n  \"variants\": [\n    {\n      \"availableNumber\": 0,\n      \"barcode\": \"string\",\n      \"discountedPrice\": 0,\n      \"id\": 0,\n      \"inventoryId\": 0,\n      \"onHandNumber\": 0,\n      \"options\": [\n        {\n          \"name\": \"string\",\n          \"value\": \"string\"\n        }\n      ],\n      \"price\": 0,\n      \"readyToShipNumber\": 0,\n      \"reservedNumber\": 0,\n      \"sku\": \"string\",\n      \"weight\": 0\n    }\n  ]\n}"},"url":"https://developers-oaplus.line.biz/myshop/v1/products/{{product_id}}/display-status/{{status}}","description":"<p>Enum: \"onsale\" \"hide\"</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products","{{product_id}}","display-status","{{status}}"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"87897dd6-ae5a-43c5-b7a7-69b33f4e6cd4"},{"name":"Create product variants","id":"a6b47950-def9-45fc-a49d-6ab7eb585cbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"variantOptions\": {\n    \"option1\": {\n      \"data\": [\n        {\n          \"imageUrl\": \"{{image}}\",\n          \"value\": \"100\"\n        }\n      ],\n      \"name\": \"RED\"\n    }\n  },\n  \"variants\": [\n    {\n      \"barcode\": \"EX10DEMO\",\n      \"onHandNumber\": 100,\n      \"options\": [\n        0\n      ],\n      \"price\": 10,\n      \"sku\": \"each\",\n      \"weight\": 10\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/products/{{product_id}}/variants","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products","{{product_id}}","variants"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6b47950-def9-45fc-a49d-6ab7eb585cbb"}],"id":"50fb5a58-e065-4229-a545-264774d9c352","_postman_id":"50fb5a58-e065-4229-a545-264774d9c352","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}},{"name":"[GET] Products","item":[{"name":"Get all products","event":[{"listen":"test","script":{"id":"40fd0ad8-3f27-4715-a64b-cc6b67f97ea4","exec":["var jsonData = pm.response.json();","pm.globals.set(\"product_id\", jsonData.data[0].id);","pm.globals.set(\"variants_id\", jsonData.data[0].variants[0].id);","pm.globals.set(\"inventory_id\", jsonData.data[0].variants[0].inventoryId);"],"type":"text/javascript"}}],"id":"ac65c4ff-6daf-4f78-8fd7-c12e1f71cf9e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true}},"request":{"method":"GET","header":[{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"url":"https://developers-oaplus.line.biz/myshop/v1/products","description":"<h2 id=\"get-all-products\">Get all products</h2>\n<p>An API for getting a list of products</p>\n<h5 id=\"authorizations\">AUTHORIZATIONS:</h5>\n<p><a href=\"https://www.line-website.com/oaplus-public-api-doc-client/#section/Authentication/X-API-KEY\">X-API-KEY</a></p>\n<h5 id=\"query-parameters\">QUERY PARAMETERS</h5>\n<p>| ids | <br /><br />Array of strings<br /><br />Filtered by multiple values of product id<br /><br /> |\n| skus | <br /><br />Array of strings<br /><br />Filtered by multiple values of product sku<br /><br /> |\n| page | <br /><br />integerDefault: 1<br /><br />For pagination, page is the page number to query the list of products<br /><br /> |\n| perPage | <br /><br />integer [ 1 .. 100 ]Default: 25<br /><br />For pagination, per page is the number of showing products on a page<br /><br /> |</p>\n<h3 id=\"responses\">Responses</h3>\n<p><strong>200</strong> </p>\n<p>Success</p>\n<h5 id=\"response-schema-applicationjson\">RESPONSE SCHEMA: application/json</h5>\n<p>| currentPage | <br /><br />integer<br /><br />Current page number<br /><br /> |\n| data | Array of objects (product.Response) |\n| perPage | <br /><br />integer<br /><br />Number of showing products per page<br /><br /> |\n| totalPage | <br /><br />integer<br /><br />Total page numbers of the result<br /><br /> |\n| totalRow | <br /><br />integer<br /><br />Total number of products<br /><br /> |</p>\n<p><strong>400</strong> </p>\n<p>Bad request</p>\n<h5 id=\"response-schema-applicationjson-1\">RESPONSE SCHEMA: application/json</h5>\n<p>| code | <br /><br />stringEnum: \"BAD_REQUEST\" \"DATA_CONFLICT\" \"INTERNAL_ERROR\" \"NOT_FOUND\" \"PERMISSION_DENIED\" \"UNAUTHORIZED\"<br /><br />Error code<br /><br /> |\n| info | <br /><br />object<br /><br />Error info (optional)<br /><br /> |\n| message | <br /><br />string<br /><br />Error message<br /><br /> |\n| timestamp | <br /><br />integer<br /><br />Response timestamp<br /><br /> |</p>\n<p><strong>404</strong> </p>\n<p>Not found</p>\n<h5 id=\"response-schema-applicationjson-2\">RESPONSE SCHEMA: application/json</h5>\n<p>| code | <br /><br />stringEnum: \"BAD_REQUEST\" \"DATA_CONFLICT\" \"INTERNAL_ERROR\" \"NOT_FOUND\" \"PERMISSION_DENIED\" \"UNAUTHORIZED\"<br /><br />Error code<br /><br /> |\n| info | <br /><br />object<br /><br />Error info (optional)<br /><br /> |\n| message | <br /><br />string<br /><br />Error message<br /><br /> |\n| timestamp | <br /><br />integer<br /><br />Response timestamp<br /><br /> |</p>\n<p><strong>500</strong> </p>\n<p>Internal error</p>\n<h5 id=\"response-schema-applicationjson-3\">RESPONSE SCHEMA: application/json</h5>\n<p>| code | <br /><br />stringEnum: \"BAD_REQUEST\" \"DATA_CONFLICT\" \"INTERNAL_ERROR\" \"NOT_FOUND\" \"PERMISSION_DENIED\" \"UNAUTHORIZED\"<br /><br />Error code<br /><br /> |\n| info | <br /><br />object<br /><br />Error info (optional)<br /><br /> |\n| message | <br /><br />string<br /><br />Error message<br /><br /> |\n| timestamp | <br /><br />integer<br /><br />Response timestamp<br /><br /> |</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products"],"host":["developers-oaplus","line","biz"],"query":[{"disabled":true,"key":"ids","value":null},{"disabled":true,"key":"skus","value":null},{"disabled":true,"key":"page","value":null},{"disabled":true,"key":"perPage","value":null}],"variable":[]}},"response":[],"_postman_id":"ac65c4ff-6daf-4f78-8fd7-c12e1f71cf9e"}],"id":"9ecd4972-c2d7-442a-815b-3ab36265c45b","_postman_id":"9ecd4972-c2d7-442a-815b-3ab36265c45b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}},{"name":"[PATCH] Update Product Price & Detail","item":[{"name":"Update product detail","id":"c6760e52-d967-4af8-bfb0-86828b8badc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"User-Agent","value":"{{company_name}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"brand\": \"ex10\",\n  \"categoryId\": 0,\n  \"code\": \"EX1001\",\n  \"description\": \"ex10 product demo\",\n  \"imageUrls\": [\n    \"{{image}}\"\n  ],\n  \"name\": \"ex10-demo2\"\n}"},"url":"https://developers-oaplus.line.biz/myshop/v1/products/{{product_id}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products","{{product_id}}"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6760e52-d967-4af8-bfb0-86828b8badc1"},{"name":"Update product variant detail","id":"add8e137-ebe4-4615-8592-e591edf73109","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"barcode\": \"string\",\n  \"id\": {{variants_id}},\n  \"imageUrl\": \"{{image}}\",\n  \"onHandNumber\": 0,\n  \"price\": 100,\n  \"sku\": \"each\",\n  \"weight\": 40\n}","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/products/{{product_id}}/variant","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products","{{product_id}}","variant"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"add8e137-ebe4-4615-8592-e591edf73109"},{"name":"Update product price","id":"014e2ec7-2c8d-4611-b01b-3dab6d517623","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"instantDiscount\": 99999998,\n  \"variants\": [\n    {\n      \"id\": {{variants_id}},\n      \"price\": 1\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/products/{{product_id}}/prices","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products","{{product_id}}","prices"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"014e2ec7-2c8d-4611-b01b-3dab6d517623"}],"id":"e162bbe2-fbc8-4b16-8bd4-3ba06798659e","_postman_id":"e162bbe2-fbc8-4b16-8bd4-3ba06798659e","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}},{"name":"[DELETE] Product","item":[{"name":"Delete product","id":"5910194a-b295-4e95-8149-a3f4e19382d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"User-Agent","value":"{{company_name}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://developers-oaplus.line.biz/myshop/v1/products/{{product_id}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","products","{{product_id}}"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"5910194a-b295-4e95-8149-a3f4e19382d5"}],"id":"eef3db33-22df-4625-8e66-96f08aa00676","_postman_id":"eef3db33-22df-4625-8e66-96f08aa00676","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}}],"id":"e6734ab8-2fa9-4e2d-854a-601a31f4f47d","description":"<h1 id=\"product\">Product</h1>\n<p>Manage your product via API</p>\n","_postman_id":"e6734ab8-2fa9-4e2d-854a-601a31f4f47d","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}},{"name":"Inventory API","item":[{"name":"[POST] Adjust & Increase","item":[{"name":"Adjust inventory","id":"ccc033e0-e9d0-49ef-8633-3b5bb0cbdb21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/inventory/{{inventory_id}}/adjust","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","inventory","{{inventory_id}}","adjust"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"ccc033e0-e9d0-49ef-8633-3b5bb0cbdb21"},{"name":"Increase inventory","id":"e2b7f3d5-cb8e-4f0c-911d-5548265fde4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 12\n}","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/inventory/{{inventory_id}}/decrease","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","inventory","{{inventory_id}}","decrease"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2b7f3d5-cb8e-4f0c-911d-5548265fde4a"}],"id":"ddd12622-0b14-438b-9743-412081aa17ab","_postman_id":"ddd12622-0b14-438b-9743-412081aa17ab","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}},{"name":"[PUT] Decrease","item":[{"name":"Decrease inventory","id":"4eae1f67-d485-4a0b-a5ba-f842e707252c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/inventory/{{inventory_id}}/decrease","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","inventory","{{inventory_id}}","decrease"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"4eae1f67-d485-4a0b-a5ba-f842e707252c"}],"id":"ddfa4329-c2a1-4dcd-9480-0d46d0c3cd3d","_postman_id":"ddfa4329-c2a1-4dcd-9480-0d46d0c3cd3d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}}],"id":"90ea2c7e-0ba1-4cae-82cb-875996b24a59","description":"<h1 id=\"inventory\">Inventory</h1>\n<p>Manage your inventory via API</p>\n","_postman_id":"90ea2c7e-0ba1-4cae-82cb-875996b24a59","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}},{"name":"Order API","item":[{"name":"[GET] Order","item":[{"name":"Get all orders","event":[{"listen":"test","script":{"id":"ffa96ed3-04e2-40cc-bb6d-a26139063931","exec":["var jsonData = pm.response.json();","pm.globals.set(\"orderNo\", jsonData.data[0].orderNumber);"],"type":"text/javascript"}}],"id":"f953b06a-f1b8-455e-9c3b-a5b9c9bda9b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/orders","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","orders"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"f953b06a-f1b8-455e-9c3b-a5b9c9bda9b8"},{"name":"Order detail","id":"4782afa4-e743-4dc9-b47c-1fbbdc9ee8fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/orders/{{orderNo}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","orders","{{orderNo}}"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"4782afa4-e743-4dc9-b47c-1fbbdc9ee8fe"}],"id":"48b9a442-395d-4272-9597-7e71c21280aa","_postman_id":"48b9a442-395d-4272-9597-7e71c21280aa","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}},{"name":"[POST] Paid (COD) & Ship","item":[{"name":"Mark as paid (COD)","id":"6b1718f2-a1e7-4448-a566-91b670b47b0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/orders/{{orderNo}}/mark-as-paid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","orders","{{orderNo}}","mark-as-paid"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b1718f2-a1e7-4448-a566-91b670b47b0f"},{"name":"Mark as ship","id":"bf719a99-a283-4986-80d6-6e262e3fc183","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trackingNumber\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/orders/{{orderNo}}/mark-as-ship","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","orders","{{orderNo}}","mark-as-ship"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf719a99-a283-4986-80d6-6e262e3fc183"}],"id":"1ac76bf9-0907-4875-8f72-a5d98ad359c2","_postman_id":"1ac76bf9-0907-4875-8f72-a5d98ad359c2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}},{"name":"[PUT] Tracking Number","item":[{"name":"Update tracking number","id":"288c8c88-7157-4f8c-94a5-292537eea651","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"{{company_name}}","description":"<p>ชื่อองค์กรหรือบริษัท</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"trackingNumber\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://developers-oaplus.line.biz/myshop/v1/orders/{{orderNo}}/shipments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}},"urlObject":{"protocol":"https","path":["myshop","v1","orders","{{orderNo}}","shipments"],"host":["developers-oaplus","line","biz"],"query":[],"variable":[]}},"response":[],"_postman_id":"288c8c88-7157-4f8c-94a5-292537eea651"}],"id":"bc917a0f-03e7-4803-a61e-a9ccf0f3c718","_postman_id":"bc917a0f-03e7-4803-a61e-a9ccf0f3c718","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}}],"id":"38a3257f-f129-48dc-a99f-864edc68520e","description":"<h1 id=\"order\">Order</h1>\n<p>Manage your order via API</p>\n","_postman_id":"38a3257f-f129-48dc-a99f-864edc68520e","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":true,"source":{"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6","id":"82002725-39bb-4170-9105-09f4adaa36d6","name":"LINE Shoping API","type":"folder"}}}],"id":"82002725-39bb-4170-9105-09f4adaa36d6","description":"<h1 id=\"getting-started\">Getting started</h1>\n<p>OAPlus public API allows you to integrate and manipulate your collected/stored data in our system. The API is based on REST principles supporting GET, POST, PUT, DELETE, and PATCH request. API usage may be limited to the service allowed (such as MyCustomer API access) and some may be available for all users (such as LINE SHOPPING API)</p>\n<h2 id=\"issue-an-api-key\">Issue an API key</h2>\n<p>In order to access our APIs, you will need an <strong>Access Token</strong>. As <strong>Admin</strong> role, you will first need to go to the <strong>API key</strong> page (located under Settings → API keys page from sidebar menu), then click the \"Generate\" button. You will then have generated an API Key <strong>Access Token</strong> as shown in the image below  </p>\n<h2 id=\"request-headers\">Request headers</h2>\n<p>The following HTTP headers are included in API request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Description</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>User-Agents Optional</td>\n<td>The User-Agent request header is a characteristic string that lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent. Suggestion value is your <code>service name</code>, or <code>company name</code>.</td>\n<td><code>User-Agent: OA Plus Platform</code></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"authentication\">Authentication</h1>\n<p>To authenticate and start using our APIs, you will need to send an <a href=\"https://www.line-website.com/oaplus-public-api-doc-client/#section/Getting-Started/Issue-an-API-Key\">Access Token</a> via <code>X-API-KEY</code> header in your API calls.</p>\n<h2 id=\"x-api-key\">X-API-KEY</h2>\n<p>| Security Scheme Type | API Key |\n| Header parameter name: | X-API-KEY |</p>\n<h1 id=\"common-specification\">Common specification</h1>\n<h2 id=\"base-url\">Base URL</h2>\n<p>All URLs referenced in the documentation have the following base: <a href=\"https://developers-oaplus.line.biz/\">https://developers-oaplus.line.biz</a><br />For example</p>\n<ul>\n<li><a href=\"https://developers-oaplus.line.biz/audience/v1/group/groups\">https://developers-oaplus.line.biz/audience/v1/group/groups</a></li>\n<li><a href=\"https://developers-oaplus.line.biz/myshop/vi/products\">https://developers-oaplus.line.biz/myshop/vi/products</a></li>\n<li><a href=\"https://developers-oaplus.line.biz/myshop/v1/orders/%7BorderNo%7D/mark-as-paid\">https://developers-oaplus.line.biz/myshop/v1/orders/{orderNo}/mark-as-paid</a></li>\n</ul>\n<h2 id=\"possible-response-status-codes\">Possible response status codes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n<td>The request was successful.</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad Request</td>\n<td>The request could not be understood by the server. Parameter might be invalid.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Unauthorized</td>\n<td>The request might be contain invalid Channel Access Token.</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Forbidden</td>\n<td>Not authorized to access the resource.</td>\n</tr>\n<tr>\n<td>404</td>\n<td>Not Found</td>\n<td>The requested resource is not found.</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too Many Request</td>\n<td>The request is exceeded the rate limit.</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal Server Error</td>\n<td>The server could not return the representation due to an internal server error.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"rate-limit\">Rate limit</h2>\n<p>A rate limit is the number of API calls that can be made within a given time period. If this limit is exceeded, you will receive an error message saying, <strong>429 Too Many Requests.</strong>  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>API</th>\n<th>Resource</th>\n<th>Rate Limit Request</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Per Hour</td>\n<td>Per Minute</td>\n<td>Per Second</td>\n</tr>\n<tr>\n<td>LINE SHOPPING API</td>\n<td>Product API</td>\n<td>-</td>\n</tr>\n<tr>\n<td>Order API</td>\n<td>-</td>\n<td>1,000</td>\n</tr>\n<tr>\n<td>Inventory API</td>\n<td>-</td>\n<td>1,000</td>\n</tr>\n<tr>\n<td>Other APIs</td>\n<td>5,000</td>\n<td>-</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{x_api_key}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"8606e48c-2cf1-4e82-b29a-b9d2561ab9e1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c8d36f38-c8bf-4ce4-9b22-c8f4416e369c","type":"text/javascript","exec":[""]}}],"_postman_id":"82002725-39bb-4170-9105-09f4adaa36d6"}],"event":[{"listen":"prerequest","script":{"id":"f018021e-5162-4ca3-8b17-5950281ad94d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"170f248c-7d1e-4e3d-92cb-3ae3050edac3","type":"text/javascript","exec":[""]}}]}