{"id":3467,"date":"2026-07-12T20:47:50","date_gmt":"2026-07-12T20:47:50","guid":{"rendered":"https:\/\/peshidelivery.com\/zm\/?page_id=3467"},"modified":"2026-07-12T21:05:18","modified_gmt":"2026-07-12T21:05:18","slug":"track-place","status":"publish","type":"page","link":"https:\/\/peshidelivery.com\/zm\/track-place\/","title":{"rendered":"Track Parcel"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3467\" class=\"elementor elementor-3467\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2efb315 e-flex e-con-boxed e-con e-parent\" data-id=\"2efb315\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e077118 elementor-widget elementor-widget-shortcode\" data-id=\"e077118\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\t\t<div class=\"lgt-wrap\" style=\"--lgt-accent:#f5a623\">\n\t\t\t<div class=\"lgt-card\">\n\t\t\t\t<h2 class=\"lgt-title\">Track your shipment<\/h2>\n\t\t\t\t<p class=\"lgt-sub\">Enter your waybill number to see live status and history.<\/p>\n\t\t\t\t<div class=\"lgt-form\">\n\t\t\t\t\t<input type=\"text\" id=\"lgt-waybill\" placeholder=\"e.g. WB-2026-000123\" autocomplete=\"off\">\n\t\t\t\t\t<button type=\"button\" id=\"lgt-go\">Track<\/button>\n\t\t\t\t<\/div>\n\t\t\t\t<div id=\"lgt-result\" class=\"lgt-result\" hidden><\/div>\n\t\t\t\t<p class=\"lgt-credit\">Powered by LogisticsOS<\/p>\t\t\t<\/div>\n\t\t<\/div>\n\t\t<script>\n\t\t(function(){\n\t\t\tvar api = \"https:\\\/\\\/peshidelivery.com\\\/zm\\\/wp-json\\\/logisticsos\\\/v1\\\/track\\\/\";\n\t\t\tvar btn = document.getElementById('lgt-go'), input = document.getElementById('lgt-waybill'), out = document.getElementById('lgt-result');\n\t\t\tfunction esc(s){ var d=document.createElement('div'); d.textContent=String(s==null?'':s); return d.innerHTML; }\n\t\t\tfunction run(){\n\t\t\t\tvar wb = input.value.trim();\n\t\t\t\tif(!wb) return;\n\t\t\t\tout.hidden = false;\n\t\t\t\tout.innerHTML = '<p class=\"lgt-loading\">Looking up ' + esc(wb) + '\u2026<\/p>';\n\t\t\t\tfetch(api + encodeURIComponent(wb)).then(function(r){ return r.json().then(function(j){ return {ok:r.ok, j:j}; }); }).then(function(res){\n\t\t\t\t\tif(!res.ok){ out.innerHTML = '<p class=\"lgt-error\">' + esc(res.j.message || 'Waybill not found.') + '<\/p>'; return; }\n\t\t\t\t\tvar s = res.j.shipment, ev = res.j.events || [];\n\t\t\t\t\tvar html = '<div class=\"lgt-status\"><span class=\"lgt-badge lgt-' + esc(s.status) + '\">' + esc(s.status_label) + '<\/span>' +\n\t\t\t\t\t\t'<span class=\"lgt-route\">' + esc(s.origin) + ' \u2192 ' + esc(s.destination) + '<\/span><\/div>';\n\t\t\t\t\tif (s.is_cross_border === '1' || s.is_cross_border === 1) {\n\t\t\t\t\t\thtml += '<p class=\"lgt-border\">Cross-border via ' + esc(s.border_post || 'border post') + '<\/p>';\n\t\t\t\t\t}\n\t\t\t\t\tif (ev.length){\n\t\t\t\t\t\thtml += '<ol class=\"lgt-timeline\">';\n\t\t\t\t\t\tev.forEach(function(e){\n\t\t\t\t\t\t\thtml += '<li><span class=\"lgt-dot\"><\/span><div><strong>' + esc(e.status_label) + '<\/strong>' +\n\t\t\t\t\t\t\t\t(e.location ? ' \u2014 ' + esc(e.location) : '') +\n\t\t\t\t\t\t\t\t(e.note ? '<br><em>' + esc(e.note) + '<\/em>' : '') +\n\t\t\t\t\t\t\t\t'<br><small>' + esc(e.created_at) + '<\/small><\/div><\/li>';\n\t\t\t\t\t\t});\n\t\t\t\t\t\thtml += '<\/ol>';\n\t\t\t\t\t}\n\t\t\t\t\tout.innerHTML = html;\n\t\t\t\t}).catch(function(){ out.innerHTML = '<p class=\"lgt-error\">Could not reach the tracking service. Try again.<\/p>'; });\n\t\t\t}\n\t\t\tbtn.addEventListener('click', run);\n\t\t\tinput.addEventListener('keydown', function(e){ if(e.key === 'Enter'){ e.preventDefault(); run(); } });\n\t\t\t\/\/ Prefill + auto-track when arriving from the booking page (?waybill=WB-\u2026)\n\t\t\tvar pre = new URLSearchParams(window.location.search).get('waybill');\n\t\t\tif (pre) { input.value = pre; run(); }\n\t\t})();\n\t\t<\/script>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":9,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-3467","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/peshidelivery.com\/zm\/wp-json\/wp\/v2\/pages\/3467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peshidelivery.com\/zm\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/peshidelivery.com\/zm\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/peshidelivery.com\/zm\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/peshidelivery.com\/zm\/wp-json\/wp\/v2\/comments?post=3467"}],"version-history":[{"count":11,"href":"https:\/\/peshidelivery.com\/zm\/wp-json\/wp\/v2\/pages\/3467\/revisions"}],"predecessor-version":[{"id":3481,"href":"https:\/\/peshidelivery.com\/zm\/wp-json\/wp\/v2\/pages\/3467\/revisions\/3481"}],"wp:attachment":[{"href":"https:\/\/peshidelivery.com\/zm\/wp-json\/wp\/v2\/media?parent=3467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}