Skip to main content

Webhooks

Manage webhook registrations for receiving real-time event notifications.

Base URL: /api/v1/partner/webHooks

Endpoints Overview

MethodEndpointDescription
POST/api/v1/partner/webHooksCreate PARTNER WebHooks
PUT/{webHookId}Update PARTNER WebHooks
GET/{webHookId}Get PARTNER WebHooks By Id
GET/Get PARTNER WebHooks list
DELETE/{id}Delete partner webhook by id

Create PARTNER WebHooks

POST /api/v1/partner/webHooks/api/v1/partner/webHooks

Create a new webhook registration. Configure the webhook URL and the event types you want to receive notifications for.

Request Body

FieldTypeRequiredDescription
urlstringNoUrl
shopIdstringNoShop identifier
webHookUrlsstring[]YesWeb Hook Urls

Response

Returns a PartnerWebHook object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
urlstringNoUrl
webHookTypestringNoWeb Hook Type. One of: NEW_CONSUMER_ORDER, NEW_CONSUMER_SIGNUP, UPDATE_CONSUMER_ORDER, UPDATE_CONSUMER_USER, NEW_MEMBER, UPDATE_MEMBER, CREATE_TRANSACTION, UPDATE_TRANSACTION, CANCEL_TRANSACTION, COMPLETE_TRANSACTION, UPDATE_PRODUCT
webHookUrlsstring[]NoWeb Hook Urls

Update PARTNER WebHooks

PUT /api/v1/partner/webHooks/{webHookId}

Update an existing webhook configuration by its ID. Send the full PartnerWebHook object in the request body.

Path Parameters

ParameterTypeDescription
webHookIdstringThe web hook i d

Request Body

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
urlstringNoUrl
webHookTypestringNoWeb Hook Type. One of: NEW_CONSUMER_ORDER, NEW_CONSUMER_SIGNUP, UPDATE_CONSUMER_ORDER, UPDATE_CONSUMER_USER, NEW_MEMBER, UPDATE_MEMBER, CREATE_TRANSACTION, UPDATE_TRANSACTION, CANCEL_TRANSACTION, COMPLETE_TRANSACTION, UPDATE_PRODUCT
webHookUrlsstring[]NoWeb Hook Urls

Response

Returns a PartnerWebHook object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
urlstringNoUrl
webHookTypestringNoWeb Hook Type. One of: NEW_CONSUMER_ORDER, NEW_CONSUMER_SIGNUP, UPDATE_CONSUMER_ORDER, UPDATE_CONSUMER_USER, NEW_MEMBER, UPDATE_MEMBER, CREATE_TRANSACTION, UPDATE_TRANSACTION, CANCEL_TRANSACTION, COMPLETE_TRANSACTION, UPDATE_PRODUCT
webHookUrlsstring[]NoWeb Hook Urls

Get PARTNER WebHooks By Id

GET /api/v1/partner/webHooks/{webHookId}

Retrieve a single webhook registration by its ID.

Path Parameters

ParameterTypeDescription
webHookIdstringThe web hook i d

Response

Returns a PartnerWebHook object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
urlstringNoUrl
webHookTypestringNoWeb Hook Type. One of: NEW_CONSUMER_ORDER, NEW_CONSUMER_SIGNUP, UPDATE_CONSUMER_ORDER, UPDATE_CONSUMER_USER, NEW_MEMBER, UPDATE_MEMBER, CREATE_TRANSACTION, UPDATE_TRANSACTION, CANCEL_TRANSACTION, COMPLETE_TRANSACTION, UPDATE_PRODUCT
webHookUrlsstring[]NoWeb Hook Urls

Get PARTNER WebHooks list

GET /api/v1/partner/webHooks

Retrieve a paginated list of webhook registrations. Optionally filter by type (event type) and shopId.

Query Parameters

ParameterTypeRequiredDescription
startintegerNoNumber of records to skip
limitintegerNoMaximum records to return
shopIdstringNoshop i d

Response

Returns a paginated SearchResult of PartnerWebHook objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
shopIdstringNoShop identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
urlstringNoUrl
webHookTypestringNoWeb Hook Type. One of: NEW_CONSUMER_ORDER, NEW_CONSUMER_SIGNUP, UPDATE_CONSUMER_ORDER, UPDATE_CONSUMER_USER, NEW_MEMBER, UPDATE_MEMBER, CREATE_TRANSACTION, UPDATE_TRANSACTION, CANCEL_TRANSACTION, COMPLETE_TRANSACTION, UPDATE_PRODUCT
webHookUrlsstring[]NoWeb Hook Urls

Delete partner webhook by id

DELETE /api/v1/partner/webHooks/{id}

Delete a webhook registration by its ID.

Path Parameters

ParameterTypeDescription
idstringThe id