Search suggestions for a partial query, optionally scoped to a department id, with suggestion text, image and search URL plus department refinements. An unknown term returns an empty list as a successful answer. Costs 1 credit per successful request. Failed requests are free.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
1 optional filter available.
string
Required
Partial search text, e.g. lap.
coffee shops
string
Optional
Department (category) id to scope the suggestions, e.g. 3944 for Electronics. Default: all.
example
Errors
Handle these documented responses before retrying or showing customer-facing failures.
HTTP 404
Walmart has no page for this request. This response is not billable.
HTTP 422
A public parameter is invalid. This response is not billable.
HTTP 503
Walmart did not return usable data for this request. This response is not billable.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.