Zum Hauptinhalt springen
PATCH
Update Webhook

Autorisierungen

Authorization
string
header
erforderlich

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Pfadparameter

webhook-id
string
erforderlich

Id of the webhook.

Body

application/json
url
string<uri> | null

The URL to send the webhook event to.

Required string length: 1 - 2083
channel
enum<string> | null

The channel that triggers this webhook.

Verfügbare Optionen:
campaign:create,
campaign:update,
campaign:delete,
catalog:feed:download:finish,
store:availability:download:finish,
catalog:feed:upload:late,
full:availability:upload:late,
delta:availability:upload:late
secret
string | null

Webhook secret to be used in signature generation.

Maximum string length: 32
Beispiel:

"t948Lf__j1WNwcAxZpsz8Q"

Antwort

Successful Response

id
string
erforderlich

Id of the webhook.

marketplaceId
string<uuid>
erforderlich

The marketplace ID.

url
string<uri>
erforderlich

The URL to send the webhook event to.

Required string length: 1 - 2083
channel
enum<string>
erforderlich

The channel that triggers this webhook.

Verfügbare Optionen:
campaign:create,
campaign:update,
campaign:delete,
catalog:feed:download:finish,
store:availability:download:finish,
catalog:feed:upload:late,
full:availability:upload:late,
delta:availability:upload:late
secret
string
erforderlich

Webhook secret to be used in signature generation.