24 October 2026International edition
Vol. I · No.
24 October 2026
AI IN FASHION
DAILY
The daily briefing on AI in the fashion business
Where fashion meets artificial intelligence.
Wholesale & B2B · Stories

EDI and API integration for fashion wholesale orders explained

Traditional EDI standards still dominate major retailer requirements, but modern API connections are reshaping how brands manage inventory and fulfilment across B2B channels.

woman using gold iPad
Photo: Marek Levák / Unsplash

KEY TAKEAWAYS Summary by the editors

  1. Independent retailers now account for 62 per cent of wholesale transactions on digital platforms, up from 49 per cent in 2020.
  2. ANSI X12 remains the North American standard, while EDIFACT is required for European and international department stores.
  3. Third-party EDI middleware costs range from 200 to 1,000 US dollars per month plus per-document transaction fees.
  4. Only 17 per cent of fashion retailers have fully integrated their ERP systems across all departments as of 2025.

Fashion brands selling to major retailers face a binary compliance requirement: implement Electronic Data Interchange or lose the account. Department stores, mass merchants and specialty chains across North America and Europe require suppliers to exchange purchase orders, advance ship notices and invoices in structured EDI formats that predate the web. Yet the same brands increasingly operate B2B portals, direct wholesale channels and dropship programmes that rely on modern REST APIs and JSON payloads to sync inventory and route orders in real time.

The result is a dual-track technology landscape. EDI is the operating contract between brands and every wholesale or department store retailer, with Nordstrom, Macy's, Saks, Bloomingdale's, Belk, JCPenney and Kohl's all requiring EDI for wholesale and dropship programmes. At the same time, brands need API connections to manage their own B2B platforms, sales rep tools and third-party logistics providers. Understanding both systems, their costs and their respective roles is now a baseline requirement for wholesale operations teams.

The distinction matters because wholesale is showing signs of a remarkable evolution as 2026 approaches, with data showing that fashion wholesale is regaining momentum, order lead times are getting shorter, brands are developing tighter collections featuring more evergreens, and both retailers and brands are increasing their use of AI tools. Managing that complexity requires clarity on which technology handles which workflow.

What is EDI and why do fashion retailers still require it?

Electronic Data Interchange is a set of standards for exchanging business documents between computer systems without human intervention. EDI is the standardised method of exchanging business documents electronically in formats like ANSI X12 or EDIFACT, replacing emails, faxes or paper documents with computer to computer communication. The technology dates to the late 1970s, but it remains the foundation of wholesale order processing because retailers built their receiving, warehousing and accounting systems around it.

The core EDI documents in apparel wholesale are well established. The EDI 850 purchase order contains style, size, colour, quantity, price, delivery window, ship-to location and PO number. The EDI 855 purchase order acknowledgement is the vendor's formal response, indicating accepted, accepted with changes or rejected. A brand may receive a bulk 850 PO from Nordstrom via EDI, route it to a 3PL via API, and return an EDI-compliant 856 ASN once shipped, all without manual intervention. The EDI 856 advance ship notice provides shipment detail including carton content, GS1-128 labels and carrier tracking. The EDI 810 invoice follows, and the EDI 997 functional acknowledgement confirms receipt of each transmission.

The document formats are older than most people in the industry, with the technology behind them (X12 in the US, EDIFACT internationally) predating the web, and a purchase order from Walmart to a hosiery brand in North Carolina uses essentially the same X12 850 format it did in 1995. Retailers have iterated operational rules around EDI compliance, not the standard itself. Missing ASN deadlines or labelling requirements can trigger chargebacks even when the product is ready to ship.

Which EDI standard should fashion brands implement?

The choice of EDI standard depends on geography and trading partner requirements. Most retailers use ANSI X12 or EDIFACT standards, with files transmitted via AS2, FTP or VANs. North American retailers overwhelmingly require ANSI X12. ANSI X12 is popular in retail (Walmart, Target), healthcare (used for HIPAA-compliant transactions), transportation and logistics, and government agencies in the United States, and if trading partners are mainly in the US or Canada, ANSI X12 is the expected format.

