{"info":{"_postman_id":"5d2656c4-33ca-47d4-b725-21f6b6eec0e9","name":"Alfred24","description":"<html><head></head><body><p>The Alfred24 API allows merchants or factory to integrate their ecommerce or services with Alfred24's internal system.</p>\n<p>The Alfred24 API allows you to take advantage of the potential of our software that offers more shipping options and helps merchants and factory to increase their business.</p>\n<p>The Alfred24 itegration, implement several services, including:</p>\n<ul>\n<li>Import orders on Alfred24 platform.</li>\n<li>Shipment tracking.</li>\n<li>A list of pick-up and drop-off points (for PUDO deliveries).</li>\n<li>Get rates for a shipment</li>\n<li>Create a Shipment</li>\n</ul>\n<p>For a certain Flow to work, you must be able to:</p>\n<ul>\n<li>Receive a Webhook and provide an appropriate response.</li>\n<li>Send a HTTPS request to Alfred24 API.</li>\n</ul>\n<p>The Alfred24 API is a general solution for multiple type of users to integrate with and was designed in a way that allows to develop its own middleware application between its core business logic and Alfred24.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17598390","collectionId":"5d2656c4-33ca-47d4-b725-21f6b6eec0e9","publishedId":"2s93CNLsC7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"00D5CA"},"publishDate":"2023-02-23T10:50:07.000Z"},"item":[{"name":"GetToken","id":"02f38694-3c31-4151-b802-b09b82f2f979","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"user\": \"userame_alfred24\",\n  \"password\": \"password_alfred24\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/GetToken","description":"<p>Before making a request to Alfred24, retrieve the <code>apitoken</code> token from our server.</p>\n<blockquote>\n<p><strong>This value allow us to identify what kind of operation you can do and to retreive all the information about the user.</strong> </p>\n</blockquote>\n<p>To obtain this data a call to <code>GetToken</code> must be provided.</p>\n<p>Use your <code>username</code> and <code>password</code> to access at Alfred24 platform.</p>\n","urlObject":{"protocol":"https","path":["wd","GetToken"],"host":["api","alfred24","it"],"query":[],"variable":[]}},"response":[{"id":"333f132c-4a51-4c43-a101-cf195e360f16","name":"GetToken","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"user\": \"userame_alfred24\",\n  \"password\": \"password_alfred24\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/GetToken"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 May 2023 08:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_code\": 200,\n    \"token\": \"ABcdEfk123QcTtNQQv0HqjJJeAUqmyvKoXS123ZRC6o!@&\",\n    \"base64Data\": \"dXNlcm5hbWVfYWxmcmVkMjQ6cGFzc3dvcmRfYWxmcmVkMjQ=\",\n    \"userInfo\": {\n        \"idPoint\": \"123456\",\n        \"wallet\": \"877.840\",\n        \"name\": \"LUIGI ROSSI\",\n        \"address\": \"Via Lunga 10\",\n        \"zip\": \"40135\",\n        \"location\": \"Bologna\",\n        \"province\": \"BO\",\n        \"country\": \"ITA\",\n        \"phone\": \"335142456\",\n        \"email\": \"luigi.rossi@example.com\"\n    }\n}"}],"_postman_id":"02f38694-3c31-4151-b802-b09b82f2f979"},{"name":"GetAccessToken","id":"2e3107b6-514d-46fb-aced-a1be4a02ae8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Basic <base 64 username alfred24:password alfred24>","type":"text"}],"url":"https://app.alfred24.it/alfred_api/wd/GetAccessToken","description":"<p>This enpoint returns an <code>access_token</code> in <strong>JTW</strong> format which identifies the user via the api functionality.<br /><strong>The JWT is valid for 60 minutes</strong>; once it has expired, a new one must be recreated.</p>\n<p>In HEADER you <strong>MUST</strong> set a <code>Authorization</code> field whit <code>Basic + base64 encoding of username and password separated by a \":\"</code> used to access to Alfred24*.</p>\n<blockquote>\n<p>example: Basic base64(<a href=\"mailto:test@alfred24.com\">test@alfred24.com</a>:mypassword123) </p>\n</blockquote>\n<p>*You can get this data making a call to <code>GetToken</code> enpoint. The value is in <code>base64Data</code> of the response</p>\n","urlObject":{"protocol":"https","path":["alfred_api","wd","GetAccessToken"],"host":["app","alfred24","it"],"query":[],"variable":[]}},"response":[{"id":"025e9125-eb4f-4f24-99d5-cc1521c394be","name":"GetAccessToken","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic <base 64 username alfred24:password alfred24>","type":"text"}],"url":"https://app.alfred24.it/alfred_api/wd/GetAccessToken"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 17 May 2023 14:47:16 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Vary","value":"Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_code\": \"200\",\n    \"access_token\": \"eyJhbGIUIsInR5cXVCJ9.eyJpc3MiOiJodHRwczpmVkMjQuaXOiJodHRwczpcL1wvYXBpLmFsZnJlZDI0Lml0XC93ZCIsImlhdCI6MTY4NDMzNDgzNiwiZXhwIjoxNjg0MzM4NDM2LCJndHkiOiJjbGllbnRfY3JlZGVudGlhbCIsImRhdGEiOnsiYXBpdG9rZW4iOiJ6cHJHOUFXNXhEajlvd1ZSaGNzZFFycmFheDJGdTJHY0pKV05EdVgxcTVqUU5iTGpzUBV6BawN5LALdmtGnrNAxEK8-A\",\n    \"expire_in\": 3600\n}"}],"_postman_id":"2e3107b6-514d-46fb-aced-a1be4a02ae8e"},{"name":"GetPoints","id":"bac06590-72f3-40a2-a454-e4da44957154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"apitoken\":\"alfred_apitoken\",\n        \"country\"  :  \"IT\",\n        \"address\"   : \"00100\",\n        \"services\" :{ \n            \"shipment\":1,\n            \"delivery\":1,\n            \"p2p\"  :1\n         },\n        \"distance\"  : 5\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/GetPoints","description":"<p>This endpoint provide a list of Alfred Points.</p>\n<p>Into the request you must specified your <code>apitoken</code>,</p>\n<p>The following parameters must be specified in the request</p>\n<p><strong><code>country</code></strong>: country code (es: <code>IT</code>, <code>FR</code>)</p>\n<p><strong><code>address</code></strong>: the <code>address</code>value can be:</p>\n<ul>\n<li>a specified address (es: <code>piazza Verdi, Milano</code>)</li>\n<li>a valid zip code (es: <code>0123</code>)</li>\n</ul>\n<p><strong><code>service</code></strong>: list of services offered by POINT ALFRED:</p>\n<ul>\n<li><code>shipment</code>: it is possible to create shipments from the <em><strong>Alfred24 Point</strong></em></li>\n<li><code>delivery</code>: the <em><strong>Alfred24 Point</strong></em> offers a delivery service</li>\n<li><code>p2p</code>: the <em><strong>Alfred24</strong></em> point operates PUDO to PUDO shipments</li>\n</ul>\n<p><strong><code>distance</code></strong>: distance in km from the indicated address (es: <code>5</code>)</p>\n<p><strong><code>pointOpeningTime</code></strong>: detailed information on opening hours of pudos, days of the week(1=Monday - 7=Sunday) and closing day.</p>\n","urlObject":{"protocol":"https","path":["wd","GetPoints"],"host":["api","alfred24","it"],"query":[],"variable":[]}},"response":[{"id":"55ec9bb4-00ea-48c6-be9f-3c6fdc4d62f0","name":"GetPoints","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"apitoken\":\"alfred_apitoken\",\n        \"country\"  :  \"IT\",\n        \"address\"   : \"20121\",\n        \"services\" :{ \n            \"shipment\":1,\n            \"delivery\":1,\n            \"p2p\"  :1\n         },\n        \"distance\"  : 2\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/GetPoints"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 15 Mar 2024 15:27:12 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_code\": \"200\",\n    \"message\": \"success\",\n    \"count\": 1,\n    \"items\": [\n        {\n            \"idPoint\": \"24263\",\n            \"pointName\": \"TABACCHI MONTELLO \",\n            \"pointLabel\": \"\",\n            \"pointNetwork\": \"POINT\",\n            \"pointRule\": \"5\",\n            \"pointAddress\": \"VIALE MONTELLO, MILANO, MI, 10\",\n            \"pointCity\": \"MILANO\",\n            \"pointProvince\": \"MI\",\n            \"pointZip\": \"20154\",\n            \"email\": \"tabacchiviamontello@email.com\",\n            \"phone\": \"3486655\",\n            \"latitude\": \"45.480554\",\n            \"longitude\": \"9.1809102\",\n            \"pointServices\": {\n                \"shipment\": \"1\",\n                \"delivery\": \"1\",\n                \"p2p\": \"1\"\n            },\n            \"distance\": \"1.2834300142333916\",\n            \"logo\": null,\n            \"pointOpeningTime\": [\n                {\n                    \"dayNumber\": 1,\n                    \"dayName\": \"Monday\",\n                    \"closed\": false,\n                    \"hours\": {\n                        \"am_open_time\": \"08:30\",\n                        \"am_closed_time\": \"13:00\",\n                        \"pm_open_time\": \"14:00\",\n                        \"pm_closed_time\": \"19:30\"\n                    }\n                },\n                {\n                    \"dayNumber\": 2,\n                    \"dayName\": \"Tuesday\",\n                    \"closed\": false,\n                    \"hours\": {\n                        \"am_open_time\": \"08:30\",\n                        \"am_closed_time\": \"13:00\",\n                        \"pm_open_time\": \"14:00\",\n                        \"pm_closed_time\": \"19:30\"\n                    }\n                },\n                {\n                    \"dayNumber\": 3,\n                    \"dayName\": \"Wednesday\",\n                    \"closed\": false,\n                    \"hours\": {\n                        \"am_open_time\": \"08:30\",\n                        \"am_closed_time\": \"13:00\",\n                        \"pm_open_time\": \"14:00\",\n                        \"pm_closed_time\": \"19:30\"\n                    }\n                },\n                {\n                    \"dayNumber\": 4,\n                    \"dayName\": \"Thursday\",\n                    \"closed\": false,\n                    \"hours\": {\n                        \"am_open_time\": \"08:30\",\n                        \"am_closed_time\": \"13:00\",\n                        \"pm_open_time\": \"14:00\",\n                        \"pm_closed_time\": \"19:30\"\n                    }\n                },\n                {\n                    \"dayNumber\": 5,\n                    \"dayName\": \"Friday\",\n                    \"closed\": false,\n                    \"hours\": {\n                        \"am_open_time\": \"08:30\",\n                        \"am_closed_time\": \"13:00\",\n                        \"pm_open_time\": \"14:00\",\n                        \"pm_closed_time\": \"19:30\"\n                    }\n                },\n                {\n                    \"dayNumber\": 6,\n                    \"dayName\": \"Saturday\",\n                    \"closed\": false,\n                    \"hours\": {\n                        \"am_open_time\": \"08:30\",\n                        \"am_closed_time\": \"13:00\",\n                        \"pm_open_time\": \"14:00\",\n                        \"pm_closed_time\": \"19:30\"\n                    }\n                },\n                {\n                    \"dayNumber\": 7,\n                    \"dayName\": \"Sunday\",\n                    \"closed\": true,\n                    \"hours\": []\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"bac06590-72f3-40a2-a454-e4da44957154"},{"name":"GetShipments","id":"f550a93f-77cf-4aaf-955d-40773c3b37a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <user access token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"limit\" : 100,\r\n    \"tracking_status\" : \"CONSEGNATA\"\r\n}"},"url":"https://api.alfred24.it/wd/GetShipments","description":"<p>This endpoint return a list of shipments for user autenticated via <code>access_token</code>.</p>\n<p>The parameter <code>limit</code> <strong>must</strong> be specified in the request</p>\n<p>The parameters for the request are:</p>\n<p><code>limit</code> : <em>(mandatory)</em> this parameter set the number of shipments showed by the request.</p>\n<p><code>tracking_status</code>: <em>(optional)</em> This parameter apply a filter on shipment status. The valid values ​​are:</p>\n<ul>\n<li><code>CONSEGNATA</code></li>\n<li><code>IN CONSEGNA</code></li>\n<li><code>CANCELLATA</code></li>\n<li><code>CONSEGNATA ALL'HUB</code></li>\n<li><code>IN ATTESA</code></li>\n<li><code>IN GIACENZA</code></li>\n<li><code>IN TRANSITO</code></li>\n<li><code>INVALIDATA</code></li>\n<li><code>PARTITA</code></li>\n<li><code>RIFIUTATA</code></li>\n<li><code>RITIRATA</code></li>\n<li><code>RITIRATA DAL POINT</code></li>\n<li><code>RITIRO ASSEGNATO</code></li>\n<li><code>SCADUTE</code></li>\n</ul>\n","urlObject":{"protocol":"https","path":["wd","GetShipments"],"host":["api","alfred24","it"],"query":[],"variable":[]}},"response":[{"id":"42e494d8-81d0-48a9-a6f6-445667b58cc1","name":"GetShipment","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <user access token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"limit\" : 100,\r\n    \"tracking_status\" : \"CONSEGNATA\"\r\n}"},"url":"https://api.alfred24.it/wd/GetShipments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 17 May 2023 14:23:37 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Vary","value":"Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_code\": 200,\n    \"response\": \"success\",\n    \"num_shipment\": 1,\n    \"shipments\": [\n        {\n            \"id_shipment\": \"212807\",\n            \"label\": \"https://app.alfred24.it/alfred2/api_corrieri/TNT/20230331/LDV_TNT642721c3b25easdasd233242.pdf\",\n            \"created\": \"2023-03-31 20:09:10\",\n            \"deleted\": false,\n            \"tracking_status\": \"CONSEGNATA\",\n            \"price\": \"6.0000\",\n            \"sender\": {\n                \"name\": \"MARIO VARDI\",\n                \"email\": \"mario.vardi@alfred24.com\",\n                \"phone\": \"3432342324432\",\n                \"address\": \"Via Roma, 13\",\n                \"city\": \"BOLOGNA\",\n                \"zipCode\": \"40138\",\n                \"country\": \"ITA\"\n            },\n            \"pickup\": {\n                \"name\": \"LUIGI BICEGO\",\n                \"email\": \"luigibicego@test.com\",\n                \"phone\": \"3234342432\",\n                \"address\": \"Via Mazzini 19\",\n                \"city\": \"MILANO\",\n                \"zipCode\": \"20120\",\n                \"country\": \"IT\"\n            },\n            \"receiver\": {\n                \"name\": \"GIUSEPPE POLLETO\",\n                \"email\": \"giuseppepolleto@test.com\",\n                \"phone\": \"32423324234\",\n                \"address\": \"Via Carlo Magno 90\",\n                \"city\": \"Roma\",\n                \"zipCode\": \"00111\",\n                \"country\": \"ITA\"\n            },\n            \"courier\": {\n                \"name\": \"TNT\",\n                \"logo\": \"https://app.alfred24.it/alfred2/user/img/parcel-tnt.png\"\n            },\n            \"accessories\": {\n                \"shipment_value\": \"0\",\n                \"shipment_insurance_value\": \"0\",\n                \"shipment_cashondelivery\": \"0\"\n            }\n        }\n    ]\n}"}],"_postman_id":"f550a93f-77cf-4aaf-955d-40773c3b37a4"},{"name":"GetTracking","id":"39a7b96f-cbc7-4d87-8677-207eddb17d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.alfred24.it/wd/GetTracking?barcode=383944F014571","description":"<p>This endpoint returns information and tracking status of a shipment.<br />A <code>GET</code> call with <code>barcode</code> parameter is required for obtaining all informations.</p>\n","urlObject":{"protocol":"https","path":["wd","GetTracking"],"host":["api","alfred24","it"],"query":[{"key":"barcode","value":"383944F014571"}],"variable":[]}},"response":[{"id":"3e2ff8bb-822f-4719-a813-f2c95f1dcf84","name":"GetTracking","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.alfred24.it/wd/GetTracking?barcode=383944F014571","protocol":"https","host":["api","alfred24","it"],"path":["wd","GetTracking"],"query":[{"key":"barcode","value":"383944F014571"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 08:50:16 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=d15fc2af85d8c082c769a692d645e299; path=/"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"response\": \"success\",\n    \"courier\": \"SDA\",\n    \"details\": {\n        \"package\": 1,\n        \"origin\": \"Civitavecchia\",\n        \"originProvince\": \"RM\",\n        \"destination\": \"Bologna\",\n        \"destinationProvince\": \"BO\",\n        \"destination_nation\": \"ITA\",\n        \"pickup_date\": \"2023-03-02 10:00:00\"\n    },\n    \"track\": {\n        \"status\": \"OK\",\n        \"tracking\": [\n            {\n                \"data\": \"02/03/2023 11:32:00\",\n                \"posizione\": \"Bologna\",\n                \"stato\": \"LA SPEDIZIONE E' STATA CONSEGNATA\",\n                \"firma\": \"Tomassini Rita\",\n                \"AlfredStatus\": \"CONSEGNATA\"\n            },\n            {\n                \"data\": \"02/03/2023 08:27:00\",\n                \"posizione\": \"Bologna\",\n                \"stato\": \"IN CONSEGNA\",\n                \"firma\": \"Tomassini Rita\",\n                \"AlfredStatus\": \"IN CONSEGNA\"\n            },\n            {\n                \"data\": \"02/03/2023 05:15:00\",\n                \"posizione\": \"Bologna\",\n                \"stato\": \"IN ATTESA DI CONSEGNA SECONDO I TEMPI PREVISTI\",\n                \"firma\": \"Tomassini Rita\",\n                \"AlfredStatus\": \"ND\"\n            },\n            {\n                \"data\": \"02/03/2023 03:08:00\",\n                \"posizione\": \"Hub Espresso Bologna\",\n                \"stato\": \"LA SPEDIZIONE E' PARTITA\",\n                \"firma\": \"Tomassini Rita\",\n                \"AlfredStatus\": \"PARTITA\"\n            },\n            {\n                \"data\": \"02/03/2023 03:08:00\",\n                \"posizione\": \"Hub Espresso Bologna\",\n                \"stato\": \"IN TRANSITO\",\n                \"firma\": \"Tomassini Rita\",\n                \"AlfredStatus\": \"IN TRANSITO\"\n            },\n            {\n                \"data\": \"01/03/2023 16:47:00\",\n                \"posizione\": \"Roma 2\",\n                \"stato\": \"LA SPEDIZIONE E' PARTITA\",\n                \"firma\": \"Tomassini Rita\",\n                \"AlfredStatus\": \"PARTITA\"\n            }\n        ]\n    }\n}"}],"_postman_id":"39a7b96f-cbc7-4d87-8677-207eddb17d23"},{"name":"GetRates","id":"0c8b5b8b-7a60-425c-ad72-fa8e4db959d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"apitoken\": \"alfred_apitoken\",\r\n    \"origin_town\": \"Udine\",\r\n    \"origin_province\": \"UD\",\r\n    \"origin_zip\": \"33100\",\r\n    \"destination_town\": \"Bari\",\r\n    \"destination_province\": \"BA\",\r\n    \"destination_zip\": \"70126\",\r\n    \"origin_country\": \"IT\",\r\n    \"destination_country\": \"IT\",\r\n    \"shipment_value\": \"\",\r\n    \"shipment_cashondelivery\": \"\",\r\n    \"shipment_insurance\": \"\",\r\n    \"package\": [{\r\n            \"weight\": \"10\",\r\n            \"height\": \"40\",\r\n            \"width\": \"40\",\r\n            \"depth\": \"60\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/GetRates","description":"<p>This endpoint return a list of rates for a shipment.</p>\n<p>Is mandatory to be autenticated via <code>api_token</code>.</p>\n<p>The parameters for the request are:</p>\n<p><code>origin/destination info</code>: <em>(mandatory)</em></p>\n<p><code>shipment_value</code>: <em>(mandatory only</em> <em><strong>for shipments outside Italy</strong><strong>**</strong>**__)</em></p>\n<p><code>shipment_cashondelivery</code>: <em>(optional)</em></p>\n<p><code>shipment_insurance</code>: <em>(optional)</em></p>\n<p><code>package:</code> <em>(all data are mandatory).</em></p>\n<ul>\n<li><code>weight:</code> <em>in Kg</em></li>\n<li><code>height / width / depth:</code> <em>in cm</em></li>\n</ul>\n<p>You can specify a multi-package shipment adding more data. Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"package\": [{\n            \"weight\": \"1.5\",\n            \"height\": \"40\",\n            \"width\": \"40\",\n            \"depth\": \"60\"\n        },\n        {\n            \"weight\": \"2\",\n            \"height\": \"48\",\n            \"width\": \"50\",\n            \"depth\": \"35\"\n        }\n    ]\n\n</code></pre>","urlObject":{"protocol":"https","path":["wd","GetRates"],"host":["api","alfred24","it"],"query":[],"variable":[]}},"response":[{"id":"072de6c3-169c-480d-b9cd-b030ca812cdb","name":"GetRates","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"apitoken\": \"alfred_apitoken\",\r\n    \"origin_town\": \"Udine\",\r\n    \"origin_province\": \"UD\",\r\n    \"origin_zip\": \"33100\",\r\n    \"destination_town\": \"Bologna\",\r\n    \"destination_province\": \"BO\",\r\n    \"destination_zip\": \"40138\",\r\n    \"origin_country\": \"IT\",\r\n    \"destination_country\": \"IT\",\r\n    \"shipment_value\": \"\",\r\n    \"shipment_cashondelivery\": \"\",\r\n    \"shipment_insurance\": \"\",\r\n    \"package\": [{\r\n            \"weight\": \"10\",\r\n            \"height\": \"40\",\r\n            \"width\": \"40\",\r\n            \"depth\": \"60\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/GetRates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 18 Jul 2023 11:01:42 GMT"},{"key":"Server","value":"Apache"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_code\": \"200\",\n    \"status\": null,\n    \"risultati\": [\n        {\n            \"corriere\": \"PDB\",\n            \"nome\": \"PosteDelivery Business Standard\",\n            \"nome_listino\": \"POINT\",\n            \"codice_servizio\": \"APT000902\",\n            \"tempistiche\": \"2-3 giorni\",\n            \"costo_ritiro\": \"0\",\n            \"logo\": \"https://app.alfred24.it/alfred2/user/img/parcel-pdb.png\",\n            \"peso_fatturato_grammi\": 10000,\n            \"prezzo_finale\": 16.02,\n            \"prezzo_consegna_point\": 17.02,\n            \"id_preventivo\": \"67\"\n        },\n        {\n            \"corriere\": \"GLS\",\n            \"nome\": \"GLS Standard\",\n            \"nome_listino\": \"GLS Test\",\n            \"codice_servizio\": null,\n            \"tempistiche\": \"2-5\",\n            \"costo_ritiro\": \"3.5\",\n            \"logo\": \"https://app.alfred24.it/alfred2/user/img/parcel-gls.png\",\n            \"peso_fatturato_grammi\": 28802,\n            \"prezzo_finale\": 75.40,\n            \"prezzo_consegna_point\": 75.40,\n            \"pickup_separato\": \"0\",\n            \"id_preventivo\": \"65\"\n        },\n        {\n            \"corriere\": \"PDB\",\n            \"nome\": \"PosteDelivery Business Standard\",\n            \"nome_listino\": \"POINT\",\n            \"codice_servizio\": \"APT000902\",\n            \"tempistiche\": \"2-3 giorni\",\n            \"costo_ritiro\": \"0\",\n            \"logo\": \"https://app.alfred24.it/alfred2/user/img/parcel-pdb.png\",\n            \"peso_fatturato_grammi\": 10000,\n            \"prezzo_finale\": 13.38,\n            \"prezzo_consegna_point\": 14.38,\n            \"id_preventivo\": \"66\"\n        },\n        {\n            \"corriere\": \"Poste\",\n            \"nome\": \"Crono\",\n            \"nome_listino\": \"20 Merchant\",\n            \"codice_servizio\": \"P44\",\n            \"tempistiche\": \"2-4 giorni\",\n            \"costo_ritiro\": \"0\",\n            \"logo\": \"https://app.alfred24.it/alfred2/user/img/parcel-poste.png\",\n            \"peso_fatturato_grammi\": 10000,\n            \"prezzo_finale\": 10.44,\n            \"prezzo_consegna_point\": 10.04,\n            \"id_preventivo\": \"63\"\n        }\n    ],\n    \"debug\": null\n}"}],"_postman_id":"0c8b5b8b-7a60-425c-ad72-fa8e4db959d6"},{"name":"CreateShipment","id":"2fba6212-bf97-4351-96e7-9eac602510f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer <BearerToken>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id_quotation\": 30,\r\n    \"label_format\": \"A6\",\r\n    \"sender\":\r\n    [{\r\n\t\t\"name\": \"Luigi Rossi\",\r\n        \"address\":\"Via Einstein 4\",\r\n        \"zip_code\":\"40055\",\r\n        \"city\":\"Castenaso\",\r\n        \"province\":\"BO\",\r\n        \"country\":\"IT\",\r\n        \"reference\":\"\",\r\n        \"phone\":\"333333333\",\r\n        \"email\":\"luigirossi@test.it\"\r\n    }],\r\n    \"pickup\": [{\r\n        \"name\":\"Alfred 24\",\r\n        \"address\":\"Via Canova 13\",\r\n        \"reference\":\"Sig. Bianchi\",\r\n        \"phone\":\"3351122333\",\r\n        \"email\":\"hello-it@alfred24.com\"\r\n\t}],\r\n    \"receiver\":\r\n    [{\r\n            \"name\": \"Packaging Log S.r.l.\",\r\n            \"reference\": \"Sig. Mario Bianchi\",\r\n            \"address\":\"Viale dell'Industria 5/A\",\r\n            \"phone\": \"3331234567\",\r\n            \"email\": \"pack_log@email.com\"\r\n    }],\r\n\r\n    \"shipment\": [{\r\n            \"shipment_content\": \"test_contenuto\",\r\n            \"shipment_notes\": \"test_note\",\r\n            \"pickup_date\" : \"2023-05-23\"\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/CreateShipment","description":"<p>This enpoint enables the creation of shipments, in Italy and European countries, via API</p>\n<p>Is mandatory to be autenticated via <code>access_token</code>.</p>\n<p><strong>The parameters for the request are:</strong></p>\n<p><code>label_format</code>: <em>(mandatory)</em> label format. Valid values:</p>\n<ul>\n<li>A4</li>\n<li>A6</li>\n</ul>\n<p><code>id_quotation</code>: <em>(mandatory)</em> value <code>id_preventivo</code> obtained in <em><strong>GetRates</strong></em>. From this value, the postcode and departure and arrival location values of the shipment being created will be automatically obtained</p>\n<p><code>sender</code>: <em>(mandatory)</em> address information and sender's personal data</p>\n<p><code>receiver</code>: <em>(mandatory)</em> address information and receiver's personal data</p>\n<p><code>pickup</code>: <em>(optional)</em> shipment pickup information. If empty, the shipment will be picked up at the sender's address</p>\n<p><code>shipment</code>: <em>(optional)</em> shipment optional information (<em>custom pickup date, notes, etc</em>)</p>\n<p>The system checks the availability of credit on the Alfred24 wallet via the <strong>access_token</strong>. If the shipment amount is greater than the remaining credit, the creation of the shipment will not be successful.</p>\n","urlObject":{"protocol":"https","path":["wd","CreateShipment"],"host":["api","alfred24","it"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fba6212-bf97-4351-96e7-9eac602510f3"},{"name":"CheckShipment","id":"d4892119-db5f-46ea-9e87-a57092cf9527","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\t\t\t\"apitoken\": \"ABcdEfk123QcTtNQQv0HqjJJeAUqmyvKoXS123ZRC6o!@&\",\r\n\t\t\t\t\"barcode\": \"18012000001668\" \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/CheckShipment","description":"<p>This endpoint check if a shipment exist on Alfred24.</p>\n<p>A <code>GET</code> call with a valid <code>apitoken</code> and <code>barcode</code> parameters is required for obtaining the informations.</p>\n","urlObject":{"protocol":"https","path":["wd","CheckShipment"],"host":["api","alfred24","it"],"query":[],"variable":[]}},"response":[{"id":"530787e7-b13e-42da-ba23-da220f354a58","name":"CheckShipment","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\t\t\t\"apitoken\": \"ABcdEfk123QcTtNQQv0HqjJJeAUqmyvKoXS123ZRC6o!@&\",\r\n\t\t\t\t\"barcode\": \"18012000001668\" \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/CheckShipment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 17 Apr 2023 10:00:33 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_code\": \"200\",\n    \"barcode\": \"18012000001668\",\n    \"from\": \"MARIA ROSSI\",\n    \"to\": \"ALFREDO VENTIQUATTRO\",\n    \"source\": \"newtwork\"\n}"}],"_postman_id":"d4892119-db5f-46ea-9e87-a57092cf9527"},{"name":"ImportOrder","id":"bb03aaf8-5c4d-46fc-b1e7-2309f5a2715f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"apitoken\": \"ABcdEfk123QcTtNQQv0HqjJJeAUqmyvKoXS123ZRC6o!@&\",\r\n    \"orderNumber\": \"123456\",\r\n    \"referenceNumber\" : \"ABCDEF\",\r\n\t\"payment_status\":\"pagato\",\r\n\t\"payment_method\":\"paypal\",\r\n    \"delivery_Point\":   \"9999\",\r\n    \"receiver\": [\r\n\t\t{\r\n            \"lastname\": \"LUIGI\",\r\n            \"firstname\": \"VERDI\",\r\n\t\t\t\"address\":\"Via Vittorio Veneto, 31\",\r\n            \"postcode\": \"20127\",\r\n\t\t\t\"city\":\"Milano\",\r\n\t\t\t\"phone\":\"3351616156\",\r\n\t\t\t\"email\":\"luigiverdi@gmail.com\"\r\n        }\r\n\t],\r\n\t\"pickup\": [\r\n\t\t{\r\n\t\t\t\"company\": \"My Warehoyse\",\r\n\t\t\t\"address\": \"Via Roma, Milano\",\r\n\t\t\t\"postcode\": \"20123\",\r\n\t\t\t\"city\": \"Milano\",\r\n\t\t\t\"province\": \"Mi\",\r\n\t\t\t\"phone\": \"333145687\",\r\n\t\t\t\"email\": \"warehouse@test.it\"\r\n\t\t}\r\n\t],\r\n\t\"products\": [\r\n\t\t{\r\n\t\t\t\"order_id\": \"cc33\",\r\n            \"description\": \"Penna Rossa\",\r\n            \"qty\": 2,\r\n            \"price\": 5,\r\n            \"weight\":200\r\n        },\r\n\t\t{\r\n            \"order_id\": \"bb22\",\r\n\t\t\t\"description\": \"Matita\",\r\n            \"qty\": 2,\r\n            \"price\": 2,\r\n            \"weight\":100\r\n        }\r\n    ]\r\n}\r\n\r\n\r\n\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/ImportOrder","description":"<p>This endpoint allows you to import orders from your CSM/Software into the Alfred24 platform.<br />it is possible to create shipments from a pickup address different from that of the user identified with the token (e.g. <em>drop-shipping</em>).</p>\n<p>The information of the sender of the shipment is automatically obtained from the system through the validation of the <code>apitoken.</code></p>\n<p>The parameters of the Request are:</p>\n<p><strong><code>apitoken</code></strong>: (mandatory)</p>\n<p><strong><code>id_connector</code></strong>:(mandatory) APi integration id. This value is provided by us.</p>\n<p><strong><code>orderNumber</code></strong>: (mandatory) internal order number from your system.</p>\n<p><strong><code>orderReference</code></strong> : (<em>optional</em>) internal order reference from your system.</p>\n<p><strong><code>payment_status</code></strong>: <em>(optional)</em> short description about payment</p>\n<p><strong><code>payment_method</code></strong>: <em>(optional)</em> order payment status. The allowed values ​​are:</p>\n<ul>\n<li><code>cod</code> : cash on delivery</li>\n<li><code>transfer</code> : bank transfer</li>\n<li><code>creditcard</code></li>\n<li><code>stripe</code></li>\n<li><code>paypal</code></li>\n<li><code>amazon</code> : for amazon pay</li>\n<li><code>klarna</code></li>\n<li><code>satispay</code></li>\n<li><code>clearpay</code></li>\n</ul>\n<p><strong><code>delivery_Point</code></strong> : <em>(optional)</em> <code>idPoint</code> obtained from the <code>GetPoints</code> call. If set, the shipment will have the <code>receiver</code> values ​​as recipient, but the delivery point will be the selected Alfred24 Point.</p>\n<p><strong><code>receiver</code></strong>: (mandatory) shipment delivery data</p>\n<p><strong><code>pickup</code></strong>: <em>(optional)</em> pickup parcel data (es: <em>drop-shipping</em>)</p>\n<p><strong><code>product</code></strong>: <em>(optional)</em> information about products</p>\n<p>order_id: <em>(optional)</em> order number for the item, useful only for research purposes on the Alfred24 platform.</p>\n","urlObject":{"protocol":"https","path":["wd","ImportOrder"],"host":["api","alfred24","it"],"query":[],"variable":[]}},"response":[{"id":"742bd051-10bc-4877-8da8-130ffa6a7ecd","name":"ImportOrder","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"apitoken\": \"ABcdEfk123QcTtNQQv0HqjJJeAUqmyvKoXS123ZRC6o!@&8\",\r\n    \"id_connector\": 1,\r\n    \"delivery_Point\":   \"9999\",    \r\n    \"orderNumber\": \"123456\",\r\n    \"orderReference\": \"ABCDEF\",\r\n    \"payment_status\": \"pagato\",\r\n    \"payment_method\": \"paypal\",\r\n    \"receiver\": [\r\n        {\r\n            \"lastname\": \"LUIGI\",\r\n            \"firstname\": \"VERDI\",\r\n            \"address\": \"Via Vittorio Veneto, 31\",\r\n            \"postcode\": \"20127\",\r\n            \"city\": \"Milano\",\r\n            \"phone\": \"3351616156\",\r\n            \"email\": \"luigiverdi@gmail.com\"\r\n        }\r\n    ],\r\n    \"pickup\": [\r\n        {\r\n            \"company\": \"My Warehoyse\",\r\n            \"address\": \"Via Roma, Milano\",\r\n            \"postcode\": \"20123\",\r\n            \"city\": \"Milano\",\r\n            \"province\": \"Mi\",\r\n            \"phone\": \"333145687\",\r\n            \"email\": \"warehouse@test.it\"\r\n        }\r\n    ],\r\n    \"products\": [\r\n    \t{\r\n\t\t\t\"order_id\": \"cc33\",\r\n            \"description\": \"Penna Rossa\",\r\n            \"qty\": 1,\r\n            \"weight\":6.4,\r\n            \"price\" : 10\r\n        },\r\n\t\t{\r\n            \"order_id\": \"bb22\",\r\n\t\t\t\"description\": \"Matita\",\r\n            \"qty\": 2,\r\n            \"weight\":8.5,\r\n            \"price\" : 20\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.alfred24.it/wd/ImportOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 11:19:31 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Methods","value":"PUT"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_code\": \"200\",\n    \"status\": \"Success\",\n    \"message\": \"Order #abc123 imported on Alfred24\"\n}"}],"_postman_id":"bb03aaf8-5c4d-46fc-b1e7-2309f5a2715f"},{"name":"DeleteOrder","id":"9008a96d-8963-4b50-94ec-0bbd2c6cd718","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"apitoken\": \"ABcdEfk123QcTtNQQv0HqjJJeAUqmyvKoXS123ZRC6o!@&\",\r\n    \"orderNumber\": \"abc123\"\r\n}"},"url":"https://api.alfred24.it/wd/DeleteOrder","description":"<p>This endpoint allows you to delete orders previously imported to Alfred24.<br /><strong>Only orders that have not already been shipped can be eliminated.</strong></p>\n<p>The parameters of the Request are:</p>\n<p><strong><code>apitoken</code></strong> (mandatory)</p>\n<p><strong><code>orderNumber</code></strong> (mandatory): internal order number from your system.</p>\n","urlObject":{"protocol":"https","path":["wd","DeleteOrder"],"host":["api","alfred24","it"],"query":[],"variable":[]}},"response":[{"id":"b892cff2-727a-4e3e-862b-b71a8ab93c2d","name":"DeleteOrder","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"apitoken\": \"ABcdEfk123QcTtNQQv0HqjJJeAUqmyvKoXS123ZRC6o!@&\",\r\n    \"orderNumber\": \"abc123\"\r\n}"},"url":"https://api.alfred24.it/wd/DeleteOrder"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Mar 2023 14:08:12 GMT"},{"key":"Server","value":"Apache"},{"key":"Access-Control-Allow-Methods","value":"DELETE"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"response_code\": \"200\",\n    \"status\": \"Success\",\n    \"message\": \"Order #abc123 deleted from Alfred24\"\n}"}],"_postman_id":"9008a96d-8963-4b50-94ec-0bbd2c6cd718"}]}