ZORT API V4
Search
K

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.

Common Request Parameters

Your Endpoint URL
Every request will be sent with Header to endpoint URL.
Parameter
Description
Authorization
Basic {key1}
key1
Key Reference 1
key2
Key Reference 2
key3
Key Reference 3
A trigger with by API request will be not sent to webhook that use the same API Key.

How To Set Webhook

  • Set manually in ZORT portal.
  1. 1.
    Login to ZORT.
  2. 2.
    Go to menu Setting --> Integration --> API Reference --> Webhook.
  3. 3.
    Input key and endpoint URL and click "Verify and Save".
  • Set by calling API.
You can send request to update webhook information.
post
https://open-api.zortout.com/v4
/Webhook/UpdateWebhook
UPDATEWEBHOOK
  • You can get current webhook information by calling "GETWEBHOOK" method.
get
https://open-api.zortout.com/v4
/Webhook/GetWebhook
GETWEBHOOK

Trigger

Product Trigger

post
{Your Endpoint URL}
ADDPRODUCT
post
{Your Endpoint URL}
UPDATEPRODUCT
post
{Your Endpoint URL}
UPDATEPRODUCTQUANTITY
post
{Your Endpoint URL}
DELETEPRODUCT

Order Trigger

post
{Your Endpoint URL}
ADDORDER
post
{Your Endpoint URL}
UPDATEORDER
post
{Your Endpoint URL}
UPDATEORDERPAYMENT
post
{Your Endpoint URL}
UPDATEORDERTRACKING
post
{Your Endpoint URL}
DELETEORDER
Purchase Order Trigger
post
{Your Endpoint URL}
ADDPURCHASEORDER
post
{Your Endpoint URL}
UPDATEPURCHASEORDER
post
{Your Endpoint URL}
UPDATEPURCHASEORDERPAYMENT
post
{Your Endpoint URL}
DELETEPURCHASEORDER
Return Order Trigger
post
{Your Endpoint URL}
ADDRETURNORDER
post
{Your Endpoint URL}
UPDATERETURNORDER
post
{Your Endpoint URL}
UPDATERETURNORDERPAYMENT
post
{Your Endpoint URL}
DELETERETURNORDER
Return Purchase Order Trigger
post
{Your Endpoint URL}
ADDRETURNPURCHASEORDER
post
{Your Endpoint URL}
UPDATERETURNPURCHASEORDER
post
{Your Endpoint URL}
UPDATERETURNPURCHASEORDERPAYMENT
post
{Your Endpoint URL}
DELETERETURNPURCHASEORDER
Transfer
post
{Your Endpoint URL}
ADDTRANSFER
post
{Your Endpoint URL}
UPDATETRANSFER