Skip to content

Order intake

Order intake means pushing orders from your system into MendriX. Today this goes through the legacy SOAP Custom Link call StoreOrdersNormal — the same XML on both the manual and the n8n path.

https://<your-client-name>.mendrix.cloud:5564/soap/ICustomLinkSoap

Operation: StoreOrdersNormal. The WSDL is published at https://<your-client-name>.mendrix.cloud:5564/wsdl/ICustomLinkSoap. See the SOAP overview for connection and authentication details, and the full order-intake example for a complete request/response pair.

Orders are described by the EoCustomLinkStoreOrdersNormal structure (defined in GdxEoStructures.xsd). A new order has OrderId/Id set to a negative value (negative = insert), a client reference, and one or more tasks (typically a pickup and a delivery):

<EoCustomLinkStoreOrdersNormal Type="TEoCustomLinkStoreOrdersNormal">
<ApplyImportSettings>1</ApplyImportSettings>
<Data Type="TEoOrderMxList">
<_TEoListBase_Items>
<EoOrderMx Type="TEoOrderMx">
<!-- Negative Id requests a new order. ClientNumber is resolved to a
ClientId automatically when ClientId is not supplied. -->
<OrderId Type="TEoKeyIntInfraMx_NoData"><Id>-1</Id></OrderId>
<ClientNumber>1001</ClientNumber>
<Reference>PO-2026-00042</Reference>
<Tasks Type="TEoTaskMxList">
<_TEoListBase_Items>
<!-- Pickup task -->
<EoTaskMx Type="TEoTaskMx">
<TaskId Type="TEoKeyIntInfraMx_NoData"><Id>-1</Id></TaskId>
<Address Type="TEoAddress">
<Name>Acme Warehouse</Name>
<Street>Havenweg</Street>
<Number>12</Number>
<PostalCode>3011 XA</PostalCode>
<Place>Rotterdam</Place>
<CountryCode>NL</CountryCode>
</Address>
<ContactName>Jan de Vries</ContactName>
<Requested Type="TEoDateTimeWindow">
<DateTimeBegin>2026-07-22T08:00:00</DateTimeBegin>
<DateTimeEnd>2026-07-22T12:00:00</DateTimeEnd>
</Requested>
<GoodDescription>2 pallets general cargo</GoodDescription>
<GoodWeight>480</GoodWeight>
<Instructions>Call on arrival</Instructions>
<ReferenceYour>PICKUP-42</ReferenceYour>
</EoTaskMx>
<!-- Delivery task -->
<EoTaskMx Type="TEoTaskMx">
<TaskId Type="TEoKeyIntInfraMx_NoData"><Id>-2</Id></TaskId>
<Address Type="TEoAddress">
<Name>Beta Distribution</Name>
<Street>Industrieweg</Street>
<Number>88</Number>
<PostalCode>5651 GH</PostalCode>
<Place>Eindhoven</Place>
<CountryCode>NL</CountryCode>
</Address>
<Requested Type="TEoDateTimeWindow">
<DateTimeBegin>2026-07-22T14:00:00</DateTimeBegin>
<DateTimeEnd>2026-07-22T17:00:00</DateTimeEnd>
</Requested>
<ReferenceYour>DELIVERY-42</ReferenceYour>
</EoTaskMx>
</_TEoListBase_Items>
</Tasks>
</EoOrderMx>
</_TEoListBase_Items>
</Data>
</EoCustomLinkStoreOrdersNormal>

There is no REST endpoint for order creation yet (see the callout above). Submit via SOAP by POSTing the SOAP envelope that wraps the structure above to the Custom Link endpoint:

Terminal window
curl "https://<your-client-name>.mendrix.cloud:5564/soap/ICustomLinkSoap" \
-X POST \
-H "Content-Type: text/xml; charset=utf-8" \
-H "SOAPAction: StoreOrdersNormal" \
--data-binary @store-orders-normal.soap.xml

store-orders-normal.soap.xml is the SOAP envelope containing the payload; see the full example for the complete envelope and a sample response, and the SOAP overview for how the token is supplied.