The API enables negotiation of the terms of carriage for a published freight. Negotiating parties can agree on the price for the order and, in the case of multi-freight shipments, the quantity of goods to be transported.
Negotiation flow and available actions
- Negotiations are initiated by a carrier interested in a freight offer (the negotiation participant). The participant selects one of the contact persons assigned to the freight (the negotiation owner) and submits a proposed offer price.
Currently, carriers can negotiate via API only direct offers, partners offers, and fixed-route offers. Negotiating exchange offers is available to carriers only on the Trans.eu Platform. - The user designated for negotiation on the publisher’s side (the negotiation owner) can accept the offer, propose a new offer price, reject the carrier’s offer or end the negotiation with the carrier.
Before the negotiation owner takes any action, the negotiation participant may withdraw their offer. - If the negotiation owner proposes a new price, the negotiation participant can accept the offer, propose a new offer price, reject the owner’s offer or end the negotiation with this user.
Before the negotiation participant responds to the new offer, the negotiation owner may withdraw their offer. - If the negotiation participant accepts the negotiation owner’s offer, the negotiation is finalized and the terms are confirmed only after the negotiation owner also accepts the participant’s acceptance.
In the case of “Buy Now” publications, the negotiation participant can only accept the offered price or end the negotiation. Acceptance of the offer is final, and no confirmation from the negotiation owner is required. - If one party rejects the offer, the other party may restart the negotiation by submitting a new price offer.
- Ending the negotiation by either party prevents both sides from restarting the negotiation for the given freight (publication).
- A negotiation handled by the negotiation owner may be taken over by another employee of the same company, provided they have the appropriate permissions. This operation is typically used when the negotiation owner is unavailable and the negotiation needs to be completed.
Negotiation endpoints for negotiation owner
A negotiation owner can retrieve the list of negotiations for a selected freight using the Get freight offer list endpoint, which provides information such as the offer ID, negotiation status and the current negotiated price.
By providing the offer ID in the Get freight offer details endpoint, the user can obtain detailed information about a specific negotiation, including the contact details of the negotiation participant and the history of actions performed by both parties.
Using the same offer ID and the current negotiation step (“version number”) returned by one of the above endpoints, the user can perform a negotiation action available for the current negotiation action type — all endpoints are listed in the table below.
Negotiation status
| Negotiation action | Description |
| acceptation | The offer negotiation is accepted. No further negotiation action is possible. |
| negotiation | The offer negotiation is ongoing. Further negotiation action is possible. |
| rejection | The offer negotiation was finished without result. No further negotiation action is possible. |
| renouncement | The offer negotiation is rejected. Further negotiation action is possible. |
Negotiation requests dedicated to the negotiation owner
| Link to details | Short description | Request |
| Get freight offer list | Allows you to download list of offers submitted for freight | GET /ext/freights-api/v1/freights/{freight-id}/offers |
| Get freight offer details | Allows you to download offer details and its negotiation history | GET /ext/freights-api/v1/freights/offers/{offers-id} |
| Negotiate freight offer | Allows you to submit price offer in negotiations | PATCH /ext/freights-api/v1/freights/offers/{offer-id}/negotiate |
| Accept freight offer | Allows for the acceptance of an price offer submitted by a participant in the negotiations | POST /ext/freights-api/v1/freights/offers/{offer-id}/accept |
| Reject freight offer | Allows you to reject a participant’s offer | POST /ext/freights-api/v1/freights/offers/{offer-id}/renouncement |
| Withdraw last offer | Allows you to withdraw your own offer | POST /ext/freights-api/v1/freights/offers/{offer-id}/withdraw |
| Taking over the negotiations | Allows another employee of the company to take over the negotiations | PATCH /ext/freights-api/v1/freights/offers/{offer-id}/takeover |
| Finish the negotiations | Allows you to reject the offer and definitively close the negotiations | POST /ext/freights-api/v1/freights/offers/{offer-id}/reject |
Negotiations endpoints for negotiations participant
Once the negotiations starts, the participating user can obtain detailed information about the negotiated freight, the offer ID and the current price offer requesting Get freight proposal endpoint.
Using the offer ID and the current negotiation step (“version number”) returned by the above endpoint, the user can perform a negotiation action available for the current “stage” and “status” values — all endpoints are listed in the table below.
Negotiation requests dedicated to the negotiation participant
| Link to details | Short description | Request |
| Get freight proposal list | Allows you to download a list of all negotiated freight offers | GET /ext/freights-api/v2/freight-proposals |
| Get freight proposal details | Allows you to download a list of all negotiated offers for a freight | GET /ext/freights-api/v2/freight-proposals/{freight-id} |
| Negotiate freight offer | Allows you to submit price offer in negotiations | PATCH /ext/freights-api/v1/freights/offers/{offer-id}/negotiate |
| Accept freight offer | Allows for the acceptance of an price offer submitted by a publisher in the negotiations | POST /ext/freights-api/v1/freights/offers/{offer-id}/accept |
| Reject freight offer | Allows you to reject a publisher’s offer | POST /ext/freights-api/v1/freights/offers/{offer-id}/renouncement |
| Withdraw last offer | Allows you to withdraw your own offer | POST /ext/freights-api/v1/freights/offers/{offer-id}/withdraw |
| Finish the negotiations | Allows you to reject the offer and definitively close the negotiations | POST /ext/freights-api/v1/freights/offers/{offer-id}/reject |
| Get accepted freight proposals | Allows you to download a list of all negotiated and accepted freight offers | GET /ext/freights-api/v1/freight-proposals/accepted |
| Get archived freight proposals | Allows you to download a list of all negotiated and archived freight offers | GET /ext/freights-api/v1/freight-proposals/archived |