Walmart · Capability
Walmart Rules Management — Rules
Walmart Rules Management — Rules. 17 operations. Lead operation: Walmart Get All Rules. Self-contained Naftiko capability covering one Walmart business surface.
What You Can Do
GET
Getallrules
— Walmart Get All Rules
/v1/v3/rules
PUT
Updaterule
— Walmart Update Rule
/v1/v3/rules
PUT
Updateshippingareatorule
— Walmart Update Shipping Area to Rules
/v1/v3/rules/actions
PUT
Activaterule
— Walmart Activate Rule
/v1/v3/rules/activate
GET
Getallareas
— Walmart Get All Areas
/v1/v3/rules/areas
PUT
Changeassortmenttype
— Walmart Change Assortment Type
/v1/v3/rules/assortment
POST
Createitemrule
— Walmart Create a New Rule
/v1/v3/rules/create
GET
Downloadexceptions
— Walmart Download Exceptions
/v1/v3/rules/downloadexceptions
GET
Getallexceptions
— Walmart Gets All Exceptions
/v1/v3/rules/exceptions
PUT
Deleteexceptions
— Walmart Delete Exceptions
/v1/v3/rules/exceptions
POST
Createoverrideexceptions
— Walmart Create Override Exceptions
/v1/v3/rules/exceptions
PUT
Inactivaterule
— Walmart Inactivate Rule
/v1/v3/rules/inactivate
GET
Getallsubcategories
— Walmart Get All Sub-categories
/v1/v3/rules/subcategories
GET
Getarule
— Walmart Get a Rule
/v1/v3/rules/{ruleid}/status/{rulestatus}
DELETE
Deleterule
— Walmart Delete Rule
/v1/v3/rules/{ruleid}/status/{rulestatus}
GET
Downloadsimulationresult
— Walmart Download Simulation Result
/v1/v3/rules/{ruleid}/status/{rulestatus}/simulation
GET
Getsimulationresult
— Walmart Get Simulation Result
/v1/v3/rules/{ruleid}/status/{rulestatus}/simulationcount
MCP Tools
walmart-get-all-rules
Walmart Get All Rules
read-only
idempotent
walmart-update-rule
Walmart Update Rule
idempotent
walmart-update-shipping-area-rules
Walmart Update Shipping Area to Rules
idempotent
walmart-activate-rule
Walmart Activate Rule
idempotent
walmart-get-all-areas
Walmart Get All Areas
read-only
idempotent
walmart-change-assortment-type
Walmart Change Assortment Type
idempotent
walmart-create-new-rule
Walmart Create a New Rule
walmart-download-exceptions
Walmart Download Exceptions
read-only
idempotent
walmart-gets-all-exceptions
Walmart Gets All Exceptions
read-only
idempotent
walmart-delete-exceptions
Walmart Delete Exceptions
idempotent
walmart-create-override-exceptions
Walmart Create Override Exceptions
walmart-inactivate-rule
Walmart Inactivate Rule
idempotent
walmart-get-all-sub-categories
Walmart Get All Sub-categories
read-only
idempotent
walmart-get-rule
Walmart Get a Rule
read-only
idempotent
walmart-delete-rule
Walmart Delete Rule
idempotent
walmart-download-simulation-result
Walmart Download Simulation Result
read-only
idempotent
walmart-get-simulation-result
Walmart Get Simulation Result
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Walmart Rules Management — Rules
description: 'Walmart Rules Management — Rules. 17 operations. Lead operation: Walmart Get All Rules. Self-contained Naftiko
capability covering one Walmart business surface.'
tags:
- Walmart
- Rules
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
WALMART_API_KEY: WALMART_API_KEY
capability:
consumes:
- type: http
namespace: marketplace-rules-rules
baseUri: https://marketplace.walmartapis.com
description: Walmart Rules Management — Rules business capability. Self-contained, no shared references.
resources:
- name: v3-rules
path: /v3/rules/
operations:
- name: getallrules
method: GET
description: Walmart Get All Rules
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: updaterule
method: PUT
description: Walmart Update Rule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: v3-rules-actions
path: /v3/rules/actions
operations:
- name: updateshippingareatorule
method: PUT
description: Walmart Update Shipping Area to Rules
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: v3-rules-activate
path: /v3/rules/activate
operations:
- name: activaterule
method: PUT
description: Walmart Activate Rule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: v3-rules-areas
path: /v3/rules/areas
operations:
- name: getallareas
method: GET
description: Walmart Get All Areas
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: v3-rules-assortment
path: /v3/rules/assortment
operations:
- name: changeassortmenttype
method: PUT
description: Walmart Change Assortment Type
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: enable
in: query
type: boolean
required: true
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: v3-rules-create
path: /v3/rules/create
operations:
- name: createitemrule
method: POST
description: Walmart Create a New Rule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: v3-rules-downloadexceptions
path: /v3/rules/downloadexceptions
operations:
- name: downloadexceptions
method: GET
description: Walmart Download Exceptions
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: v3-rules-exceptions
path: /v3/rules/exceptions
operations:
- name: getallexceptions
method: GET
description: Walmart Gets All Exceptions
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: deleteexceptions
method: PUT
description: Walmart Delete Exceptions
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: createoverrideexceptions
method: POST
description: Walmart Create Override Exceptions
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: v3-rules-inactivate
path: /v3/rules/inactivate
operations:
- name: inactivaterule
method: PUT
description: Walmart Inactivate Rule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: v3-rules-subcategories
path: /v3/rules/subcategories
operations:
- name: getallsubcategories
method: GET
description: Walmart Get All Sub-categories
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: v3-rules-ruleId-status-ruleStatus
path: /v3/rules/{ruleId}/status/{ruleStatus}
operations:
- name: getarule
method: GET
description: Walmart Get a Rule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: ruleId
in: path
type: string
description: Unique identifier of the rule created for custom rule assortment.
required: true
- name: ruleStatus
in: path
type: string
description: Status of the rule post the rule creation. Allowed values are Active, Inactive, Submitted.
required: true
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: v3-rules-ruleId-status-ruleStatus
path: /v3/rules/{ruleId}/status/{ruleStatus}/
operations:
- name: deleterule
method: DELETE
description: Walmart Delete Rule
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: ruleId
in: path
type: string
description: Unique identifier of the rule created for custom rule assortment.
required: true
- name: ruleStatus
in: path
type: string
description: Status of the rule post the rule creation. Allowed values are Active, Inactive, Submitted.
required: true
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: v3-rules-ruleId-status-ruleStatus-simulation
path: /v3/rules/{ruleId}/status/{ruleStatus}/simulation
operations:
- name: downloadsimulationresult
method: GET
description: Walmart Download Simulation Result
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: ruleId
in: path
type: string
description: Unique identifier of the rule created for custom rule assortment.
required: true
- name: ruleStatus
in: path
type: string
description: Status of the rule post the rule creation. Allowed values are Active, Inactive, Submitted.
required: true
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
- name: v3-rules-ruleId-status-ruleStatus-simulationcount
path: /v3/rules/{ruleId}/status/{ruleStatus}/simulationcount
operations:
- name: getsimulationresult
method: GET
description: Walmart Get Simulation Result
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: ruleId
in: path
type: string
description: Unique identifier of the rule created for custom rule assortment.
required: true
- name: ruleStatus
in: path
type: string
description: Status of the rule post the rule creation. Allowed values are Active, Inactive, Submitted.
required: true
- name: WM_SEC.ACCESS_TOKEN
in: header
type: string
description: The access token retrieved in the Token API call
required: true
- name: WM_CONSUMER.CHANNEL.TYPE
in: header
type: string
description: A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during
onboarding
- name: WM_QOS.CORRELATION_ID
in: header
type: string
description: A unique ID which identifies each API call and used to track and debug issues; use a random generated
GUID for this ID
required: true
- name: WM_SVC.NAME
in: header
type: string
description: Walmart Service Name
required: true
exposes:
- type: rest
namespace: marketplace-rules-rules-rest
port: 8080
description: REST adapter for Walmart Rules Management — Rules. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/v3/rules
name: v3-rules
description: REST surface for v3-rules.
operations:
- method: GET
name: getallrules
description: Walmart Get All Rules
call: marketplace-rules-rules.getallrules
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
outputParameters:
- type: object
mapping: $.
- method: PUT
name: updaterule
description: Walmart Update Rule
call: marketplace-rules-rules.updaterule
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/actions
name: v3-rules-actions
description: REST surface for v3-rules-actions.
operations:
- method: PUT
name: updateshippingareatorule
description: Walmart Update Shipping Area to Rules
call: marketplace-rules-rules.updateshippingareatorule
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/activate
name: v3-rules-activate
description: REST surface for v3-rules-activate.
operations:
- method: PUT
name: activaterule
description: Walmart Activate Rule
call: marketplace-rules-rules.activaterule
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/areas
name: v3-rules-areas
description: REST surface for v3-rules-areas.
operations:
- method: GET
name: getallareas
description: Walmart Get All Areas
call: marketplace-rules-rules.getallareas
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/assortment
name: v3-rules-assortment
description: REST surface for v3-rules-assortment.
operations:
- method: PUT
name: changeassortmenttype
description: Walmart Change Assortment Type
call: marketplace-rules-rules.changeassortmenttype
with:
enable: rest.enable
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/create
name: v3-rules-create
description: REST surface for v3-rules-create.
operations:
- method: POST
name: createitemrule
description: Walmart Create a New Rule
call: marketplace-rules-rules.createitemrule
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/downloadexceptions
name: v3-rules-downloadexceptions
description: REST surface for v3-rules-downloadexceptions.
operations:
- method: GET
name: downloadexceptions
description: Walmart Download Exceptions
call: marketplace-rules-rules.downloadexceptions
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/exceptions
name: v3-rules-exceptions
description: REST surface for v3-rules-exceptions.
operations:
- method: GET
name: getallexceptions
description: Walmart Gets All Exceptions
call: marketplace-rules-rules.getallexceptions
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
outputParameters:
- type: object
mapping: $.
- method: PUT
name: deleteexceptions
description: Walmart Delete Exceptions
call: marketplace-rules-rules.deleteexceptions
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: POST
name: createoverrideexceptions
description: Walmart Create Override Exceptions
call: marketplace-rules-rules.createoverrideexceptions
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/inactivate
name: v3-rules-inactivate
description: REST surface for v3-rules-inactivate.
operations:
- method: PUT
name: inactivaterule
description: Walmart Inactivate Rule
call: marketplace-rules-rules.inactivaterule
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/subcategories
name: v3-rules-subcategories
description: REST surface for v3-rules-subcategories.
operations:
- method: GET
name: getallsubcategories
description: Walmart Get All Sub-categories
call: marketplace-rules-rules.getallsubcategories
with:
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/{ruleid}/status/{rulestatus}
name: v3-rules-ruleid-status-rulestatus
description: REST surface for v3-rules-ruleId-status-ruleStatus.
operations:
- method: GET
name: getarule
description: Walmart Get a Rule
call: marketplace-rules-rules.getarule
with:
ruleId: rest.ruleId
ruleStatus: rest.ruleStatus
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/{ruleid}/status/{rulestatus}
name: v3-rules-ruleid-status-rulestatus
description: REST surface for v3-rules-ruleId-status-ruleStatus.
operations:
- method: DELETE
name: deleterule
description: Walmart Delete Rule
call: marketplace-rules-rules.deleterule
with:
ruleId: rest.ruleId
ruleStatus: rest.ruleStatus
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/{ruleid}/status/{rulestatus}/simulation
name: v3-rules-ruleid-status-rulestatus-simulation
description: REST surface for v3-rules-ruleId-status-ruleStatus-simulation.
operations:
- method: GET
name: downloadsimulationresult
description: Walmart Download Simulation Result
call: marketplace-rules-rules.downloadsimulationresult
with:
ruleId: rest.ruleId
ruleStatus: rest.ruleStatus
WM_SEC.ACCESS_TOKEN: rest.WM_SEC.ACCESS_TOKEN
WM_CONSUMER.CHANNEL.TYPE: rest.WM_CONSUMER.CHANNEL.TYPE
WM_QOS.CORRELATION_ID: rest.WM_QOS.CORRELATION_ID
WM_SVC.NAME: rest.WM_SVC.NAME
outputParameters:
- type: object
mapping: $.
- path: /v1/v3/rules/{ruleid}/status/{rulestatus}/simulationcount
name: v3-rules-ruleid
# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/walmart/refs/heads/main/capabilities/marketplace-rules-rules.yaml