Webhook
ZORT have webhook to callback when some events are triggered. The system will send request by "POST" method to your endpoint URL that set in the system.
Last updated
ZORT have webhook to callback when some events are triggered. The system will send request by "POST" method to your endpoint URL that set in the system.
Last updated
Your Endpoint URL
Every request will be sent with Header to endpoint URL.
Parameter | Description |
---|---|
A trigger with by API request will be not sent to webhook that use the same API Key.
Set manually in ZORT portal.
Login to ZORT.
Go to menu Setting --> Integration --> API Reference --> Webhook.
Input key and endpoint URL and click "Verify and Save".
Set by calling API.
You can send request to update webhook information.
POST
https://api.zortout.com/api.aspx
Update webhook information.
You can get current webhook information by calling "GETWEBHOOK" method.
GET
https://api.zortout.com/api.aspx
Get webhook information.
POST
{Your Endpoint URL}
Send request when a product is created.
POST
{Your Endpoint URL}
Send request when a product is modified.
POST
{Your Endpoint URL}
Send request when a product quantity is changed.
POST
{Your Endpoint URL}
Send request when a product is deleted.
POST
{Your Endpoint URL}
Send request when an order is created.
POST
{Your Endpoint URL}
Send request when an order is modified or an order status is changed.
POST
{Your Endpoint URL}
Send request when payments in order is changed.
POST
{Your Endpoint URL}
Send request when a tracking no in order is changed.
POST
{Your Endpoint URL}
Send request when an order is deleted.
Purchase Order Trigger
POST
{Your Endpoint URL}
Send request when a purchase is created.
POST
{Your Endpoint URL}
Send request when a purchase is modified or a purchase status is changed.
POST
{Your Endpoint URL}
Send request when payments in purchase is changed.
POST
{Your Endpoint URL}
Send request when an purchase is deleted.
Return Order Trigger
POST
{Your Endpoint URL}
Send request when a return order is created.
POST
{Your Endpoint URL}
Send request when a return order is modified or a return order status is changed.
POST
{Your Endpoint URL}
Send request when payments in return order is changed.
POST
{Your Endpoint URL}
Send request when an return order is deleted.
Return Purchase Order Trigger
POST
{Your Endpoint URL}
Send request when a return purchase is created.
POST
{Your Endpoint URL}
Send request when a return purchase is modified or a return purchase status is changed.
POST
{Your Endpoint URL}
Send request when payments in return purchase is changed.
POST
{Your Endpoint URL}
Send request when an return purchase is deleted.
Transfer
POST
{Your Endpoint URL}
Send request when a transfer is created.
POST
{Your Endpoint URL}
Send request when a transfer is modified or a transfer status is changed.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description/Example |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization
Basic {key1}
key1
Key Reference 1
key2
Key Reference 2
key3
Key Reference 3
method*
String
"UPDATEWEBHOOK"
format
String
json (Default), xml
version*
String
3
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
key1*
String
Key Reference 1
key2*
String
Key Reference 2
key3*
String
Key Reference 3
addproducturl
String
Endpoint URL when product is created. If this value is null or blank, this trigger will be not active.
updateproducturl
String
Endpoint URL when product is modified. If this value is null or blank, this trigger will be not active.
deleteproducturl
String
Endpoint URL when product is deleted. If this value is null or blank, this trigger will be not active.
updatequantityurl
String
Endpoint URL when product quantity is changed. If this value is null or blank, this trigger will be not active.
addorderurl
String
Endpoint URL when order is created. If this value is null or blank, this trigger will be not active.
updateorderurl
String
Endpoint URL when order is modified or an order status is changed. If this value is null or blank, this trigger will be not active.
updateordertrackingurl
String
Endpoint URL when tracking no in order is changed. If this value is null or blank, this trigger will be not active.
updateorderpaymenturl
String
Endpoint URL when payments in order is changed. If this value is null or blank, this trigger will be not active.
addpurchaseurl
String
Endpoint URL when purchase is created. If this value is null or blank, this trigger will be not active.
updatepurchaseurl
String
Endpoint URL when purchase is modified or a purchase status is changed. If this value is null or blank, this trigger will be not active.
updatepurchasepaymenturl
String
Endpoint URL when payments in purchase is changed. If this value is null or blank, this trigger will be not active.
addreturnorderurl
String
Endpoint URL when return order is created. If this value is null or blank, this trigger will be not active.
updatereturnorderurl
String
Endpoint URL when return order is modified or a return order status is changed. If this value is null or blank, this trigger will be not active.
updatereturnorderpaymenturl
String
Endpoint URL when payments in return order is changed. If this value is null or blank, this trigger will be not active.
addreturnpurchaseurl
String
Endpoint URL when return purchase is created. If this value is null or blank, this trigger will be not active.
updatereturnpurchaseurl
String
Endpoint URL when return purchase is modified or a return purchase status is changed. If this value is null or blank, this trigger will be not active.
updatereturnpurchasepaymenturl
String
Endpoint URL when payments in return purchase is changed. If this value is null or blank, this trigger will be not active.
addtransferurl
String
Endpoint URL when transfer is created. If this value is null or blank, this trigger will be not active.
updatetransferurl
String
Endpoint URL when transfer is modified or a transfer status is changed. If this value is null or blank, this trigger will be not active.
resCode
String
Response Code 200- Success
resDesc
String
Response Description
method*
String
"GETWEBHOOK"
format
String
json (Default), xml
version*
String
json (Default), xml
storename*
String
Store Name
apikey*
String
API Key
apisecret*
String
API Secret
key1
String
Key Reference 1
key2
String
Key Reference 2
key3
String
Key Reference 3
addproducturl
String
Endpoint URL when product is created.
updateproducturl
String
Endpoint URL when product is modified.
deleteproducturl
String
Endpoint URL when product is deleted.
updatequantityurl
String
Endpoint URL when product quantity is changed.
addorderurl
String
Endpoint URL when order is create
updateorderurl
String
Endpoint URL when order is modified or an order status is changed.
updateordertrackingurl
String
Endpoint URL when tracking no in order is changed.
updateorderpaymenturl
String
Endpoint URL when payments in order is changed.
addpurchaseurl
String
Endpoint URL when purchase is created
updatepurchaseurl
String
Endpoint URL when purchase is modified or a purchase status is changed.
updatepurchasepaymenturl
String
Endpoint URL when payments in purchase is changed.
addreturnorderurl
String
Endpoint URL when return order is created.
updatereturnorderurl
String
Endpoint URL when return order is modified or a return order status is changed.
updatereturnorderpaymenturl
String
Endpoint URL when payments in return order is changed.
addreturnpurchaseurl
String
Endpoint URL when return purchase is created.
updatereturnpurchaseurl
String
Endpoint URL when return purchase is modified or a return purchase status is changed.
updatereturnpurchasepaymenturl
String
Endpoint URL when payments in return purchase is changed.
addtransferurl
String
Endpoint URL when transfer is created.
updatetransferurl
String
Endpoint URL when transfer is modified or a transfer status is changed.
method*
String
ADDPRODUCT
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATEPRODUCT
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATEPRODUCTQUANTITY
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
DELETEPRODUCT
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
ADDORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATEORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATEORDERPAYMENT
id*
Int
Order ID
number*
String
Order Number
paymentstatus*
String
Payment Status (Pending, Paid, Partial Payment, Excess Payment)
method*
String
UPDATEORDERTRACKING
id*
Int
Order ID
number*
String
Order Number
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
DELETEORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
ADDPURCHASEORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATEPURCHASEORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATEPURCHASEORDERPAYMENT
id*
Int
PurchaseOrder ID
number*
String
PurchaseOrder Number
paymentstatus*
String
Payment Status (Pending, Paid, Partial Payment, Excess Payment)
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
DELETEPURCHASEORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
ADDRETURNORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATERETURNORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATERETURNORDERPAYMENT
id*
Int
ReturnOrder ID
number*
String
ReturnOrder Number
paymentstatus*
String
Payment Status (Pending, Paid, Partial Payment, Excess Payment)
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
DELETERETURNORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
ADDRETURNPURCHASEORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATERETURNPURCHASEORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATERETURNPURCHASEORDERPAYMENT
id*
Int
ReturnPurchaseOrder ID
number*
String
ReturnPurchaseOrder Number
paymentstatus*
String
Payment Status (Pending, Paid, Partial Payment, Excess Payment)
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
DELETERETURNPURCHASEORDER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
ADDTRANSFER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.
method*
String
UPDATETRANSFER
payload*
String
Payload (JSON format)
See detail in Ex. Payload JSON.