naftiko: 1.0.0-alpha2 info: label: Walmart Promotion Management — Promotions description: 'Walmart Promotion Management — Promotions. 3 operations. Lead operation: Walmart Updates Bulk Promotional Prices. Self-contained Naftiko capability covering one Walmart business surface.' tags: - Walmart - Promotions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WALMART_API_KEY: WALMART_API_KEY capability: consumes: - type: http namespace: marketplace-promotions-promotions baseUri: https://marketplace.walmartapis.com description: Walmart Promotion Management — Promotions business capability. Self-contained, no shared references. resources: - name: v3-feeds path: /v3/feeds operations: - name: updatebulkpromotionalprice method: POST description: Walmart Updates Bulk Promotional Prices outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: feedType in: query type: string description: Feed Type 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-price path: /v3/price operations: - name: updatepromotionalprices method: PUT description: Walmart Update a Promotional Price outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: promo in: query type: boolean description: The promotional price. Set to 'true' in order to retrieve promotional prices 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-promo-sku-sku path: /v3/promo/sku/{sku} operations: - name: getpromotionalprices method: GET description: Walmart Promotional Prices outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sku in: path type: string description: An arbitrary alphanumeric unique ID, specified by the seller, which identifies each item. This will be used by the seller in the XSD file to refer to each item. 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-promotions-promotions-rest port: 8080 description: REST adapter for Walmart Promotion Management — Promotions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/feeds name: v3-feeds description: REST surface for v3-feeds. operations: - method: POST name: updatebulkpromotionalprice description: Walmart Updates Bulk Promotional Prices call: marketplace-promotions-promotions.updatebulkpromotionalprice with: feedType: rest.feedType 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/price name: v3-price description: REST surface for v3-price. operations: - method: PUT name: updatepromotionalprices description: Walmart Update a Promotional Price call: marketplace-promotions-promotions.updatepromotionalprices with: promo: rest.promo 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/promo/sku/{sku} name: v3-promo-sku-sku description: REST surface for v3-promo-sku-sku. operations: - method: GET name: getpromotionalprices description: Walmart Promotional Prices call: marketplace-promotions-promotions.getpromotionalprices with: sku: rest.sku 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-promotions-promotions-mcp port: 9090 transport: http description: MCP adapter for Walmart Promotion Management — Promotions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: walmart-updates-bulk-promotional-prices description: Walmart Updates Bulk Promotional Prices hints: readOnly: false destructive: false idempotent: false call: marketplace-promotions-promotions.updatebulkpromotionalprice with: feedType: tools.feedType 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-promotional-price description: Walmart Update a Promotional Price hints: readOnly: false destructive: false idempotent: true call: marketplace-promotions-promotions.updatepromotionalprices with: promo: tools.promo 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-promotional-prices description: Walmart Promotional Prices hints: readOnly: true destructive: false idempotent: true call: marketplace-promotions-promotions.getpromotionalprices with: sku: tools.sku 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: $.