{"id":6590,"date":"2026-04-30T10:53:02","date_gmt":"2026-04-30T08:53:02","guid":{"rendered":"https:\/\/www.trans.eu\/api\/?p=6590"},"modified":"2026-04-30T19:13:43","modified_gmt":"2026-04-30T17:13:43","slug":"create-fixed-contract","status":"publish","type":"post","link":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/","title":{"rendered":"Create fixed contract"},"content":{"rendered":"\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-layout-flow wp-block-column-is-layout-flow\">\n<p>Cre\u00adat\u00ading a new fixed con\u00adtract in select\u00aded route.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>After suc\u00adcess\u00adful\u00adly exe\u00adcut\u00ading the method, you receive in response the con\u00adtract details with the unique con\u00adtract iden\u00adti\u00adfi\u00adca\u00adtion num\u00adber <strong>id <\/strong>assigned when cre\u00adat\u00ading the new con\u00adtract.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\"><strong>POST<\/strong><br> \/ext\/contracts-api\/v2\/contracts\/fixed<br><br><\/pre>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#eaeaea\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<h6 class=\"wp-block-heading has-text-align-right\" style=\"font-style:normal;font-weight:700\"> Request Authorization<\/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<p>Every request MUST include a valid access token obtained dur\u00ading <a href=\"https:\/\/www.trans.eu\/api\/general-information\/authorization-process\/\" target=\"_blank\" rel=\"noopener\" title>the user autho\u00adriza\u00adtion process<\/a>, pro\u00advid\u00aded using the Bear\u00ader token scheme in the Autho\u00adriza\u00adtion head\u00ader.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#eaeaea\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<h6 class=\"wp-block-heading has-text-align-right\" style=\"font-style:normal;font-weight:700\"> Request<\/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=\"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\">\n<p><a href=\"#requestheader\" title>Request Head\u00ader<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#requeststructure\" title>Request Para\u00adme\u00adters<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-bottom is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#requestbody\" title>Request Body<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#eaeaea\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<h6 class=\"wp-block-heading has-text-align-right\" style=\"font-style:normal;font-weight:700\"> Successful Response<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\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\">\n<p><a href=\"#responsefields\" title>Response Fields<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#responsebody\" title=\"Response Body\">Response Body<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#eaeaea\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<h6 class=\"wp-block-heading has-text-align-right\" style=\"font-style:normal;font-weight:700\"> Error Response<\/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=\"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\">\n<p><a href=\"#validationerrors\" title>Clients errors (400)<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"https:\/\/www.trans.eu\/api\/general-information\/enpoint-and-validation-errors\/\" target=\"_blank\" rel=\"noopener\" title>Gen\u00ader\u00adal API errors<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\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\">Request Header<\/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-plain\"><code>POST  \/ext\/contracts-api\/v2\/contracts\/fixed HTTP\/1.1 \nHost: api.platform.trans.eu \nContent-Type: application\/json\nAccept: application\/json\nAuthorization: Bearer {access_token) \nApi-key: {unique_app_api-key}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"requeststructure\" style=\"font-style:normal;font-weight:700\">Request Parameters for create flexible contract<\/h6>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table><tbody><tr><td>Attribute<\/td><td>Type<\/td><td>Exam\u00adple<\/td><td>Manda\u00adto\u00adry<\/td><td>Descrip\u00adtion<\/td><\/tr><tr><td>car\u00adri\u00ader<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Car\u00adri\u00ader invit\u00aded to the get con\u00adtract<\/td><\/tr><tr><td>carrier.company<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Car\u00adri\u00ader com\u00adpa\u00adny details<\/td><\/tr><tr><td>carrier.company.id<\/td><td>Int<\/td><td>456745<\/td><td>Yes<\/td><td>Car\u00adri\u00ader com\u00adpa\u00adny Id<\/td><\/tr><tr><td>carrier.contact_persons<\/td><td>Array of Objects<\/td><td><\/td><td>No<\/td><td>Car\u00adri\u00ader per\u00adsons invit\u00aded to get con\u00adtract<\/td><\/tr><tr><td>carrier.contact_persons.employee<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Con\u00adtact per\u00adson details<\/td><\/tr><tr><td>carrier.contact_persons.employee.account_id<\/td><td>Int<\/td><td>123321<\/td><td>No<\/td><td>Con\u00adtact per\u00adson inter\u00adnal Id<\/td><\/tr><tr><td>con\u00adfig<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Con\u00adtract con\u00adfig\u00adu\u00adra\u00adtion<\/td><\/tr><tr><td>config.send_to_carrier<\/td><td>Boolean<\/td><td>True<\/td><td>Yes<\/td><td>If <code>True<\/code>, cre\u00adat\u00aded con\u00adtract will be auto\u00admat\u00adi\u00adcal\u00adly send to car\u00adri\u00ader.<\/td><\/tr><tr><td>order_terms<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Order terms<\/td><\/tr><tr><td>order_terms.additional_terms<\/td><td>String<\/td><td>\u201caddi\u00adtion\u00adal terms text\u201d<\/td><td>No<\/td><td>Addi\u00adtion\u00adal terms for con\u00adtract<\/td><\/tr><tr><td>order_terms.automatic_order_sending<\/td><td>Boolean<\/td><td>True<\/td><td>No<\/td><td>Set <code>True <\/code>will result in auto\u00admat\u00adic cre\u00adation of a con\u00adfirmed order when the car\u00adri\u00ader accepts the freight<\/td><\/tr><tr><td>order_terms.insurance<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Insur\u00adance require\u00adments<\/td><\/tr><tr><td>order_terms.insurance.load<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Val\u00adue of loads<\/td><\/tr><tr><td>order_terms.insurance.load.currency<\/td><td>String<\/td><td>\u201ceur\u201d<\/td><td>No<\/td><td>Loads val\u00adue cur\u00adren\u00adcy<\/td><\/tr><tr><td>order_terms.insurance.load.value<\/td><td>Int<\/td><td>12000<\/td><td>No<\/td><td>Val\u00adue of loads<\/td><\/tr><tr><td>order_terms.insurance.third_party<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Required insur\u00adance val\u00adue<\/td><\/tr><tr><td>order_terms.insurance.third_party.currency<\/td><td>String<\/td><td>\u201ceur\u201d<\/td><td>No<\/td><td>Insur\u00adance val\u00adue cur\u00adren\u00adcy<\/td><\/tr><tr><td>order_terms.insurance.third_party.value<\/td><td>Int<\/td><td>20000<\/td><td>No<\/td><td>Insur\u00adance val\u00adue<\/td><\/tr><tr><td>order_terms.monitoring<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>GPS mon\u00adi\u00adtor\u00ading<\/td><\/tr><tr><td>order_terms.monitoring.monitoring<\/td><td>Boolean<\/td><td>True<\/td><td>No<\/td><td>Ask\u00ading for GPS mon\u00adi\u00adtor\u00ading if tech\u00adni\u00adcal\u00adly pos\u00adsi\u00adble<\/td><\/tr><tr><td>order_terms.payment_period<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Pay\u00adment peri\u00adod<\/td><\/tr><tr><td>order_terms.payment_period.days_type<\/td><td>String<\/td><td>\u201cCALENDAR\u201d<\/td><td>No<\/td><td>Type of days in the peri\u00adod. Avail\u00adable val\u00adues: <code>WORK<\/code>, <code>CALENDAR<\/code><\/td><\/tr><tr><td>order_terms.payment_period.value<\/td><td>Int<\/td><td>20<\/td><td>Yes<\/td><td>Num\u00adber of days<\/td><\/tr><tr><td>order_terms.silent_confirmation<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>order_terms.silent_confirmation.enabled<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>order_terms.silent_confirmation.is_enabled<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>order_terms.silent_confirmation.time<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>order_terms.silent_confirmation.time.begin<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>order_terms.silent_confirmation.time.end<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>order_terms.silent_confirmation.time.unit_code<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>order_terms.silent_confirmation.time.user_unit_code<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>order_terms.silent_confirmation.time.value<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>peri\u00adod<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Coop\u00ader\u00ada\u00adtion peri\u00adod<\/td><\/tr><tr><td>period.from<\/td><td>String<\/td><td>\u201c2027\u201301-01T00:00:00.000Z\u201d<\/td><td>Yes<\/td><td>Start of coop\u00ader\u00ada\u00adtion<\/td><\/tr><tr><td>period.timezone<\/td><td>String<\/td><td>\u201c2027\u201312-31T23:59:59.000Z\u201d<\/td><td>Yes<\/td><td>Time zone<\/td><\/tr><tr><td>period.to<\/td><td>String<\/td><td>\u201cEurope\/Warsaw\u201d<\/td><td>No<\/td><td>End of coop\u00ader\u00ada\u00adtion. Pos\u00adsi\u00adble val\u00adue <code>null <\/code>for indef\u00adi\u00adnite\u00adly.<\/td><\/tr><tr><td>planned_shipments<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Planned ship\u00adments in the con\u00adtract<\/td><\/tr><tr><td>planned_shipments.periods<\/td><td>Array of Objects<\/td><td><\/td><td>No<\/td><td>Peri\u00adods list<\/td><\/tr><tr><td>planned_shipments.periods.from<\/td><td>String<\/td><td>\u201c2027\u201301-01T00:00:00.000Z\u201d<\/td><td>No<\/td><td>Start of peri\u00adod<\/td><\/tr><tr><td>planned_shipments.periods.to<\/td><td>String<\/td><td>\u201c2027\u201312-31T23:59:59.000Z\u201d<\/td><td>No<\/td><td>End of peri\u00adod<\/td><\/tr><tr><td>planned_shipments.periods.value<\/td><td>Int<\/td><td>50<\/td><td>No<\/td><td>Num\u00adber of ship\u00adments in peri\u00adod<\/td><\/tr><tr><td>planned_shipments.type<\/td><td>String<\/td><td>\u201crequired\u201d<\/td><td>Yes<\/td><td>Type of ship\u00adments. Avail\u00adable val\u00adues: <code>required<\/code>, <code>expected<\/code>, <code>no_more_than<\/code>.<\/td><\/tr><tr><td>planned_shipments.unit<\/td><td>String<\/td><td>\u201cship\u00adment\u201d<\/td><td>Yes<\/td><td>Unit of ship\u00adments. Avail\u00adable val\u00adues: <code>shipment<\/code>, <code>ton<\/code>, <code>km<\/code>.<\/td><\/tr><tr><td>planned_shipments.value<\/td><td>String<\/td><td>100<\/td><td>Yes<\/td><td>Total num\u00adber of ship\u00adments in the con\u00adtract<\/td><\/tr><tr><td>pric\u00ading<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Pric\u00ading for con\u00adtract<\/td><\/tr><tr><td>pricing.negotiable<\/td><td>Boolean<\/td><td>True<\/td><td>No<\/td><td>Enabling price nego\u00adti\u00ada\u00adtion with car\u00adri\u00ader<\/td><\/tr><tr><td>pricing.price<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Price for nego\u00adti\u00ada\u00adtions.<br>Required for all pric\u00ading type except \u201cpal\u00adlets\u201d.<\/td><\/tr><tr><td>pricing.price.currency<\/td><td>String<\/td><td>\u201ceur\u201d<\/td><td>No<\/td><td>Price cur\u00adren\u00adcy for nego\u00adta\u00adtion<\/td><\/tr><tr><td>pricing.price.value<\/td><td>Float<\/td><td>145<\/td><td>No<\/td><td>Price val\u00adue. <br><\/td><\/tr><tr><td>pricing.price_list<\/td><td>Array of Objects<\/td><td><\/td><td>No<\/td><td>Price list. <br>Required for pric\u00ading type \u201cpal\u00adlets\u201d.<\/td><\/tr><tr><td>pricing.price_list.price<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Price for nego\u00adti\u00ada\u00adtions<\/td><\/tr><tr><td>pricing.price_list.price.currency<\/td><td>String<\/td><td>\u201ceur\u201d<\/td><td>No<\/td><td>Price cur\u00adren\u00adcy<\/td><\/tr><tr><td>pricing.price_list.price.value<\/td><td>Float<\/td><td>234.34<\/td><td>No<\/td><td>Price val\u00adue<\/td><\/tr><tr><td>pricing.price_list.range<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Range of pal\u00adlets for nego\u00adti\u00ada\u00adtion<\/td><\/tr><tr><td>pricing.price_list.range.from<\/td><td>Int<\/td><td>1<\/td><td>No<\/td><td>Min val\u00adue of pal\u00adlets<\/td><\/tr><tr><td>pricing.price_list.range.to<\/td><td>Int<\/td><td>6<\/td><td>No<\/td><td>Max val\u00adue of pal\u00adlets<\/td><\/tr><tr><td>pricing.settlement_basis<\/td><td>String<\/td><td>\u201cdistance_from_gps\u201d<\/td><td>No<\/td><td>Sur\u00adcharge basis. Required for pric\u00ading types: \u201ckm\u201d, \u201cton\u201d.<br>Avail\u00adable val\u00adues for \u201ckm\u201d: <code>distance_declared_in_order_terms<\/code>, <code>distance_declared_by_carrier<\/code>,  <code>distance_from_gps<\/code><br>Avail\u00adable val\u00adues for \u201cton\u201d: <code>loading<\/code>, <code>unloading<\/code><\/td><\/tr><tr><td>pricing.type<\/td><td>String<\/td><td>\u201croute\u201d<\/td><td>Yes<\/td><td>Type of pric\u00ading. Avail\u00adable val\u00adues: <code>route<\/code>, <code>km<\/code>,  <code>ton<\/code>, <code>pallets<\/code>, <code>linear<\/code>.<br>Set\u00adtle\u00adment per <code>ton <\/code>is only avail\u00adable for routes with vehi\u00adcles han\u00addling bulk mate\u00adri\u00adals.<br>Set\u00adtle\u00adments based on the <code>pallet <\/code>price list is only pos\u00adsi\u00adble for routes with pal\u00adlets loads.<\/td><\/tr><tr><td>reference_number<\/td><td>String<\/td><td>\u201cKon\u00adtrakt 23\/2\u201d<\/td><td>No<\/td><td>Exter\u00adnal ref\u00ader\u00adence num\u00adber<\/td><\/tr><tr><td>route<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Route for new con\u00adtract<\/td><\/tr><tr><td>route.id<\/td><td>String<\/td><td>\u201c3fa85f64-5717\u20134562-b3fc-2c963f66afa6\u201d<\/td><td>Yes<\/td><td>Route Id<\/td><\/tr><tr><td>sur\u00adcharges<\/td><td>Array of Objects<\/td><td><\/td><td>No<\/td><td>Sur\u00adcharges<\/td><\/tr><tr><td>surcharges.currency<\/td><td>String<\/td><td>\u201ceur\u201d<\/td><td>Yes<\/td><td>Sur\u00adcharges cur\u00adren\u00adcy<\/td><\/tr><tr><td>surcharges.data<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>surcharges.description<\/td><td>String<\/td><td>\u201caddi\u00adtion\u00adal text\u201d<\/td><td>No<\/td><td>Sur\u00adcharge descrip\u00adtion<\/td><\/tr><tr><td>surcharges.id<\/td><td>String<\/td><td>\u201ca1eb\u00adb289-e665-4b30-a580-d263552e\u00adf88c\u201d<\/td><td><\/td><td>Sur\u00adcharge Id<\/td><\/tr><tr><td>surcharges.is_active<\/td><td>Boolean<\/td><td>True<\/td><td><\/td><td>Sur\u00adcharge acti\u00adva\u00adtion sta\u00adtus<\/td><\/tr><tr><td>surcharges.is_global<\/td><td>Boolean<\/td><td>False<\/td><td><\/td><td>If <code>True<\/code>, sur\u00adcharge is from tem\u00adplate<\/td><\/tr><tr><td>surcharges.kind<\/td><td>String<\/td><td>\u201cgrid\u201d<\/td><td><\/td><td>Kind of sur\u00adcharge.<br>Avail\u00adable val\u00adues: <code>grid<\/code>, <code>linear<\/code>, <code>value<\/code><\/td><\/tr><tr><td>surcharges.schedules<\/td><td>Array of Objects<\/td><td><\/td><td><\/td><td>Sur\u00adcharge sched\u00adules<\/td><\/tr><tr><td>surcharges.schedules.data<\/td><td>Object<\/td><td><\/td><td><\/td><td>Sur\u00adcharge data<\/td><\/tr><tr><td>surcharges.schedules.data.matrix<\/td><td>Array of Objects<\/td><td><\/td><td><\/td><td>Data object for <code>additional_stop<\/code>, <code>baf<\/code>, <code>pallets_exchange<\/code> sur\u00adcharge types.<\/td><\/tr><tr><td>surcharges.schedules.data.matrix.unit<\/td><td>String<\/td><td>\u201cper\u00adcent\u00adage\u201d<\/td><td><\/td><td>Unit of data. Avail\u00adable val\u00adues: <code>percentage<\/code>, <code>value<\/code>.<\/td><\/tr><tr><td>surcharges.schedules.data.matrix.value<\/td><td>Int<\/td><td>5<\/td><td><\/td><td>Data val\u00adue<\/td><\/tr><tr><td>surcharges.schedules.data.currency<\/td><td>String<\/td><td>\u201ceur\u201d<\/td><td><\/td><td>Cur\u00adren\u00adcy for data<\/td><\/tr><tr><td>surcharges.schedules.data.unit<\/td><td>String<\/td><td>\u201cper\u00adcent\u00adage\u201d<\/td><td><\/td><td>Unit of data for <code>week_days <\/code>sur\u00adcharge type. Avail\u00adable val\u00adues: <code>percentage<\/code>, <code>value<\/code>.<\/td><\/tr><tr><td>surcharges.schedules.data.week_days<\/td><td>Array of Objects<\/td><td><\/td><td><\/td><td>Data object for <code>week_days <\/code>sur\u00adcharge types.<\/td><\/tr><tr><td>surcharges.schedules.data.week_days.id<\/td><td>String<\/td><td>\u201c1_monday\u201d<\/td><td><\/td><td>Week day Id<\/td><\/tr><tr><td>surcharges.schedules.data.week_days.operations<\/td><td>Array of Objects<\/td><td><\/td><td><\/td><td>List of oper\u00ada\u00adtions<\/td><\/tr><tr><td>surcharges.schedules.data.week_days.operations.type<\/td><td>String<\/td><td>\u201cload\u00ading\u201d<\/td><td><\/td><td>Oper\u00ada\u00adtion type. Avail\u00adable val\u00adues: <code>loading<\/code>, <code>unloading<\/code><\/td><\/tr><tr><td>surcharges.schedules.data.week_days.operations.value<\/td><td>Int<\/td><td>5<\/td><td><\/td><td>Data Val\u00adue<\/td><\/tr><tr><td>surcharges.schedules.timespan<\/td><td>Object<\/td><td><\/td><td><\/td><td>Sur\u00adcharge sched\u00adule peri\u00adod<\/td><\/tr><tr><td>surcharges.schedules.timespan.from<\/td><td>String<\/td><td>\u201c2026\u201304-30T15:30:00+02:00\u201d<\/td><td><\/td><td>Start of sched\u00adule<\/td><\/tr><tr><td>surcharges.schedules.timespan.to<\/td><td>String<\/td><td>\u201c2026\u201305-28T02:00:00+02:00\u201d<\/td><td><\/td><td>End of sched\u00adule<\/td><\/tr><tr><td>surcharges.type<\/td><td>String<\/td><td>\u201cbaf\u201d<\/td><td><\/td><td>Sur\u00adcharge type.<br>Avail\u00adable val\u00adues: <code>additional_stop<\/code>, <code>baf<\/code>, <code>pallets_exchange<\/code>, <code>week_day<\/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 Request Body for create fixed contract<\/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>{\n  \"route\": {\n    \"id\": \"7eae0ff7-a20e-4378-98df-f1efc2a32de1\"\n  },\n  \"config\": {\n    \"send_to_carrier\": false\n  },\n  \"carrier\": {\n    \"company\": {\n      \"id\": 1013865\n    },\n    \"contact_persons\": [\n      {\n        \"employee\": {\n          \"account_id\": 771476\n        }\n      }\n    ]\n  },\n  \"period\": {\n    \"from\": \"2027-01-01T00:00:00.000Z\",\n    \"to\": null,\n    \"timezone\": \"Europe\/Warsaw\"\n  },\n  \"order_terms\": {\n    \"monitoring\": {\n      \"required\": true\n    },\n    \"additional_terms\": \"Additional terms text\",\n    \"insurance\": {\n      \"load\": {\n        \"value\": 4000,\n        \"currency\": \"EUR\"\n      },\n      \"third_party\": {\n        \"value\": 3000,\n        \"currency\": \"EUR\"\n      }\n    },\n    \"automatic_order_sending\": true,\n    \"payment_period\": {\n      \"days_type\": \"CALENDAR\",\n      \"value\": 31\n    }\n  },\n  \"planned_shipments\": {\n    \"periods\": [\n      {\n        \"from\": \"2027-01-01T00:00:00.000Z\",\n        \"to\": \"2027-12-31T23:59:59.000Z\",\n        \"value\": 100\n      }\n    ],\n    \"type\": \"required\",\n    \"unit\": \"shipment\",\n    \"value\": 100\n  },\n  \"pricing\": {\n    \"type\": \"route\",\n    \"negotiable\": false,\n    \"price\": {\n      \"value\": 1500,\n      \"currency\": \"EUR\"\n    },\n    \"settlement_basis\": \"loading\"\n  },\n  \"reference_number\": \"CONTRACT-2024-001\"\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"responsefields\" style=\"font-style:normal;font-weight:700\">Response Fields for created fixed contract<\/h6>\n\n\n\n<p>The response con\u00adtains exact\u00adly the same list of fields as the <a href=\"https:\/\/www.trans.eu\/api\/freights-section\/get-contract-details\/\" target=\"_blank\" rel=\"noopener\" title>Get con\u00adtract details<\/a> response.<\/p>\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=\"responsebody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Response Body for create fixed contract<\/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>{\n    \"id\": \"d6c337b2-4690-4885-aba1-cd2cacbcca85\",\n    \"base_contract_id\": \"d6c337b2-4690-4885-aba1-cd2cacbcca85\",\n    \"type\": \"fixed\",\n    \"position\": null,\n    \"carrier\": {\n        \"company\": {\n            \"id\": 1013865,\n            \"name\": \"Firma Testowa Przewo\u017anik IIT 2\"\n        },\n        \"contact_persons\": [\n            {\n                \"id\": \"5a528dde-dee2-4a78-b1a9-4a1a333893d0\",\n                \"employee\": {\n                    \"id\": 999446,\n                    \"account_id\": 771476,\n                    \"given_name\": \"Jan\",\n                    \"family_name\": \"Nowak\",\n                    \"trans_id\": \"1013865-3\",\n                    \"email\": \"jnowak@mail.eu\",\n                    \"telephone\": \"(0048) 12345678\"\n                },\n                \"channels\": [\n                    \"email\",\n                    \"push\",\n                    \"web-push\",\n                    \"messenger\"\n                ],\n                \"reported_by\": {\n                    \"company\": {\n                        \"id\": 1007374\n                    }\n                }\n            }\n        ],\n        \"cooperation_status\": \"active\"\n    },\n    \"deactivations\": [],\n    \"order_terms\": {\n        \"monitoring\": {\n            \"required\": true\n        },\n        \"additional_terms\": \"Additional terms text\",\n        \"insurance\": {\n            \"load\": {\n                \"value\": 4000,\n                \"currency\": \"eur\"\n            },\n            \"third_party\": {\n                \"value\": 3000,\n                \"currency\": \"eur\"\n            }\n        },\n        \"automatic_order_sending\": true,\n        \"payment_period\": {\n            \"value\": 31\n        },\n        \"silent_confirmation\": {\n            \"enabled\": false,\n            \"time\": null\n        },\n        \"autoresponder\": {\n            \"enabled\": false,\n            \"time\": null\n        }\n    },\n    \"period\": {\n        \"from\": \"2027-01-01T00:00:00+00:00\",\n        \"to\": null\n    },\n    \"percentage_share\": 0,\n    \"planned_shipments\": {\n        \"periods\": [\n            {\n                \"value\": 100,\n                \"from\": \"2027-01-01T00:00:00+00:00\",\n                \"to\": \"2027-12-31T23:59:59+00:00\"\n            }\n        ],\n        \"type\": \"required\",\n        \"unit\": \"shipment\",\n        \"value\": 100\n    },\n    \"pricing\": {\n        \"negotiable\": false,\n        \"type\": \"route\",\n        \"price\": {\n            \"value\": 1500,\n            \"currency\": \"eur\"\n        },\n        \"fuel_base_price\": {\n            \"value\": null,\n            \"currency\": \"eur\"\n        }\n    },\n    \"reference_number\": \"CONTRACT-2024-001\",\n    \"route\": {\n        \"id\": \"7eae0ff7-a20e-4378-98df-f1efc2a32de1\",\n        \"unique_key\": null,\n        \"name\": \"API5\",\n        \"publication_scenario\": {\n            \"type\": \"parallel\"\n        },\n        \"spots\": [\n            {\n                \"id\": \"e3ee48f9-2fcd-4580-8906-b6b18b0cc20f\",\n                \"name\": \"Koniec trasy PL 33-300\",\n                \"type\": \"loading\",\n                \"place\": {\n                    \"address\": {\n                        \"locality\": \"Nowy S\u0105cz\",\n                        \"postal_code\": \"33-300\",\n                        \"country\": \"pl\",\n                        \"street\": \"Nowa\",\n                        \"number\": \"16\",\n                        \"location_id\": 1248258,\n                        \"detailed_location_id\": null,\n                        \"foreign_id\": null,\n                        \"radius\": null\n                    },\n                    \"coordinates\": {\n                        \"latitude\": 49.62177,\n                        \"longitude\": 20.69705\n                    }\n                }\n            },\n            {\n                \"id\": \"ca170110-0fdb-47ce-b742-1682a301d965\",\n                \"name\": \"PL Wroc\u0142aw\",\n                \"type\": \"unloading\",\n                \"place\": {\n                    \"address\": {\n                        \"locality\": \"Wroc\u0142aw\",\n                        \"postal_code\": \"50-002\",\n                        \"country\": \"pl\",\n                        \"street\": \"Nowa\",\n                        \"number\": \"2\",\n                        \"location_id\": 2513724,\n                        \"detailed_location_id\": null,\n                        \"foreign_id\": null,\n                        \"radius\": null\n                    },\n                    \"coordinates\": {\n                        \"latitude\": 51.1,\n                        \"longitude\": 17.03333\n                    }\n                }\n            }\n        ],\n        \"distance\": {\n            \"declared\": null,\n            \"calculated\": {\n                \"value\": 378,\n                \"unit_code\": \"km\"\n            }\n        },\n        \"suggested_calculated_route_id\": \"1cd3f0d8-7a7b-4c64-94d9-e30aecda05ce\",\n        \"distance_match\": {\n            \"min\": null,\n            \"max\": null\n        },\n        \"is_roundtrip\": false,\n        \"requirements\": {\n            \"required_truck_bodies\": [],\n            \"required_adr_classes\": [],\n            \"required_ways_of_loading\": [],\n            \"additional_requirements\": [],\n            \"shipping_remarks\": null,\n            \"freight_type\": null,\n            \"vehicle_size\": \"solo\",\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"volume\": null,\n            \"capacity\": {\n                \"min\": null,\n                \"max\": null\n            },\n            \"exemption_from_adr\": false\n        },\n        \"loads\": [\n            {\n                \"name\": null,\n                \"type_of_load\": \"2_europalette\",\n                \"amount\": null,\n                \"width\": {\n                    \"value\": 0.8,\n                    \"unit_code\": \"m\"\n                },\n                \"height\": null,\n                \"length\": {\n                    \"value\": 1.2,\n                    \"unit_code\": \"m\"\n                },\n                \"volume\": null,\n                \"weight\": {\n                    \"min\": null,\n                    \"max\": null\n                },\n                \"pallets\": {\n                    \"is_stackable\": false,\n                    \"is_exchangeable\": false\n                }\n            }\n        ],\n        \"balancing\": {\n            \"type\": \"manual\",\n            \"allowed_types\": [\n                \"manual\",\n                \"contract_condition\",\n                \"freight_limit\",\n                \"percentage_share\",\n                \"price_ascending\"\n            ],\n            \"data\": {\n                \"freight_limit\": {\n                    \"min\": null,\n                    \"max\": null\n                }\n            }\n        },\n        \"status\": \"active\",\n        \"shipments_summary\": {\n            \"amount\": 0,\n            \"weight\": {\n                \"value\": 0,\n                \"unit_code\": \"t\"\n            },\n            \"distance\": {\n                \"value\": 0,\n                \"unit_code\": \"km\"\n            },\n            \"price\": [\n                {\n                    \"amount\": null,\n                    \"currency\": null\n                }\n            ]\n        },\n        \"position\": 253,\n        \"_stats\": {\n            \"contracts\": {\n                \"fixed\": 0,\n                \"flexible\": 0\n            },\n            \"transports\": {\n                \"realized\": {\n                    \"average_price\": null,\n                    \"count\": 0\n                },\n                \"awaiting\": {\n                    \"median_price\": null,\n                    \"count\": null\n                },\n                \"cheapest_carrier_offer\": null\n            }\n        }\n    },\n    \"shipper\": {\n        \"company\": {\n            \"id\": 1007374,\n            \"name\": \"Forwarder IIT\"\n        },\n        \"contact_persons\": []\n    },\n    \"status\": \"registered\",\n    \"_stats\": {\n        \"transports\": {\n            \"realized\": null,\n            \"average_per_month\": null,\n            \"awaiting\": null\n        },\n        \"offers\": {\n            \"accepted\": null,\n            \"total\": null,\n            \"acceptance_rate\": null\n        },\n        \"base_contract\": {\n            \"registered\": 1,\n            \"waiting_for_acceptance\": 0,\n            \"waiting_for_initial_carrier_offer\": 0,\n            \"waiting_for_shipper_offer\": 0,\n            \"waiting_for_carrier_offer\": 0,\n            \"refused\": 0,\n            \"accepted\": 0,\n            \"active\": 0,\n            \"finished\": 0\n        }\n    },\n    \"_meta\": {\n        \"is_copy\": false,\n        \"is_parent\": false,\n        \"has_been_sent_to_carrier\": false\n    },\n    \"surcharges\": []\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"validationerrors\" style=\"font-style:normal;font-weight:700\">Clients errors (code 400)<\/h4>\n\n\n\n<p>HTTP 4xx sta\u00adtus codes indi\u00adcate client errors, mean\u00ading that the request could not be processed due to an issue on the client side. Below is a list of request-spe\u00adcif\u00adic errors.<\/p>\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=\"responsebody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Example error 1<\/h6>\n\n\n\n<p>Invalid route id<\/p>\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>{\n    \"type\": \"http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html\",\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"detail\": \"Contracted route with ID: 3fa85f64-5717-4562-b3fc-2c963f66afa6 not found!\",\n    \"service_code\": 5404\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\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=\"responsebody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Example error 2<\/h6>\n\n\n\n<p>Incor\u00adrect pric\u00ading type<\/p>\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>{\n    \"type\": \"http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html\",\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"detail\": \"Contracted route with id: '7eae0ff7-a20e-4378-98df-f1efc2a32de1' does not support pricing by: 'ton'\"\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\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=\"responsebody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Example error 3<\/h6>\n\n\n\n<p>Incor\u00adrect set\u00adtle\u00adment basis<\/p>\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>{\n    \"type\": \"http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html\",\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"detail\": \"Failed Validation\",\n    \"validation_messages\": {\n        \"pricing\": {\n            \"settlement_basis\": {\n                \"isSettlementBasis\": \"settlement_basis must be a valid settlement basis from the dictionary or a settlement basis transport_price_type not matching the contract pricing_type\"\n            }\n        }\n    }\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"dont-break-out\">Cre\u00adat\u00ading a new fixed con\u00adtract in select\u00aded route. Cre\u00adat\u00ading a new fixed con\u00adtract in select\u00aded route.<\/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":[141,157],"tags":[],"class_list":["post-6590","post","type-post","status-publish","format-standard","hentry","category-freights-section","category-route-n"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Creating a new fixed contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/fixed Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alek\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Trans.eu Api - Trans.eu Api\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Create fixed contract - Trans.eu Api\" \/>\n\t\t<meta property=\"og:description\" content=\"Creating a new fixed contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/fixed Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1182\" \/>\n\t\t<meta property=\"og:image:height\" content=\"246\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-04-30T08:53:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-04-30T17:13:43+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Create fixed contract - Trans.eu Api\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Creating a new fixed contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/fixed Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#blogposting\",\"name\":\"Create fixed contract - Trans.eu Api\",\"headline\":\"Create fixed contract\",\"author\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/cropped-201805241459329875.png\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#articleImage\",\"width\":512,\"height\":512},\"datePublished\":\"2026-04-30T10:53:02+02:00\",\"dateModified\":\"2026-04-30T19:13:43+02:00\",\"inLanguage\":\"pl-PL\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#webpage\"},\"articleSection\":\"Freights section, Routes &amp; contracts, English\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.trans.eu\\\/api\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/#listItem\",\"name\":\"Freights\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/#listItem\",\"position\":2,\"name\":\"Freights\",\"item\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/route-n\\\/#listItem\",\"name\":\"Routes &amp; contracts\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/route-n\\\/#listItem\",\"position\":3,\"name\":\"Routes &amp; contracts\",\"item\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/route-n\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#listItem\",\"name\":\"Create fixed contract\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/#listItem\",\"name\":\"Freights\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#listItem\",\"position\":4,\"name\":\"Create fixed contract\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/route-n\\\/#listItem\",\"name\":\"Routes &amp; contracts\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#organization\",\"name\":\"Trans.eu Api\",\"description\":\"Trans.eu Api\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/cropped-201805241459329875.png\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#organizationLogo\",\"width\":512,\"height\":512},\"image\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#author\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\",\"name\":\"Alek\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2409c2adde2535cfa533f41c9961f644484c0afb743b753737bc1520fcab7b4f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Alek\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#webpage\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/\",\"name\":\"Create fixed contract - Trans.eu Api\",\"description\":\"Creating a new fixed contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \\\/ext\\\/contracts-api\\\/v2\\\/contracts\\\/fixed Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer\",\"inLanguage\":\"pl-PL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-fixed-contract\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#author\"},\"datePublished\":\"2026-04-30T10:53:02+02:00\",\"dateModified\":\"2026-04-30T19:13:43+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#website\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/\",\"name\":\"Trans.eu Api\",\"description\":\"Trans.eu Api\",\"inLanguage\":\"pl-PL\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Create fixed contract - Trans.eu Api","description":"Creating a new fixed contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/fixed Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer","canonical_url":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#blogposting","name":"Create fixed contract - Trans.eu Api","headline":"Create fixed contract","author":{"@id":"https:\/\/www.trans.eu\/api#author"},"publisher":{"@id":"https:\/\/www.trans.eu\/api\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/cropped-201805241459329875.png","@id":"https:\/\/www.trans.eu\/api\/#articleImage","width":512,"height":512},"datePublished":"2026-04-30T10:53:02+02:00","dateModified":"2026-04-30T19:13:43+02:00","inLanguage":"pl-PL","mainEntityOfPage":{"@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#webpage"},"isPartOf":{"@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#webpage"},"articleSection":"Freights section, Routes &amp; contracts, English"},{"@type":"BreadcrumbList","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api#listItem","position":1,"name":"Home","item":"https:\/\/www.trans.eu\/api","nextItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/#listItem","name":"Freights"}},{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/#listItem","position":2,"name":"Freights","item":"https:\/\/www.trans.eu\/api\/freights\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/route-n\/#listItem","name":"Routes &amp; contracts"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/route-n\/#listItem","position":3,"name":"Routes &amp; contracts","item":"https:\/\/www.trans.eu\/api\/freights\/route-n\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#listItem","name":"Create fixed contract"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/#listItem","name":"Freights"}},{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#listItem","position":4,"name":"Create fixed contract","previousItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/route-n\/#listItem","name":"Routes &amp; contracts"}}]},{"@type":"Organization","@id":"https:\/\/www.trans.eu\/api\/#organization","name":"Trans.eu Api","description":"Trans.eu Api","url":"https:\/\/www.trans.eu\/api\/","logo":{"@type":"ImageObject","url":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/cropped-201805241459329875.png","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#organizationLogo","width":512,"height":512},"image":{"@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.trans.eu\/api#author","url":"https:\/\/www.trans.eu\/api","name":"Alek","image":{"@type":"ImageObject","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/2409c2adde2535cfa533f41c9961f644484c0afb743b753737bc1520fcab7b4f?s=96&d=mm&r=g","width":96,"height":96,"caption":"Alek"}},{"@type":"WebPage","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#webpage","url":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/","name":"Create fixed contract - Trans.eu Api","description":"Creating a new fixed contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/fixed Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer","inLanguage":"pl-PL","isPartOf":{"@id":"https:\/\/www.trans.eu\/api\/#website"},"breadcrumb":{"@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/#breadcrumblist"},"author":{"@id":"https:\/\/www.trans.eu\/api#author"},"creator":{"@id":"https:\/\/www.trans.eu\/api#author"},"datePublished":"2026-04-30T10:53:02+02:00","dateModified":"2026-04-30T19:13:43+02:00"},{"@type":"WebSite","@id":"https:\/\/www.trans.eu\/api\/#website","url":"https:\/\/www.trans.eu\/api\/","name":"Trans.eu Api","description":"Trans.eu Api","inLanguage":"pl-PL","publisher":{"@id":"https:\/\/www.trans.eu\/api\/#organization"}}]},"og:locale":"pl_PL","og:site_name":"Trans.eu Api - Trans.eu Api","og:type":"article","og:title":"Create fixed contract - Trans.eu Api","og:description":"Creating a new fixed contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/fixed Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer","og:url":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/","og:image":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png","og:image:secure_url":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png","og:image:width":1182,"og:image:height":246,"article:published_time":"2026-04-30T08:53:02+00:00","article:modified_time":"2026-04-30T17:13:43+00:00","twitter:card":"summary","twitter:title":"Create fixed contract - Trans.eu Api","twitter:description":"Creating a new fixed contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/fixed Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer","twitter:image":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png"},"aioseo_meta_data":{"post_id":"6590","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-04-29 12:48:25","updated":"2026-05-01 11:23:14","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.trans.eu\/api\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.trans.eu\/api\/freights\/\" title=\"Freights\">Freights<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.trans.eu\/api\/freights\/route-n\/\" title=\"Routes &amp; contracts\">Routes &amp; contracts<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCreate fixed contract\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.trans.eu\/api"},{"label":"Freights","link":"https:\/\/www.trans.eu\/api\/freights\/"},{"label":"Routes &amp; contracts","link":"https:\/\/www.trans.eu\/api\/freights\/route-n\/"},{"label":"Create fixed contract","link":"https:\/\/www.trans.eu\/api\/freights-section\/create-fixed-contract\/"}],"lang":"en","translations":{"en":6590},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/6590","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=6590"}],"version-history":[{"count":6,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/6590\/revisions"}],"predecessor-version":[{"id":6630,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/6590\/revisions\/6630"}],"wp:attachment":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/media?parent=6590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/categories?post=6590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/tags?post=6590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}