Skip to main content

Get Carrier Routing

GET 

/api/walmart/:integrationInstance/routing

Returns the whole carrier-routing configuration: carrier families with their shipping methods and what each currently resolves to, the ordered text rules, the fallback, and the list of carriers Walmart accepts.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Carrier routing decides which carrier a shipment's tracking is submitted under. Five layers are evaluated in order and the first match wins:

  1. Shipping method override — an explicit carrier for one shipping method.
  2. Carrier family default — a default for every method of one carrier.
  3. Text rules — ordered rules matched against the shipment's free-text carrier.
  4. Recorded carrier — whatever carrier the shipment already carries.
  5. Fallback — the account-wide catch-all.

Any layer can instead be set to send NO carrier, for methods that are not carrier shipments (local pickup, will-call).

Each method also reports effective, showing which layer currently decides it, so you can see why a shipment would route a given way without sending one.

Request

Responses

OK

Response Headers
    Content-Type