Webhooks
Was this helpful?
Was this helpful?
Webhooks
Get details for a http transport configuration.
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Http Transport.
^[A-Za-z0-9-_]+
Transport Response Schema
Transport response
Deletes a http transport configuration completely from a tenant.
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Http Transport.
^[A-Za-z0-9-_]+
No Content
No Content
List all webhooks.
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
Http Transport uid
^[A-Za-z0-9-_]+
Example response
List all webhooks for a http transport.
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Http Transport.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
Example response
Get details for a webhook.
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a webhook
^[A-Za-z0-9-_]+
Reference to a Http Transport.
^[A-Za-z0-9-_]+
Webhook Response
Example response
Deletes a webhook from a tenant.
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a webhook
^[A-Za-z0-9-_]+
Reference to a Http Transport.
^[A-Za-z0-9-_]+
No Content
No Content
List http transport configurations
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
Transport List response
Add http transport configuration to tenant
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Transport Request Schema
Transport Response Schema
Transport response
Update http transport configuration for a tenant
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Http Transport.
^[A-Za-z0-9-_]+
Transport Request Schema
Transport Header Schema
Transport Response Schema
Transport response
Add webhook on a httpTransport
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a Http Transport.
^[A-Za-z0-9-_]+
Webhook Create Request Schema
Webhook Update Request Schema
Webhook Response
Example response
Update webhook for a tenant
Required access: Tenant.Admin
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a webhook
^[A-Za-z0-9-_]+
Reference to a Http Transport.
^[A-Za-z0-9-_]+
Webhook Update Request Schema
ENUM | Description |
---|---|
PRODUCT_CREATE | Create new product |
PRODUCT_UPDATE | Update existing product |
PRODUCT_DELETE | Product deleted |
CUSTOMER_CREATE | Create new customer |
CUSTOMER_UPDATE | Update existing customer |
CUSTOMER_DELETE | Customer deleted |
ORDER_SETTLED | New order. Order status is SETTLED |
ORDER_RECEIPT_SETTLED | A receipt is SETTLED |
ORDER_DELIVERED | Existing order. Order status DELIVERED |
ORDER_HANDLING_STATE_CHANGED | An order handling has changed |
TILL_CLOSED | Till has been counted and closed. |
TILL_OPEN | Till has been opened. |
PRICE_CREATE | Create new price. |
PRICE_UPDATE | Update Price. |
PRICE_DELETE | Price deleted |
STOCK_CHANGE | Stock for a warehouseUid and productUid has changed. |
PRODUCT_MEDIA_CHANGE | Product media has changed (create/update/delete). |
PURCHASE_RECEIVED | Purchase order fully received |
Webhook Response
Example response