{"info":{"_postman_id":"a3c6160f-8dba-45eb-8327-1d5dd60abbaa","name":"Magento 2 Order Comments","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3709944","collectionId":"a3c6160f-8dba-45eb-8327-1d5dd60abbaa","publishedId":"2sA3XSB1nZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-06-18T05:16:01.000Z"},"item":[{"name":"REST API","item":[{"name":"Set Order comment","id":"f38fa82e-8e46-48a4-98bc-6a2ba4209319","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"quoteid\": 1,\n  \"comment\": \"Test you comment\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/rest/all/V1/ordercomment/addordercomment","urlObject":{"path":["rest","all","V1","ordercomment","addordercomment"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f38fa82e-8e46-48a4-98bc-6a2ba4209319"},{"name":"Get Order comment","id":"9e1c0473-84a4-41a7-85f5-ba7e454ab121","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"graphql","graphql":{"query":"","variables":""}},"url":"{{base_url}}/rest/all/V1/orders/000000005","urlObject":{"path":["rest","all","V1","orders","000000005"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e1c0473-84a4-41a7-85f5-ba7e454ab121"},{"name":"Get Configdata","id":"8949db55-e353-4f72-a07d-3df9086e5ee8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{base_url}}/rest/all/V1/ordercomment/getconfigdata?storeId=1","urlObject":{"path":["rest","all","V1","ordercomment","getconfigdata"],"host":["{{base_url}}"],"query":[{"key":"storeId","value":"1"}],"variable":[]}},"response":[],"_postman_id":"8949db55-e353-4f72-a07d-3df9086e5ee8"}],"id":"05d57588-fefa-47d8-bb9b-3d587ae138cb","_postman_id":"05d57588-fefa-47d8-bb9b-3d587ae138cb","description":""},{"name":"GraphQL","item":[{"name":"Set Order comment","id":"4014491a-cca0-4efe-ab45-f486335589c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  Ordercomment(input: \n    {quoteid: 16\n      comment: \"Test your comment\"}) \n  {\n    status\n    message\n  }\n}\n","variables":""}},"url":"{{base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4014491a-cca0-4efe-ab45-f486335589c1"},{"name":"Getconfigdata","id":"80cfa1d3-b659-4849-bc91-f2f059c93ae2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  Getconfigdata(input: \n    {\n      storeid: 1}) \n  {\n    status\n    message\n  }\n}\n","variables":""}},"url":"{{base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"80cfa1d3-b659-4849-bc91-f2f059c93ae2"},{"name":"Get Order Comment","id":"861a11c2-eb7d-47f3-a27e-c45ad1fb0a1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"{\n  customerOrders {\n    items {\n      order_number\n      id\n      created_at\n      grand_total\n      status\n     magecomp_order_comment\n    }\n  }\n}","variables":""}},"url":"{{base_url}}/graphql","urlObject":{"path":["graphql"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"861a11c2-eb7d-47f3-a27e-c45ad1fb0a1c"}],"id":"0c0d92c9-c467-4300-bc61-2d7df510e746","_postman_id":"0c0d92c9-c467-4300-bc61-2d7df510e746","description":""}]}