Walmart Rules API

The Rules API from Walmart — 14 operation(s) for rules.

GitHub OpenAPI

Operations 17

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /v3/rules/inactivate Inactivate a rule · Walmart Inactivate Rule #
Ask an LLM
“How do I deactivate a rule that is no longer needed?”
“Can I inactivate several rules at once?”
Tell an agent destructive · confirm first
Inactivate the rules in {rules}.
Deactivate rule {ruleHeader}.
GET /v3/rules/exceptions List rule exceptions · Walmart Gets All Exceptions #
Ask an LLM
“Which items have been defined as exceptions to my rules?”
“Can I see all override exceptions in one list?”
Tell an agent
List all rule exceptions using access token {access_token}.
Show every item flagged as an exception.
PUT /v3/rules/exceptions Remove override exceptions · Walmart Delete Exceptions #
Ask an LLM
“How do I bring an item back to two-day delivery?”
“Can I undo an override exception?”
Tell an agent destructive · confirm first
Remove the override exceptions in {rules}.
Revert item {ruleHeader} to two-day delivery.
POST /v3/rules/exceptions Add an override exception · Walmart Create Override Exceptions #
Ask an LLM
“How do I exclude a SKU from two-day delivery?”
“Can I create an override exception for a product?”
Tell an agent
Create override exceptions for {rules}.
Add {ruleHeader} as an override exception.
PUT /v3/rules/assortment Enable or disable two-day assortment · Walmart Change Assortment Type #
Ask an LLM
“How do I turn on two-day assortment for my items?”
“Can I disable the two-day assortment type?”
Tell an agent
Set two-day assortment to {enable}.
Enable two-day assortment: {enable}.
PUT /v3/rules/activate Activate an inactive rule · Walmart Activate Rule #
Ask an LLM
“How do I activate a rule that is in submitted or inactive state?”
“What state must a rule be in before I can activate it?”
Tell an agent
Activate the rules in {rules}.
Turn on rule {ruleHeader}.
PUT /v3/rules/actions Define shipping coverage areas for rules · Walmart Update Shipping Area to Rules #
Ask an LLM
“How do I set the coverage area for items held outside fulfillment centers?”
“Can I define shipping areas for a rule?”
Tell an agent
Update shipping areas for rules {rules}.
Define coverage areas on rule {ruleHeader}.
GET /v3/rules/ List all item rules · Walmart Get All Rules #
Ask an LLM
“What item rules have been defined for my store?”
“Can I export the full list of my rules?”
Tell an agent
List all item rules with access token {access_token}.
Get the complete rule definitions.
PUT /v3/rules/ Update an item rule · Walmart Update Rule #
Ask an LLM
“Can I change the priority or conditions of an existing item rule?”
“Is it possible to edit a rule's description after creating it?”
Tell an agent
Update the rules with access token {access_token} and service {svc_name}.
Change the priority of a rule in request {rule_header}.
POST /v3/rules/create Create an item rule · Walmart Create a New Rule #
Ask an LLM
“How do I create a rule based on sub-category, price or weight?”
“Can I combine conditions when creating an item rule?”
Tell an agent
Create item rules {rules}.
Create a new rule with {ruleHeader}.
GET /v3/rules/{ruleId}/status/{ruleStatus} Get a rule's details · Walmart Get a Rule #
Ask an LLM
“What conditions and status does a specific rule have?”
“Can I check one rule's details by its ID and status?”
Tell an agent
Get rule {ruleId} with status {ruleStatus}.
Show the details of rule {ruleId} in state {ruleStatus}.
GET /v3/rules/{ruleId}/status/{ruleStatus}/simulationcount Count items a rule would cover · Walmart Get Simulation Result #
Ask an LLM
“How many items would a rule cover under a simulation?”
“Can I get a count of items shortlisted for two-day shipping by a rule?”
Tell an agent
Count items for rule {ruleId} in status {ruleStatus}.
Simulate rule {ruleId} ({ruleStatus}) and return the item count.
GET /v3/rules/{ruleId}/status/{ruleStatus}/simulation Download a rule's simulation results · Walmart Download Simulation Result #
Ask an LLM
“Can I download the full list of items a rule would cover?”
“Where do I get the simulation results for a rule as a file?”
Tell an agent
Download the simulation results for rule {ruleId} in status {ruleStatus}.
Export the item list from rule {ruleId} ({ruleStatus}) simulation.
GET /v3/rules/subcategories List item rule sub-categories · Walmart Get All Sub-categories #
Ask an LLM
“What sub-categories can I use when defining rules for items?”
“Which sub-category values are valid for item rules?”
Tell an agent
List all rule sub-categories with access token {access_token}.
Show the valid sub-category list for item rules.
GET /v3/rules/downloadexceptions Download rule exceptions as a file · Walmart Download Exceptions #
Ask an LLM
“Can I download the list of items defined as rule exceptions?”
“How do I export exception items for reporting?”
Tell an agent
Download the exceptions list with access token {access_token}.
Export all rule exceptions to a file.
GET /v3/rules/areas List states eligible for two-day shipping · Walmart Get All Areas #
Ask an LLM
“Which states qualify for two-day shipping on my items?”
“Can I get the full list of two-day shipping areas?”
Tell an agent
List two-day shipping areas with access token {access_token}.
Show every state eligible for two-day delivery.
DELETE /v3/rules/{ruleId}/status/{ruleStatus}/ Delete a rule · Walmart Delete Rule #
Ask an LLM
“How do I delete a rule I no longer use?”
“Can I remove a rule by its ID and status?”
Tell an agent destructive · confirm first
Delete rule {ruleId} with status {ruleStatus}.
Remove rule {ruleId} in state {ruleStatus}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/walmart:walmart-rules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

walmart-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Walmart Management Rules API
  description: Rules Management
servers:
- url: https://marketplace.walmartapis.com
  description: Production URL
- url: https://sandbox.walmartapis.com
  description: Sandbox URL
security:
- basicScheme: []
tags:


# --- truncated at 32 KB (84 KB total) ---
# Full source: https://artifacts.apis.io/walmart/openapi/walmart-rules-api-openapi.yml