PATCH api/v1/application/{applicationID}/store/{storeID}/webhook/{webhookID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
applicationID | string |
Required |
|
storeID | string |
Required |
|
webhookID | string |
Required |
Body Parameters
WebhookPatchRequestName | Description | Type | Additional information |
---|---|---|---|
ID | string |
Required |
|
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. |
Request Formats
application/json, text/json
Sample:
{ "ID": "sample string 1", "ApplicationID": "sample string 2", "StoreID": "sample string 3", "Secret": "sample string 4", "Type": 0, "Description": "sample string 5", "HttpMethod": "sample string 6", "IncludePayload": true, "URL": "sample string 7", "Enabled": true, "DisabledReason": "sample string 8", "DisableFailureThreashold": 1, "WarningFailureThreashold": 1, "RetryDelay": 1 }
application/xml, text/xml
Sample:
<WebhookPatchRequest 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 2</ApplicationID> <Description xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 5</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 6</HttpMethod> <ID i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common" /> <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 4</Secret> <StoreID xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">sample string 3</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 7</URL> <WarningFailureThreashold xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Common">1</WarningFailureThreashold> <ID>sample string 1</ID> </WebhookPatchRequest>
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:42:19.2509345+00:00", "LastError": "2024-12-04T08:42:19.2509345+00:00", "ConcurrentErrorCount": 1, "CreatedByID": 2, "UpdatedByID": 1, "Created": "2024-12-04T08:42:19.2509345+00:00", "Updated": "2024-12-04T08:42:19.2509345+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:42:19.2509345+00:00</Created> <CreatedByID>2</CreatedByID> <LastError>2024-12-04T08:42:19.2509345+00:00</LastError> <LastNotify>2024-12-04T08:42:19.2509345+00:00</LastNotify> <Updated>2024-12-04T08:42:19.2509345+00:00</Updated> <UpdatedByID>1</UpdatedByID> </WebhookResponse>
multipart/form-data
Sample:
image/png
Sample:
image/jpg
Sample:
image/jpeg
Sample:
image/bmp
Sample: