Skip to Content
Fulfillment inbound shipmentsWfs Inbound

Returns a seller's shipments matching the provided filters.

GET
/v4/fulfillment/inbound/shipments

: net-new v4 operation (source-to-target: SAME operationId upstream and downstream). Unlike every shipment op above, this is NOT plan- or shipment-scoped -- it searches across ALL of a seller's shipments. Behavior is driven by queryType:

  • SHIPMENT: requires exactly one of shipmentIdList or shipmentStatusList (never both, never neither -- , tightened to match an upstream spec update).
  • DATE_RANGE: requires lastUpdatedAfter (lastUpdatedBefore is optional); shipmentStatusList may be supplied as an additional filter.
  • NEXT_TOKEN: requires paginationToken (the value returned in a previous response's pagination.nextToken) to fetch the next page of the SAME query; resend the original shipmentIdList/shipmentStatusList/lastUpdatedAfter/lastUpdatedBefore filters, since paginationToken only encodes the paging cursor, not the filters themselves.

Authorization

sellerAuth
headerAuthorizationBearer <token>

Query Parameters

queryType*string

Determines which combination of filters below is required (upstream QueryType).

Value in"SHIPMENT""DATE_RANGE""NEXT_TOKEN"
shipmentIdList?array<string>

Shipment identifiers (external reference ids) to filter by. When queryType=SHIPMENT, exactly one of shipmentIdList/shipmentStatusList is required -- never both, never neither . Maximum 999 entries (upstream ShipmentIdList).

Itemsitems <= 999
shipmentStatusList?array<>

Shipment statuses to filter by (upstream ShipmentStatusList; same vocabulary as getShipment's free-string status field, minus UNCONFIRMED, which upstream documents as never applying to a confirmed shipment). When queryType=SHIPMENT, exactly one of shipmentIdList/shipmentStatusList is required -- never both, never neither ; for queryType=DATE_RANGE it remains an optional additional filter.

lastUpdatedAfter?string

Only return shipments last updated at or after this date, ISO 8601 datetime. Required when queryType=DATE_RANGE (upstream LastUpdatedAfter).

lastUpdatedBefore?string

Only return shipments last updated at or before this date, ISO 8601 datetime. Optional when queryType=DATE_RANGE, defaults to now (upstream LastUpdatedBefore).

paginationToken?string

A token to fetch the next page of a previous getShipments query. Pass the value of pagination.nextToken from a previous response. Required when queryType=NEXT_TOKEN. Forwarded upstream as NextToken.

Response Body

Success

application/json
  1. response

The getShipments response.

shipments*array<>

Shipments matching the requested filters.

pagination?

Contains tokens to fetch from a certain page.

curl -X GET 'https://marketplace.walmart.com/seller/v1/v4/fulfillment/inbound/shipments?queryType=SHIPMENT'
Example Response
{
  "shipments": [
    {
      "shipmentId": "string",
      "shipFromAddress": {
        "addressLine1": "string",
        "addressLine2": "string",
        "city": "string",
        "companyName": "string",
        "countryCode": "st",
        "districtOrCounty": "string",
        "email": "string",
        "name": "string",
        "phoneNumber": "string",
        "postalCode": "string",
        "stateOrProvinceCode": "string"
      },
      "destinationFulfillmentCenterId": "string",
      "status": "PENDING_SHIPMENT_DETAILS",
      "labelPrepType": "SELLER_LABEL",
      "areCasesRequired": true,
      "confirmedNeedByDate": "string",
      "boxContentsSource": "2D_BARCODE"
    }
  ],
  "pagination": {
    "nextToken": "string"
  }
}