European and international markets operate differently. Brands expanding outside the United States quickly run into the same EDI requirement at the largest department stores abroad, and in the United Kingdom, Harrods and Selfridges both transact with vendors over EDI (Harrods on the EDIFACT ORDERS, DESADV and INVOIC document standard, Selfridges through standard retail EDI). In Australia, David Jones, Myer and The Iconic all require EDI from suppliers at scale, and a growing apparel ERP investment should be future-proofed for these international trading partners because the document standards (EDIFACT abroad, ANSI X12 in North America) are different and not every EDI provider supports both.

The practical implication is that brands with international wholesale ambitions need systems capable of managing both standards. The standards are not interchangeable. X12 uses numeric transaction codes (850, 856, 810), whilst EDIFACT uses alphabetic message names (ORDERS, DESADV, INVOIC). Multinational companies often support both, translating between X12 and EDIFACT as needed.

Independent retailers drive wholesale growth
2020
49%
2025
62%

Source: Joor, 2025

How do APIs differ from EDI for wholesale order management?

Application programming interfaces enable real-time, bidirectional data exchange between software systems using modern web protocols. EDI is the retail standard for exchanging orders and shipping data; API is a newer technology for real-time integration. Whilst EDI transmits batch files on a schedule (often hourly or daily), APIs allow instant queries and updates. A sales rep opening a B2B portal sees current stock levels because the portal queries the ERP via API. When a retailer places an order on that portal, the API writes it directly into the order management system.

The workflow difference is material. A daily batch export means inventory is always a day behind, with reps quoting availability based on yesterday's picture, whilst an API-first integration syncs in real time, with new stock live instantly and orders landing in the ERP in seconds without a manual touchpoint. New stock is live in the platform the moment it is updated in the ERP, orders sync back in seconds with zero manual touchpoints and schema-enforced validation that catches errors before they land in the system, inventory is always current, and order accuracy is structurally higher.

APIs also support workflows that EDI cannot. A brand operating a B2B e-commerce site needs to display available-to-promise inventory by SKU, accept complex order configurations (mix-and-match prepacks, customer-specific pricing, multiple ship dates) and update order status in real time. These interactions require synchronous request-response patterns. EDI, designed for asynchronous batch transmission, does not accommodate them.

The technology stack also differs. EDI relies on value-added networks or direct AS2 connections, EDI translation software to map documents into ERP-readable formats, and compliance monitoring to ensure retailer-specific rules are met. Third-party EDI middleware costs 200 to 1,000 US dollars per month base subscription plus 0.10 to 1.00 US dollars per document per retailer. API integration, by contrast, uses REST endpoints, JSON or XML data formats, OAuth or API key authentication, and webhook notifications for event-driven updates. Implementation costs vary by ERP complexity and the need for middleware or iPaaS platforms.

Can fashion brands use both EDI and API in parallel?

The majority of mid-market and enterprise apparel brands now operate hybrid architectures. EDI handles wholesale compliance (orders from major retailers, invoices, ship notices) whilst API connects the dots between e-commerce, ERPs and logistics providers, ensuring real-time fulfilment and inventory updates. The systems serve different masters: EDI satisfies retailer mandates, APIs enable internal agility and customer-facing digital commerce.

The workflow often runs in sequence. An 850 purchase order arrives via EDI from a department store. The EDI middleware translates it and posts it into the ERP as a sales order. The ERP then uses an API to check warehouse inventory, reserve stock, generate pick lists and send shipping instructions to the 3PL. Once the 3PL confirms shipment, the ERP uses another API to retrieve tracking details, then generates an EDI 856 ASN and 810 invoice and transmits both back to the retailer via EDI. Throughout, the brand's B2B portal pulls live inventory via API so independent retailers can place their own orders against the same stock pool.

This dual-track model is now standard practice. Platform providers build pre-built integrations to manage both. JOOR's custom and pre-built integrations enable seamless data flow for easier B2B order management, with pre-built integrations for NetSuite, Xero, Shopify, Brightpearl, Apparel Magic and Zedonk. RepSpark integrates directly with enterprise ERP systems including NetSuite, ApparelMagic, FullCircle and BlueCherry, meaning order data flows automatically from the wholesale portal into back-end systems, eliminating the manual data entry that creates errors and delays fulfilment.

