POST api/v1/application/{applicationID}/store/{storeID}/webhook
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
applicationID | string |
Required |
|
storeID | string |
Required |
Body Parameters
WebhookRequestName | Description | Type | Additional information |
---|---|---|---|
ApplicationID | string |
Required |
|
StoreID | string |
Required |
|
Type | WebhookType |
Required |
|
URL | string |
Required |
|
ID | string |
None. |
|
Secret | string |
None. |
|
Description | string |
None. |
|
HttpMethod | string |
None. |
|
IncludePayload | boolean |
None. |
|
Enabled | boolean |
None. |
|
DisabledReason | string |
None. |
|
DisableFailureThreashold | integer |
None. |
|
WarningFailureThreashold | integer |
None. |
|
RetryDelay | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ApplicationID": "sample string 1", "StoreID": "sample string 2", "Type": 0, "URL": "sample string 3", "ID": "sample string 4", "Secret": "sample string 5", "Description": "sample string 6", "HttpMethod": "sample string 7", "IncludePayload": true, "Enabled": true, "DisabledReason": "sample string 8", "DisableFailureThreashold": 1, "WarningFailureThreashold": 1, "RetryDelay": 1 }
application/xml, text/xml
Sample:
<WebhookRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Request"> <ApplicationID xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 1</ApplicationID> <Description xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 6</Description> <DisableFailureThreashold xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">1</DisableFailureThreashold> <DisabledReason xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 8</DisabledReason> <Enabled xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">true</Enabled> <HttpMethod xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 7</HttpMethod> <ID xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 4</ID> <IncludePayload xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">true</IncludePayload> <RetryDelay xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">1</RetryDelay> <Secret xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 5</Secret> <StoreID xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 2</StoreID> <Type xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">ProductChange</Type> <URL xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 3</URL> <WarningFailureThreashold xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">1</WarningFailureThreashold> </WebhookRequest>
application/x-www-form-urlencoded
Sample:
multipart/form-data
Sample:
image/png
Sample:
image/jpg
Sample:
image/jpeg
Sample:
image/bmp
Sample:
Response Information
Resource Description
WebhookResponseName | Description | Type | Additional information |
---|---|---|---|
LastNotify | date |
None. |
|
LastError | date |
None. |
|
ConcurrentErrorCount | integer |
None. |
|
CreatedByID | integer |
None. |
|
UpdatedByID | integer |
None. |
|
Created | date |
None. |
|
Updated | date |
None. |
|
ID | string |
None. |
|
ApplicationID | string |
None. |
|
StoreID | string |
None. |
|
Secret | string |
None. |
|
Type | WebhookType |
None. |
|
Description | string |
None. |
|
HttpMethod | string |
None. |
|
IncludePayload | boolean |
None. |
|
URL | string |
None. |
|
Enabled | boolean |
None. |
|
DisabledReason | string |
None. |
|
DisableFailureThreashold | integer |
None. |
|
WarningFailureThreashold | integer |
None. |
|
RetryDelay | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "LastNotify": "2024-12-04T08:47:54.3105975+00:00", "LastError": "2024-12-04T08:47:54.3105975+00:00", "ConcurrentErrorCount": 1, "CreatedByID": 2, "UpdatedByID": 1, "Created": "2024-12-04T08:47:54.3105975+00:00", "Updated": "2024-12-04T08:47:54.3105975+00:00", "ID": "sample string 5", "ApplicationID": "sample string 6", "StoreID": "sample string 7", "Secret": "sample string 8", "Type": 0, "Description": "sample string 9", "HttpMethod": "sample string 10", "IncludePayload": true, "URL": "sample string 11", "Enabled": true, "DisabledReason": "sample string 12", "DisableFailureThreashold": 1, "WarningFailureThreashold": 1, "RetryDelay": 1 }
application/xml, text/xml
Sample:
<WebhookResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Response"> <ApplicationID xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 6</ApplicationID> <Description xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 9</Description> <DisableFailureThreashold xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">1</DisableFailureThreashold> <DisabledReason xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 12</DisabledReason> <Enabled xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">true</Enabled> <HttpMethod xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 10</HttpMethod> <ID xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 5</ID> <IncludePayload xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">true</IncludePayload> <RetryDelay xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">1</RetryDelay> <Secret xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 8</Secret> <StoreID xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 7</StoreID> <Type xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">ProductChange</Type> <URL xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 11</URL> <WarningFailureThreashold xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">1</WarningFailureThreashold> <ConcurrentErrorCount>1</ConcurrentErrorCount> <Created>2024-12-04T08:47:54.3105975+00:00</Created> <CreatedByID>2</CreatedByID> <LastError>2024-12-04T08:47:54.3105975+00:00</LastError> <LastNotify>2024-12-04T08:47:54.3105975+00:00</LastNotify> <Updated>2024-12-04T08:47:54.3105975+00:00</Updated> <UpdatedByID>1</UpdatedByID> </WebhookResponse>
multipart/form-data
Sample:
image/png
Sample:
image/jpg
Sample:
image/jpeg
Sample:
image/bmp
Sample: