{"id":3979,"date":"2022-07-12T12:08:48","date_gmt":"2022-07-12T10:08:48","guid":{"rendered":"https:\/\/www.trans.eu\/api\/?p=3979"},"modified":"2025-12-29T10:42:14","modified_gmt":"2025-12-29T09:42:14","slug":"delete-suggestion-from-saved-places","status":"publish","type":"post","link":"https:\/\/www.trans.eu\/api\/freights\/suggested-places-of-loading-and-unloading\/delete-suggestion-from-saved-places\/","title":{"rendered":"Delete suggestion from saved places"},"content":{"rendered":"\n<p>Delete places from your fre\u00adquent\u00adly used place list using id. Users of ship\u00adper accounts can use the list of ten places they often use. Saved loca\u00adtions can be changed and used for load\u00ading or unload\u00ading.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Url parameters and connection settings<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>URL:<\/strong>&nbsp;https:\/\/api.platform.trans.eu<\/li>\n\n\n\n<li><strong>End\u00adpoint:<\/strong> \/ext\/suggestions-api\/v1\/suggestions\/spots\/{id}<\/li>\n\n\n\n<li><strong>Method:<\/strong> DELETE<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Headers:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Con\u00adtent-type: application\/json<\/li>\n\n\n\n<li>Accept: application\/json<\/li>\n\n\n\n<li>Autho\u00adriza\u00adtion: Bear\u00ader {access_token}<\/li>\n\n\n\n<li>Api-key: {unique_app_api_key}<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Authorization<\/h2>\n\n\n\n<p>Autho\u00adriza\u00adtion process&nbsp;<a href=\"https:\/\/www.trans.eu\/api\/general-information\/authorization-process\/\" target=\"_blank\" rel=\"noopener\" title>is described here<\/a>. Each API request must also con\u00adsist of unique Api-key obtained dur\u00ading appli\u00adca\u00adtion reg\u00adis\u00adtra\u00adtion togeth\u00ader with client_id and client_secret.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Description<\/h2>\n\n\n\n<p>Remov\u00ading a giv\u00aden place from the list must be done using sug\u00adges\u00adtion id E.g. <\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>\"id\": \"af44e8d9-9604-48b0-af40-21663431663f\"<\/code><\/pre><\/div>\n\n\n\n<p>There are four pos\u00adsi\u00adble answers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>204<\/strong> \u2014 Sug\u00adges\u00adtion delet\u00aded suc\u00adcess\u00adfu\u00adly<\/li>\n\n\n\n<li><strong>422<\/strong> \u2014 Invalid pay\u00adload<\/li>\n\n\n\n<li><strong>404 <\/strong>- Not Found<\/li>\n\n\n\n<li><strong>400<\/strong> \u2014 Bad Request<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p class=\"dont-break-out\">Delete places from your fre\u00adquent\u00adly used place list using id. Users of ship\u00adper accounts can use the list of ten \u2026<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"wp_typography_post_enhancements_disabled":false,"footnotes":""},"categories":[76],"tags":[],"class_list":["post-3979","post","type-post","status-publish","format-standard","hentry","category-suggested-places-of-loading-and-unloading"],"acf":[],"aioseo_notices":[],"lang":"en","translations":{"en":3979},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/3979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/comments?post=3979"}],"version-history":[{"count":1,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/3979\/revisions"}],"predecessor-version":[{"id":5480,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/3979\/revisions\/5480"}],"wp:attachment":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/media?parent=3979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/categories?post=3979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/tags?post=3979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}