Skip to content

Instantly share code, notes, and snippets.

@daniloaldm
Created September 15, 2020 01:48
Show Gist options
  • Save daniloaldm/ff119f2de54776c6df5630c0de807ead to your computer and use it in GitHub Desktop.
Save daniloaldm/ff119f2de54776c6df5630c0de807ead to your computer and use it in GitHub Desktop.
{"_type":"export","__export_format":4,"__export_date":"2020-09-15T01:45:52.755Z","__export_source":"insomnia.desktop.app:v2020.3.3","resources":[{"_id":"req_b81cca1a8022457484d020ab8f3e643e","authentication":{"token":"ybnump24cgbilr8hchg6t48ht5crdg21","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n \"customer\": {\n \"email\": \"jdoe@example.com\",\n \"firstname\": \"Jane\",\n \"lastname\": \"Doe\",\n \"addresses\": [\n {\n \"defaultShipping\": true,\n \"defaultBilling\": true,\n \"firstname\": \"Jane\",\n \"lastname\": \"Doe\",\n \"region\": {\n \"regionCode\": \"NY\",\n \"region\": \"New York\",\n \"regionId\": 43\n },\n \"postcode\": \"10755\",\n \"street\": [\n \"123 Oak Ave\"\n ],\n \"city\": \"Purchase\",\n \"telephone\": \"512-555-1111\",\n \"countryId\": \"US\"\n }\n ]\n },\n \"password\": \"Password1\"\n}"},"created":1600132892965,"description":"","headers":[{"id":"pair_3f31f171a84f4f30b4991e9f4eee3a5f","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1600132892965,"method":"POST","modified":1600132949334,"name":"1 - Crie um cliente","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/customers","_type":"request"},{"_id":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","created":1600132330143,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1600134185184,"modified":1600134294520,"name":"Order Steps","parentId":"wrk_2199fd649c9c47fbb58519108709822d","_type":"request_group"},{"_id":"wrk_2199fd649c9c47fbb58519108709822d","created":1600132228556,"description":"","modified":1600132228556,"name":"Magento 2 API","parentId":null,"scope":null,"_type":"workspace"},{"_id":"req_58b70df004e64fbc90e500c2e6eb181f","authentication":{},"body":{"mimeType":"application/json","text":"{\n \"username\": \"jdoe@example.com\",\n \"password\": \"Password1\"\n}"},"created":1600132975073,"description":"","headers":[{"id":"pair_b13f64133a0142d197a1ece4f5e87e2d","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1600132892915,"method":"POST","modified":1600133109282,"name":"2 - Logar com a conta do cliente","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/integration/customer/token","_type":"request"},{"_id":"req_d92b30aa5ba3427db9ea68238a045dcf","authentication":{"token":"qf4cj9j1y5umx1uuzlsllm8fc2mnkbja","type":"bearer"},"body":{},"created":1600133126824,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1600132892865,"method":"POST","modified":1600133184134,"name":"3 - Criar carrinho do cliente","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/carts/mine","_type":"request"},{"_id":"req_149c7a65261b43a5bfcb791be27856e9","authentication":{"token":"qf4cj9j1y5umx1uuzlsllm8fc2mnkbja","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n \"cartItem\": {\n \"sku\": \"WS12-M-Orange\",\n \"qty\": 1,\n \"quote_id\": \"3\"\n }\n}"},"created":1600133209716,"description":"","headers":[{"id":"pair_ddc11a3124d741c8a8b13105a2968f12","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1600132892815,"method":"POST","modified":1600133269420,"name":"4 - Adicionando item no carrinho","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/carts/mine/items","_type":"request"},{"_id":"req_73f59a4335444c61a8ce4dbfd0bfe499","authentication":{"token":"qf4cj9j1y5umx1uuzlsllm8fc2mnkbja","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n \"address\": {\n \"region\": \"New York\",\n \"region_id\": 43,\n \"region_code\": \"NY\",\n \"country_id\": \"US\",\n \"street\": [\n \"123 Oak Ave\"\n ],\n \"postcode\": \"10577\",\n \"city\": \"Purchase\",\n \"firstname\": \"Jane\",\n \"lastname\": \"Doe\",\n \"customer_id\": 4,\n \"email\": \"jdoe@example.com\",\n \"telephone\": \"(512) 555-1111\",\n \"same_as_billing\": 1\n }\n}"},"created":1600133430778,"description":"","headers":[{"id":"pair_1ee2ce1dade84954af54b44d3327ff60","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1600132892765,"method":"POST","modified":1600133698771,"name":"5 - Simular Frete","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/carts/mine/estimate-shipping-methods","_type":"request"},{"_id":"req_06e309acb88549f3ae0e125be0abf612","authentication":{"token":"qf4cj9j1y5umx1uuzlsllm8fc2mnkbja","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n \"addressInformation\": {\n \"shipping_address\": {\n \"region\": \"New York\",\n \"region_id\": 43,\n \"region_code\": \"NY\",\n \"country_id\": \"US\",\n \"street\": [\n \"123 Oak Ave\"\n ],\n \"postcode\": \"10577\",\n \"city\": \"Purchase\",\n \"firstname\": \"Jane\",\n \"lastname\": \"Doe\",\n \"email\": \"jdoe@example.com\",\n \"telephone\": \"512-555-1111\"\n },\n \"billing_address\": {\n \"region\": \"New York\",\n \"region_id\": 43,\n \"region_code\": \"NY\",\n \"country_id\": \"US\",\n \"street\": [\n \"123 Oak Ave\"\n ],\n \"postcode\": \"10577\",\n \"city\": \"Purchase\",\n \"firstname\": \"Jane\",\n \"lastname\": \"Doe\",\n \"email\": \"jdoe@example.com\",\n \"telephone\": \"512-555-1111\"\n },\n \"shipping_carrier_code\": \"tablerate\",\n \"shipping_method_code\": \"bestway\"\n }\n}\n"},"created":1600133632960,"description":"","headers":[{"id":"pair_1ee2ce1dade84954af54b44d3327ff60","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1600132892740,"method":"POST","modified":1600133758524,"name":"6 - Definindo informações de endereço","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/carts/mine/shipping-information","_type":"request"},{"_id":"req_95cd9516f2844a78ab3e17138a16fc46","authentication":{"token":"qf4cj9j1y5umx1uuzlsllm8fc2mnkbja","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n \"paymentMethod\": {\n \"method\": \"banktransfer\"\n },\n \"billing_address\": {\n \"email\": \"jdoe@example.com\",\n \"region\": \"New York\",\n \"region_id\": 43,\n \"region_code\": \"NY\",\n \"country_id\": \"US\",\n \"street\": [\n \"123 Oak Ave\"\n ],\n \"postcode\": \"10577\",\n \"city\": \"Purchase\",\n \"telephone\": \"512-555-1111\",\n \"firstname\": \"Jane\",\n \"lastname\": \"Doe\"\n }\n}"},"created":1600133546327,"description":"","headers":[{"id":"pair_1db08c80b34040acb2e3ecf9bf00e313","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1600132892715,"method":"POST","modified":1600133900532,"name":"7 - Crie o pedido","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/carts/mine/payment-information","_type":"request"},{"_id":"req_185b672834a8466396891651c6deaada","authentication":{"token":"ybnump24cgbilr8hchg6t48ht5crdg21","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n \"capture\": true,\n \"notify\": true\n}"},"created":1600133928658,"description":"","headers":[{"id":"pair_0b9f371a6a874ca5b408f2ed6f09f50f","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1600132892665,"method":"POST","modified":1600133983917,"name":"8 - Crie uma fatura","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/order/3/invoice","_type":"request"},{"_id":"req_19e4279510284c9f9b7af8853dbf573f","authentication":{"token":"ybnump24cgbilr8hchg6t48ht5crdg21","type":"bearer"},"body":{},"created":1600134023139,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1599437694365,"method":"GET","modified":1600134050013,"name":"8.5 - Veja a fatura","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/invoices/3","_type":"request"},{"_id":"req_70df790f0c354d309ed4c64ddf18b05e","authentication":{"token":"ybnump24cgbilr8hchg6t48ht5crdg21","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n \"items\": [\n {\n \"order_item_id\": 3,\n \"qty\": 1\n },\n {\n \"order_item_id\": 5,\n \"qty\": 1\n },\n {\n \"order_item_id\": 11,\n \"qty\": 1\n }\n ],\n \"tracks\": [\n {\n \"track_number\": \"1Y-9876543210\",\n \"title\": \"United Parcel Service\",\n \"carrier_code\": \"ups\"\n }\n ]\n}"},"created":1600134071428,"description":"","headers":[{"id":"pair_b82ed96e20d34bc58bf899ddd06a66df","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1599437694315,"method":"POST","modified":1600134139216,"name":"9 - Crie uma remessa","parameters":[],"parentId":"fld_dd747dd8f6004d058d3e4b0d2d58edb2","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/rest/default/V1/order/3/ship","_type":"request"},{"_id":"req_a95097e7275d4b80b18215ec46bb1f03","authentication":{"token":"ybnump24cgbilr8hchg6t48ht5crdg21","type":"bearer"},"body":{},"created":1600134219705,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1600134219705,"method":"POST","modified":1600134244892,"name":"10 - Reembolso offline","parameters":[],"parentId":"fld_ea888b97cd0e4dedb51d3e6ff4e6badc","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/V1/order/<order_ID>/refund","_type":"request"},{"_id":"fld_ea888b97cd0e4dedb51d3e6ff4e6badc","created":1600134185134,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1600134185134,"modified":1600134185134,"name":"Reembolso","parentId":"wrk_2199fd649c9c47fbb58519108709822d","_type":"request_group"},{"_id":"req_73500deda6364b1f99855d2fcde12640","authentication":{"token":"ybnump24cgbilr8hchg6t48ht5crdg21","type":"bearer"},"body":{},"created":1600134277636,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1600133556335,"method":"POST","modified":1600134287187,"name":"10.5 - Reembolso com um sistema de pagamento online","parameters":[],"parentId":"fld_ea888b97cd0e4dedb51d3e6ff4e6badc","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/V1/invoice/<invoice_ID>/refund","_type":"request"},{"_id":"env_c37376fcc4a5e70ab6e9b1a369e69cd31f99fc7e","color":null,"created":1600132228674,"data":{},"dataPropertyOrder":null,"isPrivate":false,"metaSortKey":1600132228674,"modified":1600132228674,"name":"Base Environment","parentId":"wrk_2199fd649c9c47fbb58519108709822d","_type":"environment"},{"_id":"jar_c37376fcc4a5e70ab6e9b1a369e69cd31f99fc7e","cookies":[{"creation":"2020-09-15T01:17:51.463Z","domain":"projetos.bleez","expires":"2020-09-15T02:42:20.000Z","hostOnly":false,"httpOnly":true,"id":"7724333938275723","key":"PHPSESSID","lastAccessed":"2020-09-15T01:42:21.233Z","maxAge":3600,"path":"/magento232","value":"a74a5fe863ec06fab0b8dede30f7f49e"},{"creation":"2020-09-15T01:25:11.306Z","domain":"projetos.bleez","expires":"1970-01-01T00:00:01.000Z","hostOnly":true,"httpOnly":true,"id":"6624522147906742","key":"persistent_shopping_cart","lastAccessed":"2020-09-15T01:25:11.306Z","maxAge":0,"path":"/magento232","value":"deleted"},{"creation":"2020-09-15T01:25:11.306Z","domain":"projetos.bleez","expires":"1970-01-01T00:00:01.000Z","hostOnly":false,"id":"9586738115759577","key":"form_key","lastAccessed":"2020-09-15T01:25:11.306Z","maxAge":0,"path":"/magento232","value":"deleted"}],"created":1600132228684,"modified":1600134141234,"name":"Default Jar","parentId":"wrk_2199fd649c9c47fbb58519108709822d","_type":"cookie_jar"},{"_id":"spc_f735899857664047a2a486d080f29e0f","contentType":"yaml","contents":"","created":1600132228569,"fileName":"Magento 2 API","modified":1600132228569,"parentId":"wrk_2199fd649c9c47fbb58519108709822d","_type":"api_spec"},{"_id":"env_098d15e0f3eb40c29f5fd7f307559118","color":"#4111ff","created":1600132237708,"data":{"base_url":"http://projetos.bleez/magento232"},"dataPropertyOrder":{"&":["base_url"]},"isPrivate":false,"metaSortKey":1600132237708,"modified":1600132316545,"name":"base_url","parentId":"env_c37376fcc4a5e70ab6e9b1a369e69cd31f99fc7e","_type":"environment"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment