Skip to Content

WFS API overview

Send inventory to Walmart fulfillment centers and have Walmart fulfill orders from your other sales channels.

Walmart Fulfillment Services (WFS) stores your inventory in Walmart fulfillment centers and picks, packs and ships it for you. The WFS APIs cover both directions of that flow:

  • Inbound. Prepare your items and send inventory to Walmart fulfillment centers through inbound plans and shipments.
  • Outbound. Create fulfillment orders so Walmart ships your WFS inventory to customers who bought from your other sales channels.

All paths in this section are relative to the server https://marketplace.walmart.com/seller/v1. Use https://sandbox.marketplace.walmart.com/seller/v1 to test.

Business use cases

  • Check eligibility before you send an item to WFS.
  • Set prep details and print item labels so your units are received quickly and correctly.
  • Plan inbound shipments with packing, placement and transportation options from Walmart, and compare their fees and discounts.
  • Book delivery at the fulfillment center with a delivery window or a self-ship appointment.
  • Print box and pallet labels and the bill of lading, and send tracking details.
  • Track shipments through receiving, and correct box contents after a shipment is confirmed.
  • Fulfill orders from other channels with WFS inventory, with delivery estimates and fees before you commit.

How it works

Inbound

  1. You check each item with Get an item eligibility preview and set its prep details. See Prepare items for WFS.
  2. You create an inbound plan with the items, quantities and your ship-from address.
  3. Walmart generates packing options. You confirm one and give box contents, weights and dimensions.
  4. Walmart generates placement options, which split the plan into shipments to specific fulfillment centers. You confirm one.
  5. Walmart generates transportation options for each shipment. You confirm one per shipment.
  6. You book delivery with a delivery window or a self-ship appointment.
  7. You download labels and the bill of lading, ship, and send tracking details.
  8. Walmart receives the shipment, and the units become available in WFS inventory.

Steps 2 to 7 are covered in detail in Create an inbound plan.

Outbound

  1. You preview a fulfillment order to see whether it's fulfillable, the estimated ship and arrival dates, and estimated fees.
  2. You create the fulfillment order with your own order ID and the customer's address.
  3. Walmart ships the order from WFS inventory. You track it with the order and shipment operations.

See Fulfill orders from other channels.

Key concepts

Inbound plan, shipments and packages

An inbound plan (inboundPlanId) lists the items and quantities you want to send. After you confirm a placement option, the plan is split into one or more shipments (shipmentId), each going to one fulfillment center. A shipment contains boxes or pallets, identified by packageId. Items are identified by your merchant SKU, msku.

An inbound plan has a status of ACTIVE, VOIDED, SHIPPED or ERRORED.

Generate, list, confirm

Most inbound decisions follow the same three-step pattern. You ask Walmart to generate options, list the options with their fees, discounts and expiration, and confirm the one you want. Options have a status of OFFERED, ACCEPTED or EXPIRED, so confirm before an option expires.

Asynchronous operations

Operations that create or change inbound data return 202 Accepted with an operationId. Poll Get inbound operation status until operationStatus is SUCCESS or FAILED. While the work is running, the status is IN_PROGRESS. Any problems are listed in operationProblems with a severity of WARNING or ERROR.

Fulfillment order

An outbound fulfillment order is identified by your sellerFulfillmentOrderId. Its fulfillmentOrderStatus moves through values such as RECEIVED, PLANNING, PROCESSING and COMPLETE.

Authentication and scopes

WFS operations use an OAuth 2.0 access token from the client credentials flow. Inbound operations define read and write scopes. Outbound operations define fulfillment:read and fulfillment:write. See Authentication.

API operations

This table lists the operations you use most. Each task guide lists the full set for its step.

OperationMethod & pathUse it to
Get an item eligibility previewGET /v4/fulfillment/inbound/eligibility/item-previewCheck whether an item is eligible for inbound.
Set prep detailsPOST /v4/fulfillment/inbound/items/prep-detailsSet the prep category and prep types for your SKUs.
Create an inbound planPOST /v4/fulfillment/inbound/plansStart an inbound plan.
List inbound plansGET /v4/fulfillment/inbound/plansFind plans by status.
Get an inbound planGET /v4/fulfillment/inbound/plans/{plan-id}See a plan's options and shipments.
Get inbound operation statusGET /v4/fulfillment/inbound/operations/{operation-id}Check the result of an asynchronous operation.
Generate packing optionsPOST /v4/fulfillment/inbound/plans/{plan-id}/packing-optionsAsk for ways to pack the plan.
Generate placement optionsPOST /v4/fulfillment/inbound/plans/{plan-id}/placement-optionsAsk for shipment splits and destinations.
Generate transportation optionsPOST /v4/fulfillment/inbound/plans/{plan-id}/transportation-optionsAsk for carrier options for each shipment.
Get a shipmentGET /v4/fulfillment/inbound/plans/{plan-id}/shipments/{shipment-id}See a shipment's destination, dates and status.
Get labelsGET /v4/fulfillment/inbound/shipments/{shipment-id}/labelsDownload box or pallet labels.
Get shipmentsGET /v4/fulfillment/inbound/shipmentsSearch all your shipments by ID, status or date.
Get a fulfillment previewPOST /v4/fulfillment/outbound/orders/previewEstimate dates and fees for a multichannel order.
Create a fulfillment orderPOST /v4/fulfillment/outbound/ordersAsk Walmart to ship WFS inventory to a customer.
Get a fulfillment orderGET /v4/fulfillment/outbound/orders/{seller-fulfillment-order-id}Check an order's status, items and shipments.

Best practices

  • Prepare items first. Check eligibility and set prep details before you create a plan, so you know how each unit must be prepped and labeled.
  • Wait for each operation. Don't start the next step until the previous operation reports SUCCESS.
  • Watch expirations. Packing, placement and transportation options, quotes and delivery windows all carry an expiration. Confirm in time, or generate again.
  • Compare fees and discounts. Options list fees and discounts. Review them before you confirm.
  • Preview before you create. For outbound orders, call the preview first to confirm the order is fulfillable.
  • Back off on 429. If you receive 429 Too Many Requests, wait before you retry.

Next steps

On this page