Walmart API guide

walmart.com

Search Walmart groceries, check price and pickup availability, review past purchases, and build an add-to-cart link.

Actions and inputs

search

Find groceries and view prices, aisles, and fulfillment availability at your selected store.

Inputs keywords, optional --filter and --sort

orders list

Browse your online and in-store purchase history.

Inputs optional order type, status, search term, cursor

slots list

View time slots for your cart's current fulfillment mode without reserving one.

Inputs optional --available

cart link

Build a link that adds items when opened in your browser.

Inputs item IDs with optional quantities

Cart items

Create

Add a grocery item to your cart without checking out.

Inputs Product and variant, quantity, and selected store

Read

Review your cart's quantities, prices, and fulfillment availability.

Inputs Your cart and selected store

Update

Change an item's quantity in your cart without placing an order.

Inputs Cart item and new quantity

Delete

Remove an item from your cart without changing any placed order.

Inputs Cart item