Skip to Content

Notifications overview

Receive alerts from Walmart Marketplace at destinations you define, instead of polling the APIs for changes.

Notifications let Walmart tell your application when something happens, so you don't have to keep polling the APIs. Polling uses up your rate limits and delays your reaction to changes. With notifications, you register where alerts should go and which delivery types you want, and Walmart sends them for you.

The Notifications API is built on two resources: destinations, which describe where notifications are delivered, and subscriptions, which turn on a notification type for your account.

Key capabilities

  • Manage destinations. Create, list, view and delete the destinations that receive your notifications.
  • Subscribe by notification type. Create a subscription for a notification type, then view or delete it.
  • Test before you go live. Send a test notification to confirm your setup works end to end.

Benefits

  • React to changes faster than a polling schedule allows.
  • Make fewer API calls and stay well within your rate limits.
  • Keep notification setup in code, so you can repeat it for every seller account you manage.

How it works

  1. Get an access token. See Authentication.
  2. Create a destination with POST /v4/notifications/destinations. Walmart returns the destination with its channelId.
  3. Create a subscription for a notification type with POST /v4/notifications/subscriptions/{notification-type}.
  4. Send a test notification with POST /v4/notifications/{notification-type}/test-notification and confirm it arrives.
  5. Review your setup at any time with the get operations, and delete subscriptions or destinations you no longer need.

Key concepts

Destinations

A destination (returned as a channel object) describes where notifications go. It has:

FieldDescription
channelIdThe identifier Walmart generates when you create the destination. Use it as destination-id
channelOwnerThe owner of the destination. Required
channelNameA name for the destination. Required
typeThe destination type. Required
webhookConfigWebhook configuration, as an object
statusThe destination's current status
createdTimestamp, lastModifiedTimestampWhen the destination was created and last changed, as integer timestamps

Notification types

Subscriptions, test notifications and subscription lookups are organized by notification type. The notification-type path parameter must be one of:

Notification typeDelivery
EMAILEmail
WEBHOOKSWebhook (HTTP) delivery to a destination
SMSText message
PULLNotifications your application retrieves
MOBILE_PUSHMobile push notification

Subscriptions

A subscription turns on a notification type for your account. Each subscription has a subscription-id that you use to view or delete it. When you get the subscription for a type, you can pass payloadVersion to choose the version of the payload object used in the notification.

API operations

OperationMethod & pathUse it to
Create destinationPOST /v4/notifications/destinationsRegister where notifications are delivered
Get destinationsGET /v4/notifications/destinationsList all your destinations
Get destinationGET /v4/notifications/destinations/{destination-id}View one destination
Delete destinationDELETE /v4/notifications/destinations/{destination-id}Remove a destination
Create subscriptionPOST /v4/notifications/subscriptions/{notification-type}Subscribe to a notification type
Get subscriptionGET /v4/notifications/subscriptions/{notification-type}View your subscription for a notification type
Get subscription by IDGET /v4/notifications/{notification-type}/subscriptions/{subscription-id}View a specific subscription
Delete subscriptionDELETE /v4/notifications/{notification-type}/subscriptions/{subscription-id}Remove a subscription
Send test notificationPOST /v4/notifications/{notification-type}/test-notificationConfirm delivery works

Best practices

  • Test every new setup. Send a test notification after you create or change a subscription.
  • Respond quickly at webhook destinations. Acknowledge each delivery fast and process it in the background.
  • Keep polling as a fallback. Notifications reduce polling but don't replace periodic checks against the source APIs for critical data.
  • Clean up. Delete subscriptions and destinations you no longer use so alerts don't go to retired systems.
  • Back off on 429. If you get 429 Too Many Requests, wait and retry with increasing delays.

Next steps

On this page