HTTP Post | Triggers

How to receive status updates from Deliveries PH, to your system's API

HTTP Post Trigger

Overview

Info
Learn how to SETUP HTTP POST TRIGGERS to get updates from your Deliveries PH account, to your connected Third-Party app.
Idea
A PDF version for this guide is available below.

Setup Trigger

1.      Click Settings.



2.      Click Triggers.


Notes
Note: The My Posts tab is the default tab upon opening the Triggers page.

3.      Click Add New Trigger.



4.      Choose HTTP Post as the Trigger Type.

Notes
Note: Customer Notification Trigger is the default trigger.

 
Idea
Definitions:
a.) Trigger Type - The notification type—either Customer Notification Trigger or HTTP Post.
b.) Trigger Title - Any title you want to name the trigger. It will appear in the Title column upon creation.
5.      Enter a Trigger Title.



6.      Choose a Trigger Upon & Depends Upon status.


Idea
Definition:
a.) Notify Upon - Statuses refer to the post status on when will the trigger be sent to the the API.
7.      Enter the Expiration (mins).


Idea
Definition:
a.) Expiration - How many MINUTES until the Trigger will expire.
8.       Enter or choose a Tag.


Notes
Note: Tags are connected to tags of posts. Chosen tag/s means the trigger will only apply to particular posts with those tag/s.

Example: Tag “FOODS” is chosen and a notification will be sent. Posts with only “FOODS” as their tag will have notification trigger sent to the customers.
Idea
Optional Step: Enable Retry function
Definition:
a.) Enable Retry - If enabled, sending of system’s status to your system will retry after x minutes (based on the Expiration minutes). If x number of retries still fails, it will stop.
9.      Choose a Field and Token.


Idea
Definitions:
a.) Field - Refers to post’s details.
b.) Token - Corresponding label/code of the chosen Field. This can be copy-pasted to the Body section later. Corresponding post detail of the customer’s order will be generated based on the Token pasted.
10.      Activate or disable the PSGC Address Format (toggle).

Idea
Definition:
a.) PSGC Address Format - Turns the Address format to PSGC Address formatting.
(Ex. Standard - Imus City, PSGC Format - City of Imus)
Idea
Optional Step: Pre-request function
Definition:
a.) Pre-request - If enabled, Deliveries PH will send a request access to your system's API.

11.      Enter the endpoint URL.



12.      Place the request Body.



13.      Click Add.



Edit Trigger

1.      Click Settings.



2.      Click Triggers.


Notes
Note: The My Posts tab is the default tab upon opening the Triggers page.

3.      Choose an EXISTING HTTP Post Trigger (Trigger Type column > HTTP).



4.       Click the Edit button (Action column).


5.      Make the necessary changes.



6.      Click Save.


Delete Trigger

1.      Click Settings.



2.      Click Triggers.


Notes
Note: The My Posts tab is the default tab upon opening the Triggers page.

3.      Choose an EXISTING HTTP Post Trigger (Trigger Type column > HTTP).


4.      Click the Delete button (Action column).



5.      Click Confirm.


Activate/Disable Trigger

1.      Click Settings.



2.      Click Triggers.


Notes
Note: The My Posts tab is the default tab upon opening the Triggers page.

3.      Locate the Active column.



4.      Turn on or off the toggle. ON - Activate the Trigger, OFF - Disable the Trigger



Arrange Trigger List Order

Notes
Section Note: This part only applies if triggers with the same Notify Upon status are created.
1.       In the Triggers (My Posts) page, locate the List column (beside the Active column).



2.      Drag and move the List button to the desired location.



    • Related Articles

    • How to receive status updates from Deliveries PH, to your system's API

      HTTP Post Trigger Overview Learn how to SETUP HTTP POST TRIGGERS to get updates from your Deliveries PH account, to your connected Third-Party app. A PDF version for this guide is available below. Setup Trigger 1. Click Settings. 2. Click Triggers. ...
    • How to receive status updates from Deliveries PH, to your system's API as a Provider

      HTTP Post Trigger (My Opportunities) Overview Learn how to SETUP HTTP POST TRIGGERS to get updates from your Deliveries PH account, to your connected Third-Party app. Since this guide is for Providers, the My Opportunities tab of the Triggers page ...
    • Deliveries Ph API Documentation

      This Troubleshooting Guide contains the topics and links to Deliveries Ph's API Documentation for usage of both Deliveries Ph's Business and/or Provider Users in configuring their API. For a full view of Deliveries Ph's API Documentation, click here. ...
    • How to setup customer notifications

      Customer Notification Trigger Overview Learn how to setup CUSTOMER NOTIFICATIONS sent to your customers via Text Message or Email, thru Deliveries PH. A PDF version of this guide is available below. Setup Trigger 1. Click Settings. 2. Click Triggers. ...
    • How to setup customer notifications

      Customer Notification Trigger Overview Learn how to setup CUSTOMER NOTIFICATIONS sent to your customers via Text Message or Email, thru Deliveries PH. A PDF version of this guide is available below. Setup Trigger 1. Click Settings. 2. Click Triggers. ...