X12 transaction guide · Warehousing
EDI 940 Warehouse Shipping Order
The X12 document a brand or depositor sends to a third-party warehouse instructing it to ship an order.
- Sent by
- Depositor (brand, seller or manufacturer)
- Received by
- Third-party warehouse (3PL)
- Standard
- ANSI ASC X12
What is an EDI 940?
The EDI 940 Warehouse Shipping Order is the ANSI X12 transaction set a depositor, the company that owns the inventory, sends to a third-party warehouse to request that goods be shipped. It contains the order and purchase order references, the ship-to party and address, shipping instructions such as carrier and payment terms, and the items and quantities to pick.
The 940 lets a brand run its order management in its own ERP or commerce system while a 3PL performs the physical fulfillment. The warehouse confirms what actually shipped with a 945 warehouse shipping advice, and the brand uses that confirmation to invoice its customer and update inventory.
How to read this diagram: the top row shows who sends the 940, to whom, and which documents usually come before and after it. The lower part shows what X12 release 004010 itself requires: the envelopes around the 940 and the segments and loops the standard marks as required, area by area. Optional loops are listed by the segment that starts them rather than drawn in full. This is the standard's minimum, not a trading partner's requirement: each partner's implementation guide usually makes some optional loops mandatory, restricts the codes and may use a different release.
When it is used
- Brands sending customer or retailer orders to a 3PL for fulfillment
- E-commerce sellers routing online orders to outsourced warehouses
- Manufacturers shipping from public or contract warehouses
Where it fits in the document flow
Structure
Key segments in the 940
The segments most implementations use, described in plain language. The last column shows what X12 release 004010 itself requires: "Required" marks a segment the standard requires in every 940; "Optional, common" marks a segment the standard leaves optional, or that sits in an optional loop, but that implementations often use. This is the standard's requirement, not your trading partner's: each partner's implementation guide names the release it uses, makes some optional segments mandatory and restricts the values, and requirements can differ between releases. The requirement status comes from one published X12 reference listing and has not been checked against a second source.
| Segment | Name | What it carries | In X12 004010 |
|---|---|---|---|
| W05 | Shipping Order Identification | Order status code, depositor order number and purchase order number. | Required |
| N1 loop | Party Identification | Ship-to and other parties, with N3 and N4 address segments. | Optional, common |
| G62 | Date/Time | Requested ship or delivery dates. | Optional, common |
| W66 | Warehouse Carrier Information | Shipment payment method, transportation method and carrier. | Optional, common |
| LX / W01 | Line Item Detail | Each item to ship with quantity, unit of measure and product identifiers. | Optional, common |
| W76 | Total Shipping Order | Total quantity ordered, as a control total. Optional in X12 releases 003040, 004010 and 005010, but many trading partner implementation guides require it. | Optional, common |
Example
Sample EDI 940
The depositor asks the 3PL to ship order ORD5001 to a consumer, prepaid by motor carrier. One line requests 2 units of item ABC-100, and W76 confirms the total.
Illustrative data only, not tied to one X12 release or trading partner. The interchange (ISA/IEA) and functional group (GS/GE) envelopes are omitted for readability.
ST*940*0001~
W05*N*ORD5001*PO123456~
N1*ST*Jane Customer~
N3*100 Main St~
N4*Springfield*IL*62701*US~
W66*PP*M~
LX*1~
W01*2*EA**VN*ABC-100~
W76*2~
SE*10*0001~ The sample is the same one shown above, with a note beside each segment the first time it appears. Segment IDs are highlighted at the start of each line; the fields after them are separated by asterisks, and each segment ends with a tilde.
Avoid problems
Common 940 errors and how to prevent them
Item numbers unknown to the warehouse
The 3PL's warehouse system must recognize the depositor's item identifiers. Keep item masters synchronized.
Incomplete addresses
Consumer orders with incomplete addresses fail carrier validation. Validate addresses before sending.
Unconfirmed orders
Every 940 should eventually receive a 945. Monitor for orders without a shipping confirmation.
Trading partners
Integration guides that include the 940
- 2UNDR
- 7 For All Mankind
- Acme Distribution
- Adams Warehouse & Delivery
- Adore Me
- Aetrex
- AG Jeans
- Alice + Olivia
- All Coast Logistics & Warehousing
- Allen Distribution
- Alo Yoga
- Altra
- American Giant