What are the common implementation steps for EDI?

EDI implementation follows a structured onboarding process with each retailer. The first step is registration. The retailer provides its EDI requirements document, specifying which transaction sets are required, transmission method (AS2, FTP, VAN), testing procedures and compliance rules. The brand then selects an EDI provider or activates the EDI module in its ERP if available. Some apparel ERP solutions include native EDI, reducing the need for third-party providers and enabling smoother, more reliable transactions with major retailers and trading partners, whilst other systems provide native EDI capabilities, streamlining retailer compliance and reducing the need for external EDI providers or custom integrations.

Mapping is the critical technical step. Each retailer has specific field requirements, code lists and validation rules. The EDI provider maps the retailer's 850 purchase order format to the brand's ERP sales order structure, ensuring that style numbers, colours, sizes, ship-to addresses and delivery dates flow correctly. The brand then enters a testing phase, exchanging sample documents with the retailer's EDI system and correcting errors until both sides achieve clean transmission and acknowledgement.

Once testing passes, the retailer issues production credentials and the brand goes live. Ongoing operations require monitoring. EDI transactions generate functional acknowledgements (997s in X12, CONTRL in EDIFACT) that confirm receipt. Failed transmissions, rejected documents or compliance violations must be identified and resolved quickly to avoid chargebacks. Many brands outsource this monitoring to their EDI provider or use automated alerting within their ERP.

What are the common implementation steps for API integration?

API integration begins with endpoint documentation. The brand's ERP or the third-party platform publishes API specifications detailing available endpoints (create order, update inventory, retrieve customer), required authentication (OAuth 2.0, API keys), request and response formats (JSON, XML), rate limits and error codes. Developers then build the integration, writing code to authenticate, construct requests, handle responses and manage errors.

Testing follows a different pattern than EDI. Rather than retailer-specific certification, API testing focuses on functional coverage (can the integration create orders, update stock, handle edge cases), performance (response times, throughput under load) and error handling (network failures, invalid data, rate limit breaches). Sandbox environments allow safe testing against non-production data.

Deployment can be iterative. Unlike EDI, which requires full compliance before go-live, API integrations can launch with a minimum viable feature set and expand over time. A brand might first integrate order creation, then add inventory sync, then layer in customer-specific pricing and allocation rules. Webhooks enable event-driven updates, so downstream systems receive notifications when orders ship, inventory adjusts or exceptions occur, without polling.

Maintenance differs as well. APIs evolve through versioning. Providers deprecate old endpoints and introduce new features, requiring periodic updates to integration code. EDI standards change far more slowly, but retailer-specific compliance rules (new labelling requirements, updated RFID mandates, revised chargeback policies) require ongoing monitoring and configuration changes.

Evolution of wholesale technology standards
  1. 1979American National Standards Institute charters ASC X12 for electronic business transactions
  2. 1986United Nations approves EDIFACT as international EDI standard for global trade
  3. 2010VICS organises committee as RFID technology takes hold in apparel industry
  4. 2020Independent retailers account for 49 per cent of wholesale transactions on digital platforms
  5. 2025Independent retailers reach 62 per cent of wholesale transactions; AI adoption accelerates
  6. 2026Nordstrom updates RFID requirements for shipments; API-first integrations become standard

Source: Wikipedia, Joor, industry sources

How did Joor's platform demonstrate the shift to digital wholesale?

The New York-based B2B platform connecting premium brands and retailers provides a case study in how digital tools reshape wholesale operations. 2025 has been a troubled year for the fashion industry, and as 2026 is approaching, the wholesale channel is showing signs of a remarkable evolution according to data collected by Joor, which shows that fashion wholesale is regaining momentum, order lead times are getting shorter, brands are developing tighter collections featuring more evergreens, and both retailers and brands are increasing their use of AI tools.

The wholesale channel currently accounts for 57 per cent of the revenue generated by the brands in the panel, confirming distribution is going back to basics. The platform's data reveals structural changes in buyer composition. Department stores are still the main showcase, but independent retailers are driving growth, with their share of wholesale transactions on Joor jumping from 49 per cent in 2020 to 62 per cent in 2025. The trend is especially strong in the EMEA and APAC regions, where independent retailers and concept stores together now account for 74 per cent of sales volume in EMEA and 78 per cent in APAC.

The platform uses API architecture to deliver real-time functionality. 700,000 retail buyers use JOOR to order from the world's premier fashion brands. Brands connect their ERP systems via pre-built integrations, enabling live inventory visibility, automated order routing and unified dashboards. The system demonstrates how APIs solve problems EDI cannot: buyer self-service, multi-channel inventory allocation, style-level analytics and mobile ordering via iPad during showroom appointments.

AI use is the last of the five trends shaping the wholesale channel's evolution, with AI technology shifting from being a tool for driving operational efficiency to a powerful strategy for unlocking growth. The platform introduced AI-powered features including virtual model generation and automated product tagging, reflecting broader industry adoption. According to McKinsey's State of Fashion report, more than 35 per cent of fashion and luxury executives are already deploying AI in key operational areas, a clear signal that planning is shifting from hindsight to foresight.

What are the risks and limitations of each approach?

EDI carries operational and financial risk. Compliance failures trigger chargebacks that can reach thousands of dollars per incident. Retailers impose strict deadlines: ASNs must arrive within specified windows, labels must contain exact field placements, carton content must match advance notice. During a major launch or holiday push, a retailer sends purchase orders with strict ship windows, labelling rules and ASN deadlines, and missing those requirements can trigger chargebacks even when the product itself is ready to ship. Human error in manual EDI processes compounds the problem, as does the complexity of managing different requirements across dozens of retailers.

The technology itself is brittle. EDI transmission failures often surface hours or days after the fact, discovered only when a functional acknowledgement does not arrive or a retailer reports a missing document. Debugging requires reviewing transmission logs, validating file formats and coordinating with VAN providers or IT teams at both ends. Version updates and retailer-specific rule changes introduce ongoing maintenance burden.

API integrations face different challenges. Only 17 per cent of respondents have fully integrated their ERP systems across all departments, with nearly 40 per cent reporting limited integration across all business functions. Rate limiting and throttling can disrupt high-volume workflows. Authentication tokens expire, requiring refresh logic. Network latency and downtime affect real-time operations more than batch EDI. Security concerns around API keys, OAuth tokens and data exposure require robust credential management and encryption.

Versioning creates technical debt. When a platform deprecates an API endpoint, integration code must be rewritten and retested. Unlike EDI, where standards remain stable for decades, API contracts can change with each software release. The burden falls on the integrator to monitor deprecation notices, plan migrations and maintain backward compatibility during transition periods.

Cost structures also differ in ways that create risk. EDI pricing often includes per-transaction fees that scale with volume, making growth expensive. API costs may be bundled into platform subscriptions or charged based on API calls, creating unpredictable bills if usage spikes. Middleware and iPaaS platforms add another layer of cost and dependency. According to a report by Deloitte, 56 per cent of fashion executives cited supply chain disruptions as their top challenge. Technology fragmentation across EDI, API and legacy systems exacerbates that disruption.

Will EDI eventually be replaced by APIs?

The question misunderstands the role each technology plays. EDI exists because large retailers standardised their receiving and accounting systems around it decades ago. Replacing EDI would require retailers to rewrite core infrastructure, retrain warehouse staff and coordinate migration across thousands of suppliers. The cost and risk make it unlikely. Many modern businesses are shifting from traditional EDI formats (EDIFACT, ANSI X12) to XML-based EDI for cloud and API-driven integrations. That shift is incremental, not revolutionary.

APIs, meanwhile, solve different problems. They enable real-time interactions, support complex queries and integrate modern cloud applications. B2B commerce, inventory management and omnichannel fulfilment all depend on API architecture. The two technologies will coexist, each serving its purpose. Brands that master both gain competitive advantage. Those that treat them as mutually exclusive face operational gaps and compliance failures.

What should fashion companies do now?

  1. Audit current retailer requirements Document which trading partners require EDI, which standards they use (X12 or EDIFACT), which transaction sets are mandatory (850, 856, 810) and what compliance rules apply (labelling, timing, content). Identify gaps between current capability and retailer mandates.
  2. Select an EDI implementation path Evaluate whether to use native ERP EDI modules, third-party middleware or fully managed EDI services. Compare total cost of ownership including setup fees, monthly subscriptions, per-transaction charges and ongoing support. Ensure the provider supports both ANSI X12 and EDIFACT if international expansion is planned.
  3. Map API integration priorities Identify which workflows require real-time data (B2B portal inventory, sales rep tools, dropship order routing) and which systems need to connect (ERP, warehouse management, 3PL, e-commerce platform). Prioritise integrations that reduce manual data entry and eliminate stock discrepancies.
  4. Establish data governance standards Define master data rules for product identifiers (GTINs, SKUs, UPCs), customer records, addresses and pricing. Ensure consistency across EDI documents and API payloads. Implement validation at data entry points to prevent downstream errors and compliance failures.
  5. Build monitoring and alerting Set up dashboards to track EDI transmission success rates, functional acknowledgement receipt and compliance violations. Configure alerts for API errors, rate limit breaches and authentication failures. Assign clear ownership for investigating and resolving integration issues.
  6. Plan for hybrid complexity Accept that wholesale operations will run on both EDI and API for the foreseeable future. Design processes that account for batch EDI cycles and real-time API updates. Train operations teams to understand when each technology applies and how to troubleshoot both.
  7. Prepare for AI-driven workflows As the industry shifts towards AI-powered demand forecasting, inventory optimisation and automated order routing, ensure that EDI and API integrations can support these use cases. Invest in platforms that expose clean, structured data for machine learning models and decision automation.
CriterionEDI (X12 or EDIFACT)REST API (JSON or XML)
Primary use caseRetailer compliance, purchase orders, ASNs, invoicesB2B portals, real-time inventory, internal system integration
Data formatFixed-length or delimited text, strict syntaxJSON or XML, flexible schema
TimingBatch transmission, scheduled (hourly, daily)Real-time request-response or webhooks
AuthenticationAS2 certificates, VAN credentials, FTPOAuth 2.0, API keys, JWT tokens
VersioningStandards stable for decades, retailer rules evolveEndpoints versioned, deprecation requires code updates
Cost modelBase subscription plus per-document or per-retailer feesPlatform subscription, API call volume or middleware charges
Error handlingFunctional acknowledgements, manual log reviewHTTP status codes, structured error responses, automated retry
Compliance scopeRetailer-specific labelling, timing, content rulesPlatform-specific rate limits, schema validation, security policies

Frequently asked questions

Do all fashion retailers require EDI for wholesale orders?

Major department stores, mass merchants and many specialty chains require EDI. Nordstrom, Macy's, Saks, Bloomingdale's, JCPenney, Kohl's, Target, Walmart and international retailers like Harrods, Selfridges, David Jones and Myer all mandate EDI. Smaller independent retailers and boutiques typically do not, instead accepting orders via B2B portals, email or sales rep systems. The threshold varies, but brands should expect EDI requirements from any retailer processing thousands of SKUs and operating centralised distribution centres.

Can a fashion brand implement API integration without EDI?

A brand selling exclusively to independent retailers via its own B2B portal can operate without EDI. However, the moment a major department store or mass merchant becomes a customer, EDI becomes mandatory. There is no alternative for those accounts. Many emerging brands delay EDI implementation until a large retailer commits, then scramble to achieve compliance within the retailer's onboarding timeline. Planning ahead reduces risk.

How long does EDI implementation typically take for a fashion brand?

EDI onboarding for a single retailer typically requires four to twelve weeks. The timeline depends on ERP readiness, data quality, the complexity of retailer-specific requirements and the responsiveness of both the brand's IT team and the retailer's EDI support. Testing alone can consume several weeks as both sides exchange sample documents and resolve mapping errors. Brands onboarding multiple retailers in parallel should expect longer timelines and higher resource demands.

Stories