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-status-rulestatus-simulationcount description: REST surface for v3-rules-ruleId-status-ruleStatus-simulationcount. operations: - method: GET name: getsimulationresult description: Walmart Get Simulation Result call: marketplace-rules-rules.getsimulationresult 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: $. - type: mcp namespace: marketplace-rules-rules-mcp port: 9090 transport: http description: MCP adapter for Walmart Rules Management — Rules. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: walmart-get-all-rules description: Walmart Get All Rules hints: readOnly: true destructive: false idempotent: true call: marketplace-rules-rules.getallrules with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-update-rule description: Walmart Update Rule hints: readOnly: false destructive: false idempotent: true call: marketplace-rules-rules.updaterule with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME body: tools.body outputParameters: - type: object mapping: $. - name: walmart-update-shipping-area-rules description: Walmart Update Shipping Area to Rules hints: readOnly: false destructive: false idempotent: true call: marketplace-rules-rules.updateshippingareatorule with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME body: tools.body outputParameters: - type: object mapping: $. - name: walmart-activate-rule description: Walmart Activate Rule hints: readOnly: false destructive: false idempotent: true call: marketplace-rules-rules.activaterule with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME body: tools.body outputParameters: - type: object mapping: $. - name: walmart-get-all-areas description: Walmart Get All Areas hints: readOnly: true destructive: false idempotent: true call: marketplace-rules-rules.getallareas with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-change-assortment-type description: Walmart Change Assortment Type hints: readOnly: false destructive: false idempotent: true call: marketplace-rules-rules.changeassortmenttype with: enable: tools.enable WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME body: tools.body outputParameters: - type: object mapping: $. - name: walmart-create-new-rule description: Walmart Create a New Rule hints: readOnly: false destructive: false idempotent: false call: marketplace-rules-rules.createitemrule with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME body: tools.body outputParameters: - type: object mapping: $. - name: walmart-download-exceptions description: Walmart Download Exceptions hints: readOnly: true destructive: false idempotent: true call: marketplace-rules-rules.downloadexceptions with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-gets-all-exceptions description: Walmart Gets All Exceptions hints: readOnly: true destructive: false idempotent: true call: marketplace-rules-rules.getallexceptions with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-delete-exceptions description: Walmart Delete Exceptions hints: readOnly: false destructive: false idempotent: true call: marketplace-rules-rules.deleteexceptions with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME body: tools.body outputParameters: - type: object mapping: $. - name: walmart-create-override-exceptions description: Walmart Create Override Exceptions hints: readOnly: false destructive: false idempotent: false call: marketplace-rules-rules.createoverrideexceptions with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME body: tools.body outputParameters: - type: object mapping: $. - name: walmart-inactivate-rule description: Walmart Inactivate Rule hints: readOnly: false destructive: false idempotent: true call: marketplace-rules-rules.inactivaterule with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME body: tools.body outputParameters: - type: object mapping: $. - name: walmart-get-all-sub-categories description: Walmart Get All Sub-categories hints: readOnly: true destructive: false idempotent: true call: marketplace-rules-rules.getallsubcategories with: WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-get-rule description: Walmart Get a Rule hints: readOnly: true destructive: false idempotent: true call: marketplace-rules-rules.getarule with: ruleId: tools.ruleId ruleStatus: tools.ruleStatus WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-delete-rule description: Walmart Delete Rule hints: readOnly: false destructive: true idempotent: true call: marketplace-rules-rules.deleterule with: ruleId: tools.ruleId ruleStatus: tools.ruleStatus WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-download-simulation-result description: Walmart Download Simulation Result hints: readOnly: true destructive: false idempotent: true call: marketplace-rules-rules.downloadsimulationresult with: ruleId: tools.ruleId ruleStatus: tools.ruleStatus WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $. - name: walmart-get-simulation-result description: Walmart Get Simulation Result hints: readOnly: true destructive: false idempotent: true call: marketplace-rules-rules.getsimulationresult with: ruleId: tools.ruleId ruleStatus: tools.ruleStatus WM_SEC.ACCESS_TOKEN: tools.WM_SEC.ACCESS_TOKEN WM_CONSUMER.CHANNEL.TYPE: tools.WM_CONSUMER.CHANNEL.TYPE WM_QOS.CORRELATION_ID: tools.WM_QOS.CORRELATION_ID WM_SVC.NAME: tools.WM_SVC.NAME outputParameters: - type: object mapping: $.