- Americold Logistics
- Angel Dear
- Ann Taylor
- APL Logistics
- Appaman
- Arc'teryx
- Arçelik
- Ariat
- Aritzia
- Arvato
- ASICS
- Aspen Distribution
- Atlanta Bonded Warehouse
- Avanti Products
- Averitt Distribution & Fulfillment
- Barrett Distribution Centers
- Belts Logistics

- Bender Warehouse Co.
- Bertazzoni
- Beyond Yoga
- Billy Reid
- Birkenstock
- BN3TH
- Bobo Choses
- Boden
- Bonded Logistics
- Bonobos
- Bonpoint
- Brioni
- Brooks Brothers
- Brooks Running
- Brown Integrated Logistics
- Brunello Cucinelli
- Buck Mason

- Burt's Bees Baby

- Camper
- Canali
- Capacity
- Capstone Logistics
- Carhartt
- Carter's

- Champion
- Charles Tyrwhitt

- Chico's
- Citizens of Humanity
- CJ Logistics America
- Clarks
- Coach
- Columbia Sportswear
- Commando
- Comprehensive Logistics
- Conwareco Logistics
- Cosabella
- Cosmo Appliances
- Custom Goods Logistics
- Cuup
- CWI Logistics
- Danby Appliances
- Danner
- Dansko
- Darn Tough Vermont
- DCL Logistics
- Dean Warehouse

- Diane von Furstenberg
- Dickies
- Distribution Alternatives

- DKNY
- Duluth Trading Company
- EASE Logistics
- ECCO
- Eddie Bauer
- Eileen Fisher
- Empava Appliances

- Ethika

- Everlane
- Faherty
- Filson
- Fleet Distribution Centers LLC
- Flint and Tinder
- For Bare Feet
- Forno Appliances
- FRAME

- Fulfillment.com
- FW Logistics
- G-III Apparel Group

- Geox
- Girlfriend Collective
- Gitman Bros.
- Good American
- Guess

- H&H Distribution Services
- Hanky Panky
- Hanna Andersson
- Happy Socks
- Hatley
- Hermann Services
- Hickey Freeman
- Hisense Home Appliances
- Hollister
- Holman Logistics
- Hopkins Distribution Company

- Hugo Boss
- Il Gufo
- ILVE
- Individualized Shirts
- Indochino

- Isaia
- ITS Logistics
- J.Crew
- J.Press
- Jacadi
- Janie and Jack
- Jarrett
- Jockey
- Joe's Jeans
- John Varvatos
- Johnnie-O
- JoJo Maman Bebe
- Joules
- KAG Logistics
- Kanban Logistics
- Kane Logistics
- Kane Logistics / ID Logistics US
- Kate Quinn
- Kate Spade
- KBX Logistics
- KDL Logistics
- KEEN
- Keller Logistics Group

- Kickee Pants
- Kiton
- Kontoor Brands
- KTI LTD
- Kut from the Kloth
- Kyte Baby
- L.L.Bean
- Lafayette 148
- Lands' End
- Laney & Duke Logistics
- Lanter Distributing
- Ledbury

- LG Electronics
- Liebherr Appliances
- Lilly Pulitzer

- Lineage Logistics
- Little Sleepies
- Liverpool Los Angeles
- LOFT
- Logistix Company, The
- Loup Logistics
- Mack Weldon
- Madewell
- Magnetic Me
- Maisonette
- Mango
- Marc Jacobs
- Marine Layer

- Mayoral
- MD Logistics
- Mephisto
- MeUndies
- Michael Kors
- Middleby Residential
- Mini Boden
- Mini Rodini
- Mizzen+Main
- Molo
- Monica + Andy
- Moran Logistics
- Mother Denim
- Murphy Logistics
- MW Logistics
- Natori
- Nebraska Warehouse
- Negative Underwear

- NewCold
- NFI Industries
- Nicks Handmade Boots
- Noralee
- NRS Logistics America
- NYDJ

- Ohio Logistics
- On Holding
- Orvis
- Outdoor Voices
- Outerknown
- Oxford Industries
- Pacific Coast Warehouse Company
- Pacific Mountain Logistics
- Paige
- Pair of Thieves

