The following is a complete schema for orders, and is used both to submit and
query orders. Tags are color coded to indicate various information about
their use :
- Bold - indicates a top level tag - must occur at least once, but
may occur more than once
- Italic - indicates an optional tag
- Green - indicates a tag that is "read-only", or
returned from a query rather than submitted
- Red - indicates a top level tag that must occur
once, and only once
The Schema
<order>
<order_id> </order_id>
<status>OPEN|PRINTED|PRINTING|SHIPPED|BACKORD|TRASHED
|NEW|HOLD|BACKHOLD|CLNTHOLD</status>
<est_delivery_date> </est_delivery_date>
<service>service code</service>
<bill_customs_opt>1|2|3</bill_customs_opt>
<site_code>site/store/location code</site_code>
<cust_ref_id> </cust_ref_id>
<po_number> </po_number>
<other_ref_id1> </other_ref_id1>
<other_ref_id2> </other_ref_id2>
<request_ship_date> </request_ship_date>
<compliance_ind>Y|N</compliance_ind>
<comments> </comments>
<gift_wrap>Y|N</gift_wrap>
<gift_wrap_message> </gift_wrap_message>
<product_subtotal> </product_subtotal>
<shipping_charge> </shipping_charge>
<gift_wrap_charge> </gift_wrap_charge>
<sales_credit> </sales_credit>
<sales_tax> </sales_tax>
<total> </total>
<address>
<comp_name> </comp_name>
<attn_name> </attn_name>
<address_1> </address_1>
<address_2> </address_2>
<city> </city>
<state> </state>
<zip_code> </zip_code>
<country_code>country_code</country_code>
<phone> </phone>
<email> </email>
</address>
<bill_address>
<comp_name> </comp_name>
<attn_name> </attn_name>
<address_1> </address_1>
<address_2> </address_2>
<city> </city>
<state> </state>
<zip_code> </zip_code>
<country_code>country_code</country_code>
<phone> </phone>
<email> </email>
</bill_address>
<item>
<item_no>sequence #1,2,3.. assigned
by LOMACS, returned in response </item_no>
<product_id>lomacs unique part number </product_id>
<buyer_sku>alternate part number to
display on packing list </buyer_sku>
<quantity> </quantity>
<description> </description>
<unit_price> </unit_price>
</item>
</order>
Logistech Service Codes
The "service" tag has the following "service code" options :
Code | Meaning |
OVERN1 | UPS Overnight Early AM |
POVERN | UPS Overnight Early |
OVERN | UPS Overnight - Delivery by end of Day |
2ND | UPS 2 Day |
2NDAM | UPS 2 Day AM |
3RD | UPS 3 Day |
STDRES | UPS Ground Residential |
STDBUS | UPS Ground Business |
TRINTP | UPS International 1 to 3 Days |
TRINTE | UPS International 2 to 5 Days |
GND | USPS First Class |
MEDIA | USPS Media Mail |
USPSPRI | USPS Priority Mail |
P61 | USPS First Class International |
P79 | USPS Priority International |
UPSSP | UPS SurePost |
UPSMI | UPS Mail Innovation |
VAS | Value Added Service - Logistech Project |
Logistech Order Status Codes
The following is an explanation of Logistech's order status codes :
Code | Meaning |
OPEN | Order has been received, but not yet processed |
PRINTED | Order has been printed on the warehouse floor |
PRINTING | Order is in the process of printing |
SHIPPED | Order has been shipped |
BACKORD | All remaining items on the order are on backorder |
TRASHED | Order has been cancelled |
NEW | Indicates that a problem occurred and the order was not
placed successfully |
HOLD | Indicates that the order has been placed on hold |
BACKHOLD | Indicates the order is on hold because one or more
items are on backorder. (This is an optional feature). The order will be
processed when all items can be filled. |
CLNTHOLD | Indicates that the customer has been placed on hold,
and Logistech is not currently processing orders for them |
Bill Customs Opt
bill_customs_opt is on valid for order with destinations outside of the United States.
Valid values are :
bill_customs_opt |
Meaning |
1 |
bill shipper |
2 |
bill recipient |
3 |
bill 3rd Party |
Field Lengths
The following are field length limits for orders. Fields will be truncated to
the correct length if they are too long.
Field |
Length |
cust_ref_id |
35 |
po_number |
35 |
other_ref_id1 |
50 |
other_ref_id2 |
50 |
comp_name |
35 |
attn_name |
35 |
address_1 |
35 |
address_2 |
35 |
city |
25 |
state |
8 |
zip_code |
14 |
phone |
15 |
email |
250 |
description |
80 |
gift_wrap_message |
350 |