Skip to main content

Preview WFS Inbound Shipment

POST 

/api/walmart/:integrationInstance/wfs/inbound-shipments/preview

Preview an inbound order before creating it — returns Walmart's destination fulfillment-center placement plus estimated transfer charges, without persisting anything. Takes the SAME request body as Create WFS Inbound Shipment.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Request body:

  • source_warehouse_id (integer) — the warehouse the stock ships from. Required unless source_supplier_id is given.
  • source_supplier_id (integer) — the supplier the stock ships from. Required unless source_warehouse_id is given. Send exactly one of the two.
  • items (required, array, min 1) — each: { sku (required string), quantity (required integer >= 1) }.
  • expected_delivery_date (optional, date Y-m-d, today or later).

Validation errors return 422; a Walmart-side rejection also returns 422 with the failure reason. Requires a Bearer token.

Accepts the same body as Create WFS Inbound Shipment, including the per-item packing_type / units_per_case / prep_services fields (see that endpoint for field semantics).

Request

Responses

OK

Response Headers
    Content-Type