v2

latestOpenAPI 3.0.32026-08-05174296703.4 KB
ops

addWebhook seller

Register a new url to this seller

post/ops/sellers/{id}/webhook

Path parameters

idstring regexp required

Seller Id

Example:739b63c2-9e58-4964-b38d-4ebb424de242

Seller Id

Request body

channelsstring[]

The types of messages to retrieve. If you don't set anything, the message will be send to all urls

urlstring required

The url to register where we will notify the changes

Example request

{
  "channels": [
    "order"
  ],
  "url": "abc123"
}

Response

Created response.

urlsstring[]

The list of webhook urls registered for this seller

Example response

{
  "urls": [
    "https://example.com/foo"
  ]
}