walmart-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and authenticate Walmart Marketplace webhooks (notifications). Use when setting up Walmart webhook handlers, protecting the endpoint with the…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Walmart Webhooks
When to Use This Skill
- How do I receive Walmart Marketplace webhooks (notifications)?
- How do I authenticate Walmart webhook requests?
- How do I handle
ORDER_UPDATES,BUY_BOX_CHANGEDorOFFER_UNPUBLISHED? - How do I migrate off the legacy
PO_CREATEDevent? - Why does my Walmart endpoint get retries or a failure email?
Verification (core)
Walmart doesn't sign notification payloads. Each subscription can carry optional authDetails, and Walmart sends the credential you chose in the header you name as authHeaderName (Walmart's examples use Authorization):
authMethod |
What Walmart sends in the authHeaderName header |
|---|---|
BASIC_AUTH |
The Base64 of userName:password (Walmart's supplier docs show Basic <base64(username:password)>) |
OAUTH |
Bearer <access_token>, a token Walmart first gets from your authUrl with the client-credentials grant |
HMAC |
An HMAC-SHA256 "of the complete response" keyed with clientSecret. Walmart doesn't publish the encoding, so test it before relying on it |
A subscription without authDetails is delivered with no credential. Walmart can also send static custom headers you set on the subscription.
Check BASIC_AUTH (Node):
const crypto = require('crypto');
function verifyWalmartBasicAuth(headerValue, user, pass) {
if (!user || !pass) return null; // not configured: fail closed
if (typeof headerValue !== 'string' || headerValue === '') return false;
const expected = Buffer.from(`${user}:${pass}`).toString('base64');
const value = headerValue.replace(/^basic\s+/i, '').trim(); // with or without "Basic "
const a = Buffer.from(value);
const b = Buffer.from(expected);
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
Python:
import base64, hmac, re
def verify_walmart_basic_auth(header_value, user, password):
if not user or not password:
return None # not configured: fail closed
if not header_value:
return False
expected = base64.b64encode(f"{user}:{password}".encode()).decode()
value = re.sub(r"^basic\s+", "", header_value, flags=re.IGNORECASE).strip()
return hmac.compare_digest(value, expected)
Don't look for
WM_SEC.SIGNATURE/WM_SEC.TIMESTAMPheaders: no current Walmart page documents them on deliveries. And don't confuse any of this withWM_SEC.ACCESS_TOKENor the legacyWM_SEC.AUTH_SIGNATURERSA scheme: those authenticate your API calls to Walmart.
For complete handlers with route wiring, event routing, and tests, see:
Delivery format
Every notification is a JSON POST with two top-level objects:
{
"source": { "eventType": "...", "eventTime": "ISO 8601 UTC", "eventId": "..." },
"payload": { }
}
Route on source.eventType. Three types carry a sub-type:
ORDER_UPDATES:payload.meta.subEventTypein Walmart's examples (its prose sayspayload.subEventType, so read both):PO_CREATED,PO_LINE_AUTOCANCELLED,INTENT_TO_CANCEL,FRAUD_CANCELSELLER_PERFORMANCE_NOTIFICATIONS:payload.notificationType,ALARMSorREPORTMCS_RETURN_ORDER_STATUS_UPDATE:payload.header.eventName
Walmart says to dedupe on source.eventId, but its own examples reuse one eventId across different events, so key on eventId + eventType + sub-type. Ignore unknown fields and event types.
Common Event Types
| eventType | resourceName | Triggered when |
|---|---|---|
ORDER_UPDATES |
ORDER |
An order is created, auto-cancelled, cancel-requested or fraud-cancelled (sub-event) |
PO_CREATED, PO_LINE_AUTOCANCELLED, INTENT_TO_CANCEL |
ORDER |
Legacy standalone order events, removed December 15, 2026: use ORDER_UPDATES |
DRIVER_STATUS |
ORDER |
A last-mile delivery driver reaches a new status |
INVENTORY_OOS |
INVENTORY |
An item goes out of stock |
OFFER_PUBLISHED / OFFER_UNPUBLISHED |
ITEM |
An offer is published or unpublished |
BUY_BOX_CHANGED |
PRICE |
The Buy Box winner or price changes |
RETURN_CREATED / RETURN_DELIVERED / RETURN_INVOICED |
ReturnsAndRefunds |
A return is created, delivered or invoiced |
REPORT_STATUS |
REPORTS |
A requested report is ready or fails |
SELLER_PERFORMANCE_NOTIFICATIONS |
FEEDS |
Shipping alarms or the weekly KPI report |
Available types vary by account: call Get event types and subscribe with exactly what it returns. See references/overview.md for the full list, including Multichannel Solutions events.
Delivery behaviour
- Respond
2xxwithin 3 seconds; Walmart times out slower responses. - Retries: 5 minutes, then 15 minutes after the first retry, then 45 minutes after the second.
- Repeated failures can mark
Установить walmart-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл walmart-webhooks?
Receive and authenticate Walmart Marketplace webhooks (notifications). Use when setting up Walmart webhook handlers, protecting the endpoint with the subscription's authDetails credentials, routing on source.eventType, or handling events like ORDER_UPDATES, BUY_BOX_CHANGED, OFFER_UNPUBLISHED and SELLER_PERFORMANCE_NOTIFICATIONS.
Как установить скилл walmart-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл walmart-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic