Skip to Content

Retrieve orders

List orders by status, page through results, and fetch the details, items, address and buyer information of a single order.

Retrieve orders to bring new purchase orders into your order management system and to keep track of the orders you are fulfilling. You can list orders filtered by status, then fetch the full order, its lines, its shipping address and the buyer's contact details.

Before you begin

  • Get an access token with the orders:read scope. See Authentication.
  • Send requests to https://marketplace.walmart.com/seller/v1, or to https://sandbox.marketplace.walmart.com/seller/v1 for testing.

Supported filters

Get orders declares several query parameters, but not all of them are supported yet. Unsupported filters return 400 Bad Request with the error code FILTER_NOT_SUPPORTED.

ParameterStatusNotes
orderStatusesSupported, one valueCreated, Acknowledged, Shipped, Delivered, Cancelled or Refunded. More than one value returns FILTER_NOT_SUPPORTED.
pageSizeSupported1 to 200. Default 100.
nextTokenSupportedThe token from payload.nextToken in the previous response.
createdAfterNot supportedReturns FILTER_NOT_SUPPORTED.
createdBeforeNot supportedReturns FILTER_NOT_SUPPORTED.
lastUpdatedAfterNot supportedReturns FILTER_NOT_SUPPORTED.
fulfillmentTypesNot supportedReturns FILTER_NOT_SUPPORTED.

Filter by status, not by date

Date filters aren't supported yet. To find new orders, filter by orderStatuses=Created. To narrow results by date or fulfillment type, filter the returned orders on purchaseDate, lastUpdatedDate or fulfillmentType in your own system.

Step 1: List orders

Request the first page of new orders.

GET /v4/orders?orderStatuses=Created&pageSize=100
Authorization: Bearer <access_token>

The response holds the orders in payload.orders. When more orders match, it also holds payload.nextToken.

{
  "payload": {
    "nextToken": "eyJwYWdlIjoyfQ",
    "orders": [
      {
        "purchaseOrderId": "1234567891234",
        "customerOrderId": "2001234567890",
        "sellerId": "101234",
        "orderStatus": "Created",
        "fulfillmentType": "SellerFulfilled",
        "purchaseDate": "2026-11-30T15:04:05Z",
        "lastUpdatedDate": "2026-11-30T15:04:05Z",
        "orderTotal": { "amount": "39.98", "currencyCode": "USD" },
        "orderLines": [
          {
            "lineNumber": "1",
            "sellerSku": "SKU-RED-MUG",
            "walmartItemId": "123456789",
            "productName": "Red ceramic mug",
            "quantity": { "amount": 2, "unit": "EACH" },
            "itemPrice": { "amount": "19.99", "currencyCode": "USD" },
            "lineStatus": "Created",
            "fulfillmentOption": "S2H"
          }
        ]
      }
    ]
  }
}

Step 2: Page through results

Pass nextToken from the previous response to get the next page. Repeat until the response has no nextToken.

GET /v4/orders?orderStatuses=Created&pageSize=100&nextToken=eyJwYWdlIjoyfQ
Authorization: Bearer <access_token>

Step 3: Get a single order

Use Get an order to fetch one order by its purchase order ID. The response wraps the same Order object in payload.

GET /v4/orders/1234567891234
Authorization: Bearer <access_token>

Step 4: Get order details

Use these operations when you need only part of an order.

Order items. Get order items returns the order lines with item identifiers, quantities, prices, line statuses and fulfillment information.

GET /v4/orders/1234567891234/items
Authorization: Bearer <access_token>
{
  "payload": {
    "purchaseOrderId": "1234567891234",
    "orderItems": [
      {
        "lineNumber": "1",
        "sellerSku": "SKU-RED-MUG",
        "quantity": { "amount": 2, "unit": "EACH" },
        "itemPrice": { "amount": "19.99", "currencyCode": "USD" },
        "lineStatus": "Created"
      }
    ]
  }
}

Shipping address. Get an order shipping address returns the recipient's name and postal address.

GET /v4/orders/1234567891234/address
Authorization: Bearer <access_token>
{
  "payload": {
    "purchaseOrderId": "1234567891234",
    "shippingAddress": {
      "name": "Jane Doe",
      "addressLine1": "702 SW 8th St",
      "city": "Bentonville",
      "state": "AR",
      "postalCode": "72716",
      "country": "US"
    }
  }
}

Buyer information. Get order buyer information returns the buyer's name and email address, and a phone number with only the last four digits visible.

GET /v4/orders/1234567891234/buyer-info
Authorization: Bearer <access_token>
{
  "payload": {
    "purchaseOrderId": "1234567891234",
    "buyerName": "Jane Doe",
    "buyerEmail": "jane.doe@example.com",
    "buyerPhoneAnonymized": "***-***-1234"
  }
}

Errors and edge cases

  • 400 with FILTER_NOT_SUPPORTED: you sent an unsupported filter or more than one orderStatuses value. The error details names the filter, for example filter=createdAfter.
  • 400 with VALIDATION_ERROR: a parameter is out of range, for example pageSize=500.
  • 404: no order exists for the purchase order ID.
  • 429: you exceeded the rate limit. Back off and retry.
  • 503: the items, address and buyer information operations can be temporarily unavailable. Retry after the number of seconds in the Retry-After header.
  • Don't log response bodies that contain shipping addresses.

On this page