{"id":5997,"date":"2026-02-17T15:56:30","date_gmt":"2026-02-17T14:56:30","guid":{"rendered":"https:\/\/www.trans.eu\/api\/?p=5997"},"modified":"2026-02-24T13:18:36","modified_gmt":"2026-02-24T12:18:36","slug":"object-publication","status":"publish","type":"post","link":"https:\/\/www.trans.eu\/api\/objects\/object-publication\/","title":{"rendered":"Object: publication"},"content":{"rendered":"\n<p>Freight pub\u00adli\u00adca\u00adtion details.<\/p>\n\n\n\n<p>Object used in requests: <a href=\"https:\/\/www.trans.eu\/api\/freights-section\/get-archived-freights-list-2\/\" target=\"_blank\" rel=\"noopener\" title>Get archived freights list<\/a>, <a href=\"https:\/\/www.trans.eu\/api\/freights-section\/get-accepted-freights-list\/\" target=\"_blank\" rel=\"noopener\" title>Get accept\u00aded freights list<\/a>, <a href=\"https:\/\/www.trans.eu\/api\/freights-section\/get-freights-list-2\/\" target=\"_blank\" rel=\"noopener\" title>Get freights list<\/a>.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Object Fields<\/h6>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Attribute<\/td><td>Type<\/td><td>Exam\u00adple<\/td><td>Descrip\u00adtion<\/td><\/tr><tr><td>auction_id<\/td><td>String<\/td><td>\u201c794883d3-3e41-4427\u2013850b-eca6fd66a604\u201d<\/td><td>Id of the auc\u00adtion accept\u00aded in the freight. The field appears only in \u201cGet accept\u00aded freights list\u201d func\u00adtion.<\/td><\/tr><tr><td>end_reason<\/td><td>String<\/td><td>\u201caccept\u00aded\u201d<\/td><td>Pub\u00adli\u00adca\u00adtion end rea\u00adson. See <a href=\"https:\/\/www.trans.eu\/api\/freights-section\/freight-publication\/\" target=\"_blank\" rel=\"noopener\" title>Freight Pub\u00adli\u00adca\u00adtion<\/a> for list of rea\u00adsons<\/td><\/tr><tr><td>id<\/td><td>Int<\/td><td>3298063<\/td><td>Pub\u00adli\u00adca\u00adtion id<\/td><\/tr><tr><td>is_quick_pay<\/td><td>Boolean<\/td><td>False<\/td><td>Deter\u00admines whether the pub\u00adli\u00adca\u00adtion offer is marked as Quick\u00adPay<\/td><\/tr><tr><td>is_recommended<\/td><td>Boolean<\/td><td>null<\/td><td>Always <code>null<\/code>.<\/td><\/tr><tr><td>is_shared<\/td><td>Boolean<\/td><td>null<\/td><td>Always <code>null<\/code>.<\/td><\/tr><tr><td>offer_id<\/td><td>String<\/td><td>\u201c22213b30-35e5-4f88-8be8-9b0d81f7d345\u201d<\/td><td>Id of the offer accept\u00aded in the freight. The field appears only in \u201cGet accept\u00aded freights list\u201d func\u00adtion.<\/td><\/tr><tr><td>price<\/td><td>Object<\/td><td><\/td><td>Pub\u00adli\u00adca\u00adtion price details<\/td><\/tr><tr><td>price.currency<\/td><td>String<\/td><td>eur<\/td><td>Pub\u00adli\u00adca\u00adtion price cur\u00adren\u00adcy. See <a href=\"https:\/\/www.trans.eu\/api\/general-information\/allowed-values#currency\" target=\"_blank\" rel=\"noopener\" title=\"currency dictionary\">cur\u00adren\u00adcy dic\u00adtio\u00adnary<\/a>.<\/td><\/tr><tr><td>price.period<\/td><td>Object<\/td><td><\/td><td>Pay\u00adment con\u00addi\u00adtions<\/td><\/tr><tr><td>price.period.days<\/td><td>Int<\/td><td>12<\/td><td>Num\u00adber of days of def\u00adfer. For <code>deferred payment<\/code> only.<\/td><\/tr><tr><td>price.period.payment<\/td><td>String<\/td><td>\u201cdef\u00adfered\u201d<\/td><td>Freight pay\u00adment type: <code>deffered<\/code>, <code>payment_on_unloading<\/code>, <code>payment_in_advance<\/code><\/td><\/tr><tr><td>price.value<\/td><td>Int<\/td><td>470<\/td><td>Pub\u00adli\u00adca\u00adtion price val\u00adue (range: 1 \u2013 9 999 999,99)<\/td><\/tr><tr><td>publish_date<\/td><td>String<\/td><td>\u201c2026\u201302-13T14:08:58+01:00\u201d<\/td><td>Freight pub\u00adli\u00adca\u00adtion date.<\/td><\/tr><tr><td>publish_type<\/td><td>String<\/td><td>\u201cexchange\u201d<\/td><td>Dep\u00adre\u00adcat\u00aded. This field is no longer used and will be removed in a future ver\u00adsion.<\/td><\/tr><tr><td>received_offers<\/td><td>Int<\/td><td>2<\/td><td>Num\u00adber of offers received from users<\/td><\/tr><tr><td>receivers<\/td><td>Object<\/td><td><\/td><td>List of pri\u00advate exchanges to which freight was sent<\/td><\/tr><tr><td>receivers.private_exchanges<\/td><td>Array of Object<\/td><td><\/td><td>Pri\u00advate exchange (not brand\u00aded) to which freight was sent<\/td><\/tr><tr><td>receivers.private_exchanges.id<\/td><td>String<\/td><td>\u201c49b9aa2b-1987\u201348d9-9a77-147f97594233\u201d<\/td><td>Pri\u00advate exchange id<\/td><\/tr><tr><td>receivers.private_exchanges.name<\/td><td>String<\/td><td>\u201cPri\u00advate\u201d<\/td><td>Pri\u00advate exchange name<\/td><\/tr><tr><td>receivers.corporate_exchanges<\/td><td>Array of Object<\/td><td><\/td><td>Brand\u00aded pri\u00advate exchanges to which freight was sent<\/td><\/tr><tr><td>receivers.corporate_exchanges.id<\/td><td>String<\/td><td>\u201c006e95ea-f307-4a67-bc28-336d\u00adfc1cd679\u201d<\/td><td>Brand\u00aded pri\u00advate exchange id<\/td><\/tr><tr><td>receivers.corporate_exchanges.name<\/td><td>String<\/td><td>\u201cSteel Co. East Europe Exchange\u201d<\/td><td>Brand\u00aded pri\u00advate exchange name<\/td><\/tr><tr><td>refresh_from<\/td><td>String<\/td><td>\u201c2026\u201302-13T14:23:39+01:00\u201d<\/td><td>Next pos\u00adsi\u00adble refresh date for pub\u00adli\u00adca\u00adtion<\/td><\/tr><tr><td>sent_offers<\/td><td>Int<\/td><td>3<\/td><td>Num\u00adber of recip\u00adi\u00adents of pub\u00adli\u00adca\u00adtion (one pri\u00advate exchange is one recip\u00adi\u00adent, one com\u00adpa\u00adny is one recip\u00adi\u00adent)<\/td><\/tr><tr><td>sent_to<\/td><td>Object<\/td><td><\/td><td>Des\u00adig\u00adna\u00adtion of the types of recip\u00adi\u00adents to whom the pub\u00adli\u00adca\u00adtion is addressed<\/td><\/tr><tr><td>sent_to.companies<\/td><td>Boolean<\/td><td>False<\/td><td>Com\u00adpa\u00adny recip\u00adi\u00adent<\/td><\/tr><tr><td>sent_to.corporate_exchange<\/td><td>Boolean<\/td><td>False<\/td><td>Brand\u00aded pri\u00advate exchange recip\u00adi\u00adent<\/td><\/tr><tr><td>sent_to.direct<\/td><td>Boolean<\/td><td>True<\/td><td>Direct (per\u00adson) recip\u00adi\u00adent<\/td><\/tr><tr><td>sent_to.private_exchange<\/td><td>Boolean<\/td><td>False<\/td><td>Not brand\u00aded pri\u00advate exchange recip\u00adi\u00adent<\/td><\/tr><tr><td>smart_match_offers<\/td><td>Int<\/td><td>null<\/td><td>Always <code>null<\/code>.<\/td><\/tr><tr><td>sta\u00adtus<\/td><td>String<\/td><td>active<\/td><td>Pub\u00adli\u00adca\u00adtion sta\u00adtus<\/td><\/tr><tr><td>stock_id<\/td><td>String<\/td><td>null<\/td><td>Always <code>null<\/code>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\" id=\"requestbody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Example Object Body<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>\"publication\": {\n            \"end_reason\": null,\n            \"id\": 3298813,\n            \"is_quick_pay\": false,\n            \"is_recommended\": false,\n            \"is_shared\": false,\n            \"price\": {\n                \"currency\": \"pln\",\n                \"period\": {\n                    \"days\": 45,\n                    \"payment\": \"deferred\"\n                },\n                \"value\": null\n            },\n            \"publish_date\": \"2026-02-16T13:27:21+01:00\",\n            \"publish_type\": \"exchange\",\n            \"received_offers\": null,\n            \"receivers\": {\n                \"corporate_exchanges\": [\n                    {\n                        \"id\": \"006e95ea-f307-4a67-bc28-336dfc1cd679\",\n                        \"name\": \"Steel Co. East Europe Exchange\"\n                    }\n                ],\n                \"private_exchanges\": [\n                    {\n                        \"id\": \"49b9aa2b-1987-48d9-9a77-147f97594233\",\n                        \"name\": \"Private\"\n                    }\n                ]\n            },\n            \"refresh_from\": \"2026-02-16T13:42:21+01:00\",\n            \"sent_offers\": 4,\n            \"sent_to\": {\n                \"companies\": false,\n                \"corporate_exchange\": true,\n                \"direct\": false,\n                \"private_exchange\": true\n            },\n            \"smart_match_offers\": null,\n            \"status\": \"active\",\n            \"stock_id\": null\n        },<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"dont-break-out\">Freight pub\u00adli\u00adca\u00adtion details. Object used in requests: Get archived freights list, Get accept\u00aded freights list, Get freights list.<\/p>\n","protected":false},"author":16,"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":[137],"tags":[],"class_list":["post-5997","post","type-post","status-publish","format-standard","hentry","category-objects"],"acf":[],"aioseo_notices":[],"lang":"en","translations":{"en":5997},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/5997","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\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/comments?post=5997"}],"version-history":[{"count":9,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/5997\/revisions"}],"predecessor-version":[{"id":6261,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/5997\/revisions\/6261"}],"wp:attachment":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/media?parent=5997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/categories?post=5997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/tags?post=5997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}