Webhook

Last modified: March 7, 2023
Estimated reading time: 1 min

CREATE A WEBHOOK

You can follow these steps to create a Webhook on Utas:

  1. Set up your Webhook Link, then log in to app.utas.co
  2. Click Integration Menu.
  3. Click the Webhook tab on the Integration page.
  4. Click the Create New Webhook button.

    utas-integration-create-a-webhook-01

  5. Type the webhook link/URL that you have.
  6. Select the Trigger that you need. There are four options that you can choose. You may select more than one trigger:
    • New Order
    • Paid
    • Shipping
    • Complete.
  7. Click Submit button to save your configuration.



  8. Click OK in the pop-up notification.
  9. Done.

webhook response Example

Header
content-type  |  application/json

Return New order

{
  "state": "order",
  "name": "xxx",
  "email": "[email protected]",
  "address": "-",
  "store": "xxxx",
  "items": [
    {
      "item_name": "Xxxxx",
      "item_qty": "xx",
      "item_price": "xxx",
      "item_data": "xx"
    }
  ],
  "total": "xx",
  "store_link": "xxx"
}

Paid

{
  "state": "paid",
  "name": "xxx",
  "email": "[email protected]",
  "address": "-",
  "store": "xxxx",
  "items": [
    {
      "item_name": "Xxxxx",
      "item_qty": "xx",
      "item_price": "xxx",
      "item_data": "xx"
    }
  ],
  "total": "xx",
  "store_link": "xxx"
}

Shipping

{
  "state": "shipping",
  "name": "xxx",
  "email": "[email protected]",
  "address": "-",
  "store": "xxxx",
  "items": [
    {
      "item_name": "Xxxxx",
      "item_qty": "xx",
      "item_price": "xxx",
      "item_data": "xx"
    }
  ],
  "total": "xx",
  "store_link": "xxx"
}

Complete

{
  "state": "complete",
  "name": "xxx",
  "email": "[email protected]",
  "address": "-",
  "store": "xxxx",
  "items": [
    {
      "item_name": "Xxxxx",
      "item_qty": "xx",
      "item_price": "xxx",
      "item_data": "xx"
    }
  ],
  "total": "xx",
  "store_link": "xxx"
}

EDIT THE WEBHOOK

To edit the webhook in Utas, please follow the steps below: 

  1. Log in to app.utas.co.
  2. Click Integration Menu.
  3. Click the Webhook tab on the Integration page.
  4. Select the webhook that you want to edit.
  5. Click the Edit option at the bottom of it.

    tas-integration-edit-the-webhook-02
  6. Choose the option that you want to edit.
  7. Click Submit Button to save your configuration.

    utas-integration-edit-the-webhook-03
  8. Click OK in the pop-up notification.
  9. Done.

DELETE THE WEBHOOK

Please follow the steps below:

  1. Log in to app.utas.co
  2. Click Integration Menu.
  3. Click the Webhook tab on the Integration page.
  4. Select the Webhook that you want to delete.
  5. Click the Delete option below the URL.



  6. Click the Yes, delete it! button on the Are you sure? pop-up notification.

    utas-integration-delete-the-webhook

  7. Done.
Was this article helpful?
Dislike 0
Views: 97