- Overview
- When to use this
- Prerequisites
- Step 1 — Pick the identity
- Step 2 — List the available notification types
- Step 3 — Create a notification subscription
- Step 4 — Update one
- Step 5 — Delete one
- Not the same thing as an Openbridge subscription
- See also
Amazon SP-API can push notifications — order changes, report readiness, listing updates — rather than waiting to be polled. These commands manage those notification subscriptions on the Amazon side, per remote identity.
- Enabling SP-API push notifications for a seller or vendor identity
- Auditing or removing notification subscriptions you created
- Authenticated session; see Authenticating
- A valid SP-API remote identity (type 17 for seller, 18 for vendor)
obcmd identity-type list --name_contains "sp api"
obcmd remote-identity-shared list --remote_identity_type 17 --invalid_identity 0 \
--fields id,name,remote_unique_idremote_unique_id on a type 17 identity is the selling partner ID, which is
how you confirm you have the right seller account.
obcmd sp-notification-type list --account_type seller
obcmd sp-notification-type list --account_type vendor--account_type is required and takes seller or vendor.
obcmd sp-notification create --remote_identity_id 9001 \
--notification_type ANY_OFFER_CHANGED --dry-run
obcmd sp-notification create --remote_identity_id 9001 \
--notification_type ANY_OFFER_CHANGEDUse a notification_type value from step 2 rather than one remembered from
Amazon's documentation — the accepted set is whatever that endpoint returns for
the account type.
obcmd sp-notification update --remote_identity_id 9001 --subscription_id 44120Here --subscription_id is the notification subscription ID on the Amazon
side, not an Openbridge subscription ID.
obcmd sp-notification delete --remote_identity_id 9001 --subscription_id 44120 --dry-run
obcmd sp-notification delete --remote_identity_id 9001 --subscription_id 44120 --yesDestructive, so --yes is required once you drop --dry-run.
| Term | What it is | Commands |
|---|---|---|
| Openbridge subscription | A pipeline: product + identity + destination | subscription * |
| SP-API notification subscription | An Amazon-side push registration for one identity | sp-notification * |
Deleting a notification subscription does not affect any Openbridge pipeline, and retiring a pipeline does not remove notification registrations.
- Resolving platform IDs — the rest of the SP-API lookups
- Inspecting identities