ml-connector
Oracle E-Business SuiteWalmart Marketplace

Oracle E-Business Suite and Walmart Marketplace integration

Oracle E-Business Suite manages your supplier network and general ledger. Walmart Marketplace brings orders from a growing seller channel. Connecting the two keeps your financial records up to date without manual order entry. Orders from Walmart flow automatically into EBS as purchase orders and supplier invoices, allocated to the correct vendor accounts and GL codes. No more re-keying, no re-reconciliation at month end.

How Oracle E-Business Suite works

Oracle E-Business Suite (R12.2) exposes AP invoices, purchase orders, vendors, GL accounts, items, and supplier sites through REST and SOAP web services via the Integrated SOA Gateway (ISG). Each EBS instance runs ISG at a customer-specific hostname and port with no fixed shared address. Authentication uses HTTP Basic credentials or a session token from a login endpoint, and calls must carry application context headers for responsibility, organization, and language settings. Polling is the only option: there are no webhooks, so data is read via interface views filtered by LAST_UPDATE_DATE. Write operations go to open interface tables and trigger concurrent programs that import and validate asynchronously, sometimes taking minutes to hours to complete.

How Walmart Marketplace works

Walmart Marketplace exposes orders, inventory levels, pricing, returns, and performance data through REST endpoints with OAuth 2.0 client credentials at POST https://marketplace.walmartapis.com/v3/token. Tokens expire after 15 minutes and must be refreshed. API calls include a non-standard WM_SEC.ACCESS_TOKEN header (not Authorization), plus WM_SVC.NAME and WM_QOS.CORRELATION_ID headers on every request. The platform also supports webhooks with retry windows of 5, 15, and 45 minutes (max 3 retries), but polling via GET is always available. Bulk operations use multipart file uploads for items and pricing updates.

What moves between them

Orders flow from Walmart Marketplace into Oracle E-Business Suite. ml-connector polls the Walmart Marketplace orders endpoint on a schedule you set and reads orders placed in the last 180 days. Each order becomes a PO_HEADERS and PO_LINES record in EBS, written to the open interface tables along with vendor and GL account mappings. The concurrent program imports the interface records into the base tables and validates GL code combinations. Returns and refund requests poll similarly but write to AP interface tables when vendor credit memos are needed. Inventory and pricing from EBS do not flow back to Walmart in this direction.

How ml-connector handles it

ml-connector manages two separate credential sets. On the Walmart side, it refreshes the OAuth 2.0 access token every 15 minutes (before expiry) and includes the WM_SEC.ACCESS_TOKEN header and required correlation and service-name headers on every request. On the EBS side, it accepts the customer's hostname, port, and context headers (responsibility, organization, language), logs in with Basic auth to get a session token, and re-authenticates when the token expires. Orders from Walmart are mapped to an existing EBS vendor at setup time. Each order line maps to an EBS GL code combination using category fields and optional item lookups. Because EBS write operations are asynchronous (the concurrent program takes time to validate and post), ml-connector tracks the import status via the interface table and can replay failed orders if the import fails. Walmart orders older than 180 days are not available through the API, so polling always respects that window.

A real-world example

A mid-sized national retailer sells through Walmart Marketplace alongside their own direct channels. Before the integration, store operations exported orders from Walmart twice daily and entered them into their EBS procurement system by hand, using a spreadsheet to map each order to the correct vendor and cost center. The finance team had no visibility until month end when they reconciled payables against the manual entry list. With Oracle E-Business Suite and Walmart Marketplace connected, each order lands automatically in the EBS interface tables within minutes of placement on Walmart. Finance runs the import concurrent program on a schedule, GL accounts post automatically, and the Walmart channel becomes as visible and auditable as the direct channel.

What you can do

  • Sync Walmart Marketplace orders into Oracle E-Business Suite as purchase orders and interface records, mapped to existing vendors and GL accounts.
  • Refresh OAuth 2.0 tokens automatically before expiry and present the required WM_SEC.ACCESS_TOKEN header on every Walmart API call.
  • Authenticate to EBS with HTTP Basic credentials or session tokens and include application context headers (responsibility, organization, language) on all ISG requests.
  • Map Walmart order categories and SKUs to EBS GL code combinations and vendor accounts at setup, and apply the mapping to every incoming order.
  • Poll Walmart and EBS on a schedule you control, with full audit trail and replay capability if an order import fails in the EBS concurrent program.

Questions

How does ml-connector handle the 15-minute expiry of Walmart OAuth 2.0 tokens?
ml-connector refreshes the token every 15 minutes (before it expires) by exchanging the Client ID and Client Secret at the POST https://marketplace.walmartapis.com/v3/token endpoint. The new token is then used on the next API call. If a call returns a 401, the connector immediately requests a fresh token and retries the request.
What happens if an order fails to import into EBS after being written to the interface table?
ml-connector tracks the status of each order in the EBS interface tables by monitoring the concurrent program import log. If an import fails (for example, because a GL code combination does not exist), the order record is flagged and can be replayed after the underlying issue is fixed, without re-polling Walmart.
Why does ml-connector need application context headers for EBS, and how are they set?
EBS requires ctx_responsibility, ctx_respapplication, ctx_securitygroup, ctx_orgid, and other application context headers to route each API call to the correct ledger, company, and user role. These headers are configured at setup time based on your EBS environment and included on every ISG request. Incorrect headers will cause the API to reject the call or return incomplete data.

Related integrations

Connect Oracle E-Business Suite and Walmart Marketplace

Free to use. Add your credentials, ping your real systems, and see if we fit.

Get started