Skip to main content

Create and Monitor Webhooks

Webhooks are automated messages sent from one application to another when a specific event occurs. They play a crucial role in keeping different systems in sync and automating processes.

This article provides information about how to manage webhooks with Nautical, including monitoring webhook logs, setting up outgoing webhooks, handling webhook events, and managing incoming webhook jobs.

Monitor webhook logs

You can monitor all incoming and outgoing webhooks, along with their payloads, from the Dashboard under Settings -> Webhook Event Logs page:

This page allows you to track both incoming (received) and outgoing (emitted) webhooks, view payloads, and troubleshoot any issues.

The Webhook Event Logs table displays the following details for each event:

FieldDescriptionDirection Displayed for
IDUnique identifier of the webhook event log.Both
DateDate of the webhook event.Both
Target URLDestination URL where the webhook payload is being sent.Outgoing (Emitted)
Webhook IDUnique identifier of the webhook.Outgoing (Emitted)
Transaction IDUnique identifier of the webhook transaction.Incoming (Received)
App IDUnique identifier of the app associated with the webhook.Outgoing (Emitted)
Plugin IDUnique identifier of the plugin associated with the webhook.Incoming (Received)
PayloadLink to view the sent or received webhook payload.Both
Event TypeThe webhook event type for outgoing webhooks or the webhook job type for incoming webhooks.Both
ErrorDisplays error logs if an error occurred.Both
DirectionIndicates the origin of the webhook. Incoming webhooks are Received and outgoing webhooks are Emitted.Both

Configure an outgoing webhook

To enable a webhook from the Dashboard, you will need to go through a few steps. First, create a custom app with the necessary permissions and ensure it is active.

Once the app is set up, you can add one or more webhooks, including what events trigger the webhook and the target URL.

  1. Create a custom app.
  2. Under Webhooks, select Create Webhook.
  3. In the Webhook Name field, enter a name to identify the webhook.
  4. Under Events, select one or more events to trigger this webhook
  5. Under Connection Information, specify the following:
    • Target URL: The URL endpoint that will receive the payload.
    • Secret Key: (Optional) This key is used to create a hash signature for each webhook payload. Nautical generates an HMAC SHA256 header using the provided secret key.
  6. Select Save.
  7. Scroll down to Webhook Status, and select Webhook is active.
    You must activate the webhook before it will start sending events.
  8. Select Save.

Outgoing webhook events

The following table outlines the events that can trigger webhooks from Nautical. For sample payloads in each of these events, see Webhooks Events and Sample Payloads.

Functional AreaWebhook events
Seller
  • SELLER_CREATED
  • SELLER_UPDATED
  • SELLER_AGREEMENT_ACKNOWLEDGED
Microsite
  • MICROSITE_CREATED
  • MICROSITE_UPDATED
Product
  • PRODUCT_CREATED
  • PRODUCT_UPDATED
Product Variant
  • VARIANT_CREATED
  • VARIANT_UPDATED
Inventory
  • STOCK_CREATED
  • STOCK_UPDATED
  • STOCK_ALLOCATED
  • STOCK_DEALLOCATED
Invoice
  • INVOICE_REQUESTED
  • INVOICE_SENT
  • INVOICE_DELETED
Checkout
  • CHECKOUT_CREATED
  • CHECKOUT_UPDATED
Payment
  • PAYMENT_CREATED
  • PAYMENT_UPDATED
Customer
  • CUSTOMER_CREATED
  • CUSTOMER_UPDATED
  • CUSTOMER_DELETED
Marketplace Order
  • NAUTICAL_ORDER_CREATED
  • NAUTICAL_ORDER_UPDATED
  • NAUTICAL_ORDER_FULLY_PAID
  • NAUTICAL_ORDER_FULFILLED
  • NAUTICAL_ORDER_CANCELLED
Seller Order
  • ORDER_CREATED
  • ORDER_UPDATED
  • ORDER_FULLY_PAID
  • ORDER_FULFILLED
  • ORDER_CANCELLED
Fulfillment
  • FULFILLMENT_CREATED
Payout
  • PAYOUT_UPDATED
  • VENDOR_PAYOUT_UPDATED

Incoming webhook job types

The following table outlines the incoming webhook job types triggered from external systems:

Functional AreaJob type
Seller
  • SELLER_CREATE
Product
  • PRODUCT_CREATE
  • PRODUCT_UPDATE
  • PRODUCT_DELETE
Warehouse
  • WAREHOUSE_CREATE
  • WAREHOUSE_UPDATE
  • WAREHOUSE_DELETE
Inventory
  • INVENTORY_TRACKING_UPDATE
  • STOCK_CREATE
  • STOCK_UPDATE
  • STOCK_DELETE
Fulfillment
  • FULFILLMENT_CREATE
  • FULFILLMENT_UPDATE
  • ITEM_SHIP_NOTIFY
Customer
  • CUSTOMER_CREATE
Vehicle
  • VEHICLE_PAYLOAD

Manage incoming webhook jobs

A webhook job is a term that refers to a specific task or process triggered by a webhook.

You can view and manage incoming webhook jobs from the Dashboard under Settings -> Webhooks, on the Webhook Jobs page:

Use this page to view incoming webhooks, toggle scheduling, and refresh jobs.

The Webhook Jobs table displays the following fields for each webhook job:

  • Created At: The date and time the webhook job was created.
  • Source: The name of the origin from which the payload was sent.
  • Job Type: The type of payload that was received.
  • Seller: The seller account for which the webhooks are enabled.
  • Status: The webhook job status.

Refresh jobs

To refresh the webhook jobs, on the Webhook Jobs page, select Refresh Jobs. This action will refresh the table.

Was this page helpful?