- Palmer Logistics
- Panasonic Appliances
- Parade
- Patagonia
- Patton Warehousing
- Paul Stuart
- PBD Worldwide
- Pendleton Woolen Mills

- Perlick Corporation
- Perry Ellis International
- Petit Bateau
- Phoenix Logistics
- Polarn O. Pyret
- Port Jersey Logistics
- Posh Peanut
- Prana
- Primary
- PRISM Logistics
- Proper Cloth
- PSD Underwear
- Puma
- Quiet Platforms
- Quincy Mae


- Rag & Bone
- Ratio Clothing
- RBW Logistics

- Red Wing Shoe Company
- RedStone Logistics
- Reebok
- Reformation
- Regal Logistics
- Reima
- Rinchem Company
- Riverhorse Logistics (JIT program)
- RJW Logistics Group

- Robert Graham
- Rockets of Awesome
- Rocky Brands
- Romark Logistics
- RuffleButts
- RuggedButts
- Rylee + Cru
- Saddle Creek Logistics Services
- Salomon
- Samsung Electronics
- SAXX Underwear
- Seldat Distribution
- Sezane
- Sharp Home Electronics
- ShipBob
- ShipHero


- Sid Mashburn
- Skechers
- SKIMS
- Smartwool
- Socksmith
- Solmate Socks
- Soma
- Sorel
- Southeast Unloading
- Southern Marsh
- Southern Tide
- Spanx

- St. John Knits
- Stance
- Standard Distribution Co.
- States Logistics Services
- Steve Madden
- Stord
- Sub-Zero Group
- Suitsupply
- Summit Appliance

- Sweaty Betty
- Symbia Logistics

- Talbots
- Taylor Logistics Inc.
- Taylor Stitch
- Tea Collection
- Thayer Logistics
- The Children's Place
- The North Face
- The Shippers Group
- Theory
- ThirdLove
- Thor Kitchen
- Thorogood
- thyssenkrupp Supply Chain Services
- Timberland
- Tippmann Group
- Todd Snyder
- Tommy Bahama
- Tommy John
- Tory Burch
- TravisMathew
- Triumph International
- True Religion
- True Residential
- U-Line
- Uniqlo


- Universal Standard
- UNTUCKit
- Vans
- Venture Logistics
- Veronica Beard
- Verst Logistics
- Vince
- Vineyard Vines
- Vuori
- Wagner Logistics
- Warehouse-Pro


- Wesco Boots
- West End Express (M&H Warehouse)
- Weyco Group
- Wheat
- White House Black Market
- White's Boots
- Wolverine Worldwide
- Woods Distribution
- Woolrich
- Worley Warehousing


- Zegna
- ZLINE Kitchen and Bath
How ECOM helps
Automate the 940 with ECOM
Solution
Logistics Automation
Automate tenders, status updates, freight invoices and warehouse orders with logistics partners.
Industry
3PL and Warehousing
Warehouse orders, shipping advice, receipts and inventory reporting between brands, 3PLs, carriers and retailers.
Solution
eCommerce Integration
Connect online stores and marketplaces to your ERP, warehouse and EDI processes.
EDI 940 FAQs
What is the difference between an 850 and a 940?
An 850 is a purchase order between buyer and seller. A 940 is an instruction from the inventory owner to its warehouse to ship an order.
What is the response to a 940?
The warehouse sends a 945 warehouse shipping advice confirming what shipped, usually after a 997 acknowledgment.
Which other documents do 3PLs use?
Common warehousing documents include the 943 and 944 for inbound stock transfers and receipts, and the 846 and 947 for inventory status and adjustments.
More general questions about EDI are answered in the EDI FAQ.
Related transactions
Related warehousing documents
From the guide to go-live
Put this into practice with ECOM
Reading about EDI is the first step. When you are ready to meet a trading partner's requirements, an ECOM specialist can help.
-
EDI compliance help
Check documents against the partner's rules before they are sent, and find out why labels, ship notices or invoices are rejected or short-paid for EDI 940.
-
EDI implementation
Map, test and certify the documents for EDI 940, and connect them to your ERP, warehouse or order system.
-
Managed EDI
Have ECOM run the day-to-day EDI: monitoring, error handling and new trading partner setup.
Need help with the EDI 940?
ECOM maps, tests and monitors X12 documents for your trading partners and integrates them with your ERP.