The following URL will allow you to place XML orders as a one step process. LOMACS will assigned a LSI order_id that will be return to you as part of the XML response. You will need to capture the order_id in order to reference the order later when doing Order Queries, Shipment Queries and Status updates.

    https://api.logistech.us/xml/order.pl?client=client_code&profile=profile

Where client_code is your Logistech client code (given to you by your CSR) and profile is the profile number you wish to place the order against (see the LOMACS help pages for creating profiles).

Orders must follow the order schema specification. Multiple orders may be placed by enclosing them in <order_list> </order_list> tags. See order semantics for details on services and shipping dates.

Upon success, the XML for the placed orders including Logistech order numbers will be returned enclosed in an <order_list> element. The list will contain <order> elements for the successful orders and <error> elements for unsuccessful orders in the order in which they were received.

Posting directly to the CGI

As an alternative to using the HTML page to place orders, they may be POSTed directly to the following CGI script :

    https://api.logistech.us/lomacs/xml/receive_order

The following variables should be posted :

VariableDescription
clientYour Logistech client code
profileThe profile number for the order(s)
ordersThe XML describing the order(s)


Example Order

The following is an example order for our test client :
  <?xml version="1.0"?>
  <order>
    <service>GND</service>
    <cust_ref_id>xyz-widgets-545</cust_ref_id>
    <address>
      <comp_name>N/A</comp_name>
      <attn_name>John Doe</attn_name>
      <address_1>123 Lost Ave</address_1>
      <city>Nowhere</city>
      <state>NC</state>
      <zip_code>27893</zip_code>
      <country_code>US</country_code>
      <phone>800 555-1212</phone>
      <email>john.doe@iamlost.com</email>
    </address>
    <item>
      <item_no>1</item_no>
      <product_id>XYZ-8796</product_id>
      <quantity>1</quantity>
      <unit_price>4.5</unit_price>
      <description>Little Red Widget</description>
    </item>
    <item>
      <item_no>2</item_no>
      <product_id>XYZ-SHIRT-O1</product_id>
      <quantity>3</quantity>
      <unit_price>3</unit_price>
      <description>XYZ Logo T-Shirt (XL)</description>
    </item>
  